Condition_IsSameIdolTeam
Description
Checks whether the BaseObject and the Script Target belong to the same idol team. Returns false when either side is not an idol or has not been assigned to a team yet, so two trainees are never reported as teammates.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The Character compared against the Script Target. |
| CompareType | Equal: true if both are on the same team. NotEqual: true if they are not. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self and Target are teammates | Self | IsSameIdolTeam | Equal |
| Check if Self and Target are on other teams | Self | IsSameIdolTeam | NotEqual |