BIS_fnc_channelNumToRadioChannelID

From Bohemia Interactive Community
Revision as of 21:32, 21 November 2025 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=function |game1= arma3 |version1= 2.22 |gr1= Mission Parameters |descr= Converts chat channel number, used in currentChannel, enableChannel, etc to radio channel id, used in radioChannelAdd, radioChannelSetLabel, etc. |s1= channelNum call BIS_fnc_channelNumToRadioChannelID |p1= cannelNum: Number - channel number (6...15, 26...65) |r1= Number - radio channel id (1...50) |x1= <sqf>26 call BIS_fnc_channelNumToRadioChannelID; //11...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Hover & click on the images for description

Description

Description:
Converts chat channel number, used in currentChannel, enableChannel, etc to radio channel id, used in radioChannelAdd, radioChannelSetLabel, etc.
Execution:
call
Groups:
Mission Parameters

Syntax

Syntax:
channelNum call BIS_fnc_channelNumToRadioChannelID
Parameters:
cannelNum: Number - channel number (6...15, 26...65)
Return Value:
Number - radio channel id (1...50)

Examples

Example 1:
26 call BIS_fnc_channelNumToRadioChannelID; //11

Additional Information

See also:
BIS_fnc_radioChannelIDToChannelNum radioChannelCreate currentChannel

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note