teamSwitch: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Team Switch | |gr1= Team Switch | ||
| Invoke the [[Team_Switch|Team Switch]] dialog (force it even when conditions are not met). | | 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> | 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> | ||
{{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]]. }} | {{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]]. }} | ||
| [[teamSwitch]] | | [[teamSwitch]] | ||
|x1= <code>[[teamSwitch]];</code> | |x1= <code>[[teamSwitch]];</code> | ||
| [[Nothing]] | | [[Nothing]] | ||
| [[Team Switch]], [[enableTeamSwitch]], [[onBriefingTeamSwitch]], [[onTeamSwitch]], [[teamSwitchEnabled]], [[selectPlayer]] | | [[Team Switch]], [[enableTeamSwitch]], [[onBriefingTeamSwitch]], [[onTeamSwitch]], [[teamSwitchEnabled]], [[selectPlayer]] | ||
}} | }} |
Revision as of 11:27, 18 January 2021
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:
- Team Switch
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