teamSwitch: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (MP note) |
Killzone Kid (talk | contribs) (added note to description removed from notes) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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) |= Description | | 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> | |||
NOTE: When payer 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 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 33: | Line 36: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 18:55, 30 July 2017
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).
NOTE: When payer switches and leaves behind AI unit, you need to enable "TeamSwitch" AI on it _unit enableAI "TeamSwitch" so that the unit continues with waypoints - Groups:
- Uncategorised
Syntax
- Syntax:
- teamSwitch
- Return Value:
- Nothing
Examples
- Examples:
- Example needed
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