Mod:Creation Kit/HasFamilyRelationship - Actor

Member of: Mod:Creation Kit/Actor Script

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

Syntax
bool Function HasFamilyRelationship(Actor akOther = None) native

Parameters

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

Return Value
Whether this actor has a family relationship.

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