IsOwner - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Checks to see if the actor is the owner of the specified reference.

Syntax[edit | edit source]

bool Function IsOwner(ObjectReference akObject)

Parameters[edit | edit source]

  • akObject: The object to check ownership of.

Return Value[edit | edit source]

Does this actor own the object? (Checks ref, base object, and faction ownership)

Examples[edit | edit source]

; Does Arthur own the sword?
if (Arthur.IsOwner(SwordInStone))
  Debug.Trace("Hail!")
endIf

See Also[edit | edit source]