# Team Switch (scripting commands)

- [addSwitchableUnit](../../commands/addSwitchableUnit.md): Adds a unit to the list of units available for Team Switch. Units marked as playable in editor are automatically switchable.
- [enableTeamSwitch](../../commands/enableTeamSwitch.md): Enable / disable Team Switch. The default setting is enabled.
- [onBriefingTeamSwitch](../../commands/onBriefingTeamSwitch.md): Select a sound defined in the CfgSounds of the mission to be played the first time the TeamSwitch tab is selected in the briefing.
- [onTeamSwitch](../../commands/onTeamSwitch.md) **[deprecated]**: Defines an action performed when the team switch is finished. Commandset receives the following special variables: *_from* object previous unit, *_to* object current unit.
- [removeSwitchableUnit](../../commands/removeSwitchableUnit.md): Remove a unit from the list of units available for Team Switch.
- [switchableUnits](../../commands/switchableUnits.md): Returns a list of playable units available for switching to - Command is relative to the client on which it is executed and will only show playable units for the same side as player's group + player himself - In…
- [teamSwitch](../../commands/teamSwitch.md): Invoke the Team Switch dialog (force it even when conditions are not met). There has to be at least one playable unit for team switch to work, and for this command to work in MP, respawn type in description.ext should…
- [teamSwitchEnabled](../../commands/teamSwitchEnabled.md): Check if Team Switch is currently enabled. Team Switch is enabled by default.
