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.
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