Skip to main content

Condition_HasFamilyRelationship

Description

Checks if the BaseObject has any family member of the specified relationship type in the family tree. Unlike IsFamilyRelationship, this does not require a Target; it only checks whether BaseObject has at least one relative of the given type.

Parameters

ParameterDescription
BaseObjectCharacter to check for family members
CompareTypeSupported compare types: Equal, NotEqual
S1Family relationship type to look for (EB1FamilyRelationshipType)

Examples

DescriptionBaseObjectCommandCompareType
If Self has a parentSelfHasFamilyRelationshipEqual
If Self does not have a childSelfHasFamilyRelationshipNotEqual
If Self has a siblingSelfHasFamilyRelationshipEqual
If Target has a spouseTargetHasFamilyRelationshipEqual