Mod:Creation Kit/IsOwner - Actor

Member of: Mod:Creation Kit/Actor Script

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

Syntax
bool Function IsOwner(ObjectReference akObject)

Parameters

 * akObject: The object to check ownership of.

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

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