IsOwnedBy - ObjectReference
Member of: ObjectReference Script
Is this ref owned by the given actor?
SyntaxEdit
bool Function IsOwnedBy(Actor akOwner) native
ParametersEdit
- akOwner: Actor to check ownership for it requires actual assigned ownership from the editor
Return ValueEdit
True if this ref is owned by the given actor. False otherwise.
ExamplesEdit
; check to see if the mine is owned by its target
bool bsafe = MineRef.IsOwnedBy( akTarget );