Team Switch
8 scripting commands. Also as Markdown for agents.
- addSwitchableUnitAdds a unit to the list of units available for Team Switch. Units marked as playable in editor are automatically switchable.
- enableTeamSwitchEnable / disable Team Switch. The default setting is enabled.
- onBriefingTeamSwitchSelect a sound defined in the CfgSounds of the mission to be played the first time the TeamSwitch tab is selected in the briefing.
- onTeamSwitchDefines an action performed when the team switch is finished. Commandset receives the following special variables: *_from* object previous unit,…
- removeSwitchableUnitRemove a unit from the list of units available for Team Switch.
- switchableUnitsReturns 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…
- teamSwitchInvoke 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…
- teamSwitchEnabledCheck if Team Switch is currently enabled. Team Switch is enabled by default.