teamSwitchEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (reset arma ver)
mNo edit summary
 
(50 intermediate revisions by 11 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. |= Description
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| '''teamSwitchEnabled''' |= Syntax
|game4= tkoh
|version4= 1.00


| [[Boolean]] |= Return value
|game5= arma3
____________________________________________________________________________________________
|version5= 0.50


| |= See also
|gr1= Team Switch


}}
|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]]

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