Background for Fallout 4
Member of the Actor script
boolfunctionHasParentRelationship(ActorakOther)Native

Description

Wiki Description

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

Documentation Comment

Checks to see if this actor has a parent relationship with the other actor


Caveats


Parameters

ActorakOther

CK Wiki Description

The actor to check against.


Examples

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

Auto-Generated Example

Actor myActor__akOther

bool returnedValue = myActor__toCallFunctionOn.HasParentRelationship(myActor__akOther)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.