Skip to main content

Condition_IdolTeamRelationshipAverage

Description

Compares the average of the S1 relationship stat over every pair of members on the BaseObject's idol team. Each direction counts separately (A to B and B to A), and a pair with no relationship counts as 0. Returns 0 when the BaseObject is not an idol or has no team yet (trainee).

Parameters

ParameterDescription
BaseObjectAny member of the team to evaluate.
CompareTypeComparison operator (Equal, GreaterOrEqual, Less, InRange, OutRange, etc.).
S1RelationshipStat.Id to average (friendship, romance, business, family).
F1Value to compare against. F2 is the upper bound for range comparisons.

Examples

DescriptionBaseObjectCommandCompareTypeS1F1
Check if Self's team gets along poorlySelfIdolTeamRelationshipAverageLessfriendship30
Check if Target's team are close friendsTargetIdolTeamRelationshipAverageGreaterOrEqualfriendship60