teamSwitchEnabled: Difference between revisions

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


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


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


| [[teamSwitchEnabled]] |SYNTAX=
|game5= arma3
|version5= 0.50


|x1= <code>_isTeamSwitchEnabled = [[teamSwitchEnabled]];</code> |Example 1=
|gr1= Team Switch


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


| [[Team Switch]], [[enableTeamSwitch]], [[onBriefingTeamSwitch]], [[onTeamSwitch]], [[teamSwitch]] |SEEALSO=
|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|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Team Switch]]

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