HasParentRelationship - Actor
Revision as of 15:27, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
Member of: Actor Script
Does this actor have a parent relationship with the specified actor?
Syntax[edit | edit source]
bool Function HasParentRelationship(Actor akOther) native
Parameters[edit | edit source]
- akOther: The actor to check against.
Return Value[edit | edit source]
Whether this actor has a parent relationship with the other actor.
Examples[edit | edit source]
; Is JoeBob a parent of Sally?
if (JoeBob.HasParentRelationship(Sally))
Debug.Trace("JoeBob is a parent of Sally")
endIf