IsOwner - Actor
Revision as of 09:51, 1 December 2015 by imported>Plplecuyer (→See Also)
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