HasOwnership

From GECK
Jump to: navigation, search


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