HasOwnership

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

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