HasOwnership

From the Fallout3 GECK Wiki
Revision as of 08:24, 16 July 2014 by imported>Odessa (created based on nvse_whatsnew)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Checks whether an NPC owns a reference or has the required faction rank to own said reference.

Syntax

[help]
(bool) Actor.HasOwnership Item:ref

Example

if SunnyREF.HasOwnership SomeItemREF
    ; Sunny Smiles owns SomeItemREF
endif

See Also