HasParentRelationship - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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

See Also[edit | edit source]