Skip to main content

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

ParameterDescription
BaseObjectThe Character compared against the Script Target.
CompareTypeEqual: true if both are on the same team. NotEqual: true if they are not.

Examples

DescriptionBaseObjectCommandCompareType
Check if Self and Target are teammatesSelfIsSameIdolTeamEqual
Check if Self and Target are on other teamsSelfIsSameIdolTeamNotEqual