Arma 3 Scripting

addSwitchableUnit

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · original wiki page

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:

Returns: Nothing

Examples

Example 1

addSwitchableUnit bob;

See also

teamSwitch · removeSwitchableUnit · switchableUnits