IsOwnedBy - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Is this ref owned by the given actor?
Syntax[edit | edit source]
bool Function IsOwnedBy(Actor akOwner) native
Parameters[edit | edit source]
- akOwner: Actor to check ownership for it requires actual assigned ownership from the editor
Return Value[edit | edit source]
True if this ref is owned by the given actor. False otherwise.
Examples[edit | edit source]
; check to see if the mine is owned by its target
bool bsafe = MineRef.IsOwnedBy( akTarget );