AddItemHealthPercentOwner
Revision as of 07:47, 16 July 2014 by imported>Odessa (created based on nvse_whatsnew and source code)
< [[::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
Actor/Container.AddItemHealthPercentOwner Item:ObjectID Count:int HealthPercent:float Owner:NPC/Faction Rank:int
Example
SomeChest.AddItemHealthPercentOwner WeapHuntingRifle, 1, 0.35, BoomerFaction, 1