Mod:Creation Kit/HasOwner - ObjectReference

Member of: Mod:Creation Kit/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
if Chest.HasOwner Debug.Trace("Someone owns that chest... better not take from it") endIf
 * check to see if the person has a hand node