HasOwner - ObjectReference

Member of: ObjectReference Script

Checks to see if this reference is owned in any way (by actor base, actor ref, or faction).

SyntaxEdit

bool Function HasOwner()

ParametersEdit

None.

Return ValueEdit

Whether this reference is owned

ExamplesEdit

; check to see if the person has a hand node
if Chest.HasOwner()
  Debug.Trace("Someone owns that chest... better not take from it")
endIf

See AlsoEdit