teamSwitchEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| arma1 \|1.00 \|([^g]|g[^a])" to "| arma1 |1.00 |game2= arma2 |version2= 1.00 |game3= arma2oa |version3= 1.50 |game4= tkoh |version4= 1.00 |game5= arma3 |version5= 0.50 |$1")
mNo edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1
|1.00
|version1= 1.00


|game2= arma2
|game2= arma2
Line 18: Line 18:
|gr1= Team Switch
|gr1= Team Switch


| Check if [[Team Switch]] is currently enabled.
|descr= Check if [[Team Switch]] is currently enabled.
 
Team Switch is enabled by default.
Team Switch is enabled by default.


|r1= [[teamSwitchEnabled]]
|s1= [[teamSwitchEnabled]]


|x1= <code>_isTeamSwitchEnabled = [[teamSwitchEnabled]];</code>
|r1= [[Boolean]]


|r1= [[Boolean]]
|x1= <sqf>_isTeamSwitchEnabled = teamSwitchEnabled;</sqf>


|seealso= [[Team Switch]], [[enableTeamSwitch]], [[onBriefingTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]]
|seealso= [[Team Switch]] [[enableTeamSwitch]] [[onBriefingTeamSwitch]] [[onTeamSwitch]] [[teamSwitch]]
}}
}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 04:58, 27 November 2023

Hover & click on the images for description

Description

Description:
Check if Team Switch is currently enabled. Team Switch is enabled by default.
Groups:
Team Switch

Syntax

Syntax:
teamSwitchEnabled
Return Value:
Boolean

Examples

Example 1:
_isTeamSwitchEnabled = teamSwitchEnabled;

Additional Information

See also:
Team Switch enableTeamSwitch onBriefingTeamSwitch onTeamSwitch teamSwitch

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