{"name":"setPlayable","title":"setPlayable","type":"command","url":"https://community.bistudio.com/wiki/setPlayable","revid":341452,"updated":"2023-05-30T10:27:23Z","groups":["Broken Commands","Multiplayer"],"status":"broken","games":{"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofpe 1.00","arma3_since":"0.50","description":"Create a multiplayer role for the unit. The roles created this way are used for Join In Progress and Team Switch.","syntaxes":[{"syntax":"setPlayable unitName","params":[{"name":"unitName","type":"Object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"unitName"}}],"examples":[{"code":["setPlayable _aPerson;"]}],"problems":"> [!WARNING]\n> This command does not work as intended and currently does nothing in Arma 3.","see_also":["addSwitchableUnit"],"notes":[{"user":"Lou Montana","date":"2009-12-19T22:48:00Z","text":"If you want to add a TeamSwitchable unit (at least in Arma 2), better use addSwitchableUnit."}]}