teamSwitchEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Command Group: Team Switch" to "")
mNo edit summary
 
(21 intermediate revisions by 2 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


|gr1= Team Switch |GROUP1=
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| Check if [[Team Switch]] is currently enabled.
|game4= tkoh
|version4= 1.00


Team Switch is enabled by default. |DESCRIPTION=
|game5= arma3
____________________________________________________________________________________________
|version5= 0.50


| [[teamSwitchEnabled]] |SYNTAX=
|gr1= Team Switch


|x1= <code>_isTeamSwitchEnabled = [[teamSwitchEnabled]];</code> |Example 1=
|descr= Check if [[Team Switch]] is currently enabled.
Team Switch is enabled by default.


| [[Boolean]] |RETURNVALUE=
|s1= [[teamSwitchEnabled]]
____________________________________________________________________________________________


| [[Team Switch]], [[enableTeamSwitch]], [[onBriefingTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]] |SEEALSO=
|r1= [[Boolean]]
}}


<h3 style="display:none">Notes</h3>
|x1= <sqf>_isTeamSwitchEnabled = teamSwitchEnabled;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[Team Switch]] [[enableTeamSwitch]] [[onBriefingTeamSwitch]] [[onTeamSwitch]] [[teamSwitch]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Armed Assault|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{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