enableTeamSwitch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 7: Line 6:


|gr1= Team Switch |GROUP1=
|gr1= Team Switch |GROUP1=
____________________________________________________________________________________________


| Enable / disable [[Team_Switch|Team Switch]]. The default setting is enabled. |DESCRIPTION=
| Enable / disable [[Team_Switch|Team Switch]]. The default setting is enabled. |DESCRIPTION=
____________________________________________________________________________________________


| [[enableTeamSwitch]] enable |SYNTAX=
| [[enableTeamSwitch]] enable |SYNTAX=
Line 19: Line 16:


|x1= <code>[[enableTeamSwitch]] [[true]];</code> |Example 1=
|x1= <code>[[enableTeamSwitch]] [[true]];</code> |Example 1=
____________________________________________________________________________________________


| [[Team_Switch]], [[onBriefingTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]], [[teamSwitchEnabled]], [[selectPlayer]] |SEEALSO=
| [[Team_Switch]], [[onBriefingTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]], [[teamSwitchEnabled]], [[selectPlayer]] |SEEALSO=

Revision as of 01:14, 17 January 2021

Hover & click on the images for description

Description

Description:
Enable / disable Team Switch. The default setting is enabled.
Groups:
Team Switch

Syntax

Syntax:
enableTeamSwitch enable
Parameters:
enable: Boolean
Return Value:
Nothing

Examples

Example 1:
enableTeamSwitch true;

Additional Information

See also:
Team_SwitchonBriefingTeamSwitchonTeamSwitchteamSwitchteamSwitchEnabledselectPlayer

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section