teamSwitchEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
mNo edit summary
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1
|version1= 1.00


|1.00
|game2= arma2
|version2= 1.00
 
|game3= arma2oa
|version3= 1.50
 
|game4= tkoh
|version4= 1.00
 
|game5= arma3
|version5= 0.50


|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.


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


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


| [[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