AddItemHealthPercentOwner

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Similar to AddItemHealthPercent, but allows ownership information to be specified.

Syntax

[help]
Actor/Container.AddItemHealthPercentOwner Item:ObjectID Count:int HealthPercent:float Owner:NPC/Faction Rank:int

Example

SomeChest.AddItemHealthPercentOwner WeapHuntingRifle, 1, 0.35, BoomerFaction, 1

See Also