HasParentRelationship - Actor

Member of: Actor Script

Does this actor have a parent relationship with the specified actor?

SyntaxEdit

bool Function HasParentRelationship(Actor akOther) native

ParametersEdit

  • akOther: The actor to check against.

Return ValueEdit

Whether this actor has a parent relationship with the other actor.

ExamplesEdit

; Is JoeBob a parent of Sally?
if (JoeBob.HasParentRelationship(Sally))
  Debug.Trace("JoeBob is a parent of Sally")
endIf

See AlsoEdit