Arma 3 Scripting

Command in Radio and Chat, Custom Radio and Chat

radioChannelInfo

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

Description

Obtains custom radio channel's details. if 'customChannelID' is invalid, the return is either the first custom radio channel (customChannelID < firstCCChannel) or the last (customChannelID > lastCCChannel). 'inUse' true indicates if the channel was made available using radioChannelCreate, false means it can be created.

Syntax

Syntax 1

radioChannelInfo customChannelID

Parameters:

Returns: Array with [colour, label, callSign, units, sentenceType, inUse, Arma 3 v2.22 callSignVoN] (see radioChannelCreate)

Syntax 2

since arma3 2.22

radioChannelInfo option

Parameters:

Returns: Array of Arrays in format [ [colour, label, callSign, units, sentenceType, inUse, callSignVoN],....] (see radioChannelCreate)

Examples

Example 1

private _channelID = radioChannelCreate [[1, 0, 0.5, 0.8], "Q-dance Radio", "%UNIT_NAME", [u1, u2], false];
radioChannelInfo _channelID; // returns [[1,0,0.5,0.8], "Q-dance Radio", "%UNIT_NAME", [u1, u2], false, true]

See also

radioChannelCreate · getPlayerChannel