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:
customChannelID: Number - custom channel ID returned by radioChannelCreate
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]