teamSwitchEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
mNo edit summary
 
(35 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|version1= 1.00


|1.00|= Game version
|game2= arma2
____________________________________________________________________________________________
|version2= 1.00


| Check if [[Team_Switch|Team Switch]] is currently enabled.
|game3= arma2oa
|version3= 1.50


Team Switch is enabled by default.|= Description
|game4= tkoh
____________________________________________________________________________________________
|version4= 1.00


| [[Boolean]] <nowiki>=</nowiki> '''teamSwitchEnabled''' |= Syntax
|game5= arma3
|version5= 0.50


| [[Boolean]] |= Return value
|gr1= Team Switch
____________________________________________________________________________________________


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


}}
|s1= [[teamSwitchEnabled]]


<h3 style="display:none">Notes</h3>
|r1= [[Boolean]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>_isTeamSwitchEnabled = teamSwitchEnabled;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[Team Switch]] [[enableTeamSwitch]] [[onBriefingTeamSwitch]] [[onTeamSwitch]] [[teamSwitch]]
[[Category:Scripting Commands|TEAMSWITCHENABLED]]
}}
[[Category:Scripting Commands ArmA|TEAMSWITCHENABLED]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

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