Arma 3 Scripting

Command in Radio and Chat

currentChannel

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns currently selected user chat channel on the UI (selected with < and > in multiplayer).

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

For Custom Radio, see radioChannelCreate.

Syntax

currentChannel

Returns: Number - channel ID (see BIS_fnc_channelNumToRadioChannelID, BIS_fnc_radioChannelIDToChannelNum)

Examples

Example 1

_selected = currentChannel; // 3 for the Group channel

See also

setCurrentChannel · getPlayerChannel · enableChannel · channelEnabled · radioChannelCreate