Background for Fallout 4
Member of the Actor script
boolfunctionHasFamilyRelationship(ActorakOther=NONE)Native

Description

Wiki Description

Does this actor have a family relationship with the specified actor? Or with anyone if no actor is passed.

Documentation Comment

Checks to see if this actor has a family relationship with the other actor - or anyone (if no actor is passed)


Caveats


Parameters

ActorakOther=NONE

CK Wiki Description

The actor to check against. If None, then see if this actor has a family relationship with anyone.

  • Default:None

Examples

; Does JoeBob have any family?
if (JoeBob.HasFamilyRelationship())
  Debug.Trace("JoeBob has a family")
endIf
; Does JoeBob have a family relationship with Sally?
if (JoeBob.HasFamilyRelationship(Sally))
  Debug.Trace("JoeBob and Sally are family")
endIf

Auto-Generated Example

Actor myActor__akOther

bool returnedValue = myActor__toCallFunctionOn.HasFamilyRelationship(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.