IsOwnedBy - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

Is this ref owned by the given actor?


bool Function IsOwnedBy(Actor akOwner) native


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


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

See Also