teamSwitchEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(52 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


<h2 style="color:#000066">'''teamSwitchEnabled''' </h2>
|game2= arma2
|version2= 1.00


|game3= arma2oa
|version3= 1.50


'''Operand types:'''
|game4= tkoh
|version4= 1.00


None
|game5= arma3
|version5= 0.50


'''Type of returned value:'''
|gr1= Team Switch


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


'''Compatibility:'''
|s1= [[teamSwitchEnabled]]


Version 2.92 required.
|r1= [[Boolean]]


'''Description:'''
|x1= <sqf>_isTeamSwitchEnabled = teamSwitchEnabled;</sqf>


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

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