Skip to main content

Condition_FamilyRelationshipCount

Description

Checks the count of family members of a specific relationship type for the BaseObject. Counts how many relatives of the given type exist in the family tree and compares that count.

Parameters

ParameterDescription
BaseObjectCharacter whose family member count will be evaluated
CompareTypeSupported compare types: Equal, NotEqual, Less, LessEqual, Greater, GreaterEqual, Range
S1Family relationship type to count (EB1FamilyRelationshipType)
F1Value to compare against (or minimum value for Range)
F2Maximum value for Range comparison

Examples

DescriptionBaseObjectCommandCompareType
If Self has exactly 2 childrenSelfFamilyRelationshipCountEqual
If Self has more than 1 siblingSelfFamilyRelationshipCountGreater
If Self has no parentsSelfFamilyRelationshipCountEqual
If Target has at least 1 childTargetFamilyRelationshipCountGreaterEqual