Skip to main content

Condition_IsFamilyAgeRank

Description

Checks the BaseObject's age rank within the family. Rank 1 is the oldest member. Returns false if the character does not belong to any family (rank == -1).

Parameters

ParameterDescription
BaseObjectCharacter whose age rank within the family will be evaluated
CompareTypeSupported compare types: Equal, NotEqual, Less, LessEqual, Greater, GreaterEqual, Range
F1Age rank value to compare against (or minimum value for Range)
F2Maximum age rank for Range comparison

Examples

DescriptionBaseObjectCommandCompareType
If Self is the oldest member in the familySelfIsFamilyAgeRankEqual
If Target is 2nd oldest or higher in the familyTargetIsFamilyAgeRankGreaterEqual
If Self is 3rd oldest or lower in the familySelfIsFamilyAgeRankLessEqual
If Target's rank is between 2nd and 4thTargetIsFamilyAgeRankRange