HasOwner - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 15:38, 2 December 2015 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script Checks to see if this reference is owned in any way (by actor base, actor ref, or faction...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

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

Syntax[edit | edit source]

bool Function HasOwner()

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this reference is owned

Examples[edit | edit source]

; 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[edit | edit source]