{"name":"setCurrentChannel","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","games":{"arma3":"1.42"},"since":"arma3 1.42","arma3_since":"1.42","locality":{"effect":"local"},"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","params":[{"name":"channelID","type":"Number","description":"channel ID","type_expr":"Number"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true on success"},"form":"unary","right":{"text":"channelID"}}],"examples":[{"code":["_isDirectSelected = setCurrentChannel 5; // sets Direct channel as current active"]}],"see_also":["getPlayerChannel","currentChannel","enableChannel","channelEnabled","radioChannelCreate"]}