IsOwned

From GECK

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

(bool) ref.IsOwned Owner:ref

Example

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

See Also

Personal tools