HasOwnership

From GECK

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

(bool) Actor.HasOwnership Item:ref

Example

if SunnyREF.HasOwnership SomeItemREF
    ; Sunny Smiles owns SomeItemREF
endif

See Also

Personal tools