Difference between revisions of "AddItemHealthPercent"
Jump to navigation
Jump to search
imported>Kkuhlmann |
imported>MadCat221 (→Syntax) |
||
Line 5: | Line 5: | ||
=='''Syntax'''== | =='''Syntax'''== | ||
[''ActorID|ContainerID''.]AddItemHealthPercent ''ItemID, Count, HealthPercent'' | [''ActorID|ContainerID''.]AddItemHealthPercent ''ItemID, Count, HealthPercent, MessageHiddenFlag'' | ||
=='''Examples'''== | =='''Examples'''== |
Revision as of 20:03, 26 January 2009
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.