teamSwitch: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Lou Montana (talk | contribs) |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma | | | arma |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Invoke the [[Team_Switch|Team Switch]] dialog (force it even when conditions are not met). There has to be at least one playable unit for team switch to work, and for this command to work in MP, respawn type in [[description.ext]] should be 5 (SIDE). | | Invoke the [[Team_Switch|Team Switch]] dialog (force it even when conditions are not met). | ||
There has to be at least one playable unit for team switch to work, and for this command to work in MP, respawn type in [[description.ext]] should be 5 (SIDE).<br><br> | |||
<br><br> | {{Informative | When player switches and leaves behind AI unit, you need to enable "TeamSwitch" AI on it <tt>_unit [[enableAI]] "TeamSwitch"</tt> so that the unit continues with [[waypoints]]. }} |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[teamSwitch]] |SYNTAX= | ||
|x1= <code>[[teamSwitch]];</code> |Example 1= | |x1= <code>[[teamSwitch]];</code> |Example 1= | ||
Line 20: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ | | [[Team Switch]], [[enableTeamSwitch]], [[onBriefingTeamSwitch]], [[onTeamSwitch]], [[teamSwitchEnabled]] |SEEALSO= | ||
}} | }} | ||
Line 33: | Line 32: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands| | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA| | [[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category: | [[Category:Command Group: Remote Control]] |
Revision as of 13:22, 8 April 2019
Description
- Description:
- Invoke the Team Switch dialog (force it even when conditions are not met).
There has to be at least one playable unit for team switch to work, and for this command to work in MP, respawn type in description.ext should be 5 (SIDE).
- Groups:
- Uncategorised
Syntax
- Syntax:
- teamSwitch
- Return Value:
- Nothing
Examples
- Example 1:
teamSwitch;
Additional Information
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