Lou Montana
If you want to add a TeamSwitchable unit (at least in Arma 2), better use addSwitchableUnit.
Results appear below as you type; use the arrow keys to move through them.
Command · also in Multiplayer · Markdown · JSON · original wiki page
Warning
This command is listed as broken on the wiki.
Create a multiplayer role for the unit. The roles created this way are used for Join In Progress and Team Switch.
setPlayable unitName
Parameters:
unitName: ObjectReturns: Nothing
setPlayable _aPerson;
Warning
This command does not work as intended and currently does nothing in Arma 3.
If you want to add a TeamSwitchable unit (at least in Arma 2), better use addSwitchableUnit.