Mod:Creation Kit/IsOwnedBy - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Is this ref owned by the given actor?

Syntax
bool Function IsOwnedBy(Actor akOwner) native

Parameters

 * akOwner: Actor to check ownership for it requires actual assigned ownership from the editor

Return Value
True if this ref is owned by the given actor. False otherwise.

Examples
bool bsafe = MineRef.IsOwnedBy( akTarget );
 * check to see if the mine is owned by its target