Description
Sets given channel as current chat channel. Scripted way of selecting desired channel on the UI. The given channel may be disabled (see enableChannel), this is why this command returns boolean, true on success or false on failure.
| channel ID number correspondence | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N/A | Global | Side | Command | Group | Vehicle | Direct | Custom1 | .. | Custom10 | Arma 3 v2.22 Custom11 | .. | Custom50 |
| -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 15 | 26 | 65 |
Syntax
setCurrentChannel channelID
Parameters:
channelID: Number - channel ID
Returns: Boolean - true on success
Examples
Example 1
_isDirectSelected = setCurrentChannel 5; // sets Direct channel as current active
See also
getPlayerChannel · currentChannel · enableChannel · channelEnabled · radioChannelCreate