Description
Adds a unit to the list of units available for Team Switch. Units marked as playable in editor are automatically switchable. This command adds non-playable unit into array of switchableUnits and makes them available for teamSwitch. Singleplayer only!
Syntax
addSwitchableUnit unit
Parameters:
unit: Object
Returns: Nothing
Examples
Example 1
addSwitchableUnit bob;