AddItemHealthPercent
Revision as of 20:03, 26 January 2009 by imported>MadCat221 (→Syntax)
Description
AddItemHealthPercent Adds a damaged item to the specified container.
Syntax
[ActorID|ContainerID.]AddItemHealthPercent ItemID, Count, HealthPercent, MessageHiddenFlag
Examples
buddyref.additemHealthPercent weapHuntingRifle 1 .85
Buddy has 1 Hunting Rifle added to his inventory at a condition of 85%
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.