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
| Parameter | Description |
|---|---|
| BaseObject | Any member of the team to evaluate. |
| CompareType | Comparison operator (Equal, GreaterOrEqual, Less, InRange, OutRange, etc.). |
| S1 | RelationshipStat.Id to average (friendship, romance, business, family). |
| F1 | Value to compare against. F2 is the upper bound for range comparisons. |
Examples
| Description | BaseObject | Command | CompareType | S1 | F1 |
|---|---|---|---|---|---|
| Check if Self's team gets along poorly | Self | IdolTeamRelationshipAverage | Less | friendship | 30 |
| Check if Target's team are close friends | Target | IdolTeamRelationshipAverage | GreaterOrEqual | friendship | 60 |