AddItemHealthPercentOwner

From GECK

A function added by the New Vegas Script Extender.

Description

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

Syntax

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

Personal tools