AddItemHealthPercent

From the Fallout3 GECK Wiki
Revision as of 20:03, 26 January 2009 by imported>MadCat221 (→‎Syntax)
Jump to navigation Jump to search

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.

See Also

AddItem
RemoveItem