Skip to main content

Condition_IsFamilyRelationship

Description

Checks if the Self character has a specific family relationship with the Target character. When S1 is empty, checks if any family relationship exists using RelationshipData. When S1 is specified, checks if the exact family relationship type matches using the FamilyTree.

Note

S1 empty uses the bIsFamilyRelationship flag in RelationshipComponent; S1 specified uses FamilyTreeManager to resolve the exact relationship type (Parent, Child, Sibling, etc.).

Parameters

ParameterDescription
BaseObjectSelf is the subject character; Target is the character whose relationship is evaluated
CompareTypeSupported compare types: Equal, NotEqual
S1Family relationship type (EB1FamilyRelationshipType); if empty, checks for any relation

Examples

DescriptionBaseObjectCommandCompareType
If Target is any family memberSelfIsFamilyRelationshipEqual
If Target is not a family memberSelfIsFamilyRelationshipNotEqual
If Target is Self's parentSelfIsFamilyRelationshipEqual
If Target is Self's childSelfIsFamilyRelationshipEqual