AddItemHealthPercent
From GECK
A function included in the GECK for Fallout 3.
Contents
Description
AddItemHealthPercent adds an item to a container at a specified health percentage.
Syntax
Actor.AddItemHealthPercent Item:ObjectID Count:int HealthPercent:float MessageHiddenFlag:int
Example
player.AddItemHealthPercent WeapHuntingRifle 1 0.85
The player has 1 Hunting Rifle added to their inventory at 85% health.
Notes
- When using this to create an item from a leveled list, note that the specified health percent overrides the health percentage set by the leveled list.