teamSwitchEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(53 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|TEAMSWITCHENABLED]]
{{RV|type=command
[[Category:Scripting Commands ArmA|TEAMSWITCHENABLED]]


|game1= arma1
|version1= 1.00


|game2= arma2
|version2= 1.00


<h2 style="color:#000066">'''teamSwitchEnabled''' </h2>
|game3= arma2oa
|version3= 1.50


|game4= tkoh
|version4= 1.00


'''Operand types:'''
|game5= arma3
|version5= 0.50


None
|gr1= Team Switch


'''Type of returned value:'''
|descr= Check if [[Team Switch]] is currently enabled.
Team Switch is enabled by default.


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


'''Compatibility:'''
|r1= [[Boolean]]


Version 2.92 required.
|x1= <sqf>_isTeamSwitchEnabled = teamSwitchEnabled;</sqf>


'''Description:'''
|seealso= [[Team Switch]] [[enableTeamSwitch]] [[onBriefingTeamSwitch]] [[onTeamSwitch]] [[teamSwitch]]
 
}}
Check if team switch is currently enabled.

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