{"name":"setCurrentChannel","operator":null,"title":"setCurrentChannel","type":"command","url":"https://community.bistudio.com/wiki/setCurrentChannel","revid":376800,"updated":"2025-11-20T17:47:43Z","groups":["Radio and Chat"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.42"}],"since":{"game":"arma3","name":"Arma 3","version":"1.42"},"arma3_since":"1.42","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"description":"Sets given channel as current chat channel. Scripted way of selecting desired channel on the UI.\nThe given channel may be disabled (see enableChannel), this is why this command returns boolean, true on success or false on failure.\n\n| channel ID number correspondence |  |  |  |  |  |  |  |  |  |  |  |  |\n|---|---|---|---|---|---|---|---|---|---|---|---|---|\n| N/A | Global | Side | Command | Group | Vehicle | Direct | Custom1 | .. | Custom10 | Arma 3 v2.22 Custom11 | .. | Custom50 |\n| -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 15 | 26 | 65 |  |  |","syntaxes":[{"syntax":"setCurrentChannel channelID","since":null,"effect":null,"exec":null,"params":[{"name":"channelID","type":"Number","optional":false,"default":null,"description":"channel ID","types":["Number"],"since":null,"text":"channelID: Number - channel ID"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true on success","text":"Boolean - true on success"},"form":"unary","operator":null,"left":null,"right":{"text":"channelID","types":["Number"]}}],"examples":[{"text":"```sqf\n_isDirectSelected = setCurrentChannel 5; // sets Direct channel as current active\n```","code":["_isDirectSelected = setCurrentChannel 5; // sets Direct channel as current active"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getPlayerChannel","currentChannel","enableChannel","channelEnabled","radioChannelCreate"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Radio and Chat","Introduced with Arma 3 version 1.42","Scripting Commands","Scripting Commands: Local Effect"]}