HasParentRelationship - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

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

Syntax

bool Function HasParentRelationship(Actor akOther) native

Parameters

  • akOther: The actor to check against.

Return Value

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

Examples

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

See Also