HasOwner - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

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

Syntax

bool Function HasOwner()

Parameters

None.

Return Value

Whether this reference is owned

Examples

; 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 Also