IsOwned

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Checks whether a reference is owned by an NPC or that said NPC has the required faction rank to own the reference.

Syntax

[help]
(bool) ref.IsOwned Owner:ref 

Example

if SomeItemRef.IsOwned SunnyREF
    ; SomeItemRef is owned by Sunny Smiles
endif

See Also