Difference between revisions of "teamSwitch"
Jump to navigation Jump to search
(added note to description removed from notes)
|Line 10:||Line 10:|
NOTE: When 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
Revision as of 19:44, 6 August 2017
- 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 player switches and leaves behind AI unit, you need to enable "TeamSwitch" AI on it _unit enableAI "TeamSwitch" so that the unit continues with waypoints
- Return Value:
- Example needed