BIS fnc channelNumToRadioChannelID: Difference between revisions

From Bohemia Interactive Community
No edit summary
No edit summary
Line 5: Line 5:


|gr1= Radio and Chat
|gr1= Radio and Chat
|gr2= Custom Radio and Chat


|descr= Converts chat channel number, used in [[currentChannel]], [[enableChannel]], etc to radio channel id, used in [[radioChannelAdd]], [[radioChannelSetLabel]], etc.
|descr= Converts chat channel number, used in [[currentChannel]], [[enableChannel]], etc to radio channel id, used in [[radioChannelAdd]], [[radioChannelSetLabel]], etc.

Revision as of 21:37, 21 November 2025

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:
Radio and ChatCustom Radio and Chat

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