IsOwner - Actor

Member of: Actor Script

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

SyntaxEdit

bool Function IsOwner(ObjectReference akObject)

ParametersEdit

  • akObject: The object to check ownership of.

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit