BIS fnc radioChannelIDToChannelNum: Difference between revisions

From Bohemia Interactive Community
No edit summary
No edit summary
Line 4: Line 4:
|version1= 2.22
|version1= 2.22


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


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

Revision as of 21:37, 21 November 2025

Hover & click on the images for description

Description

Description:
Converts radio channel id, used in radioChannelAdd, radioChannelSetLabel, etc to chat channel number, used in currentChannel, enableChannel, etc.
Execution:
call
Groups:
Radio and ChatCustom Radio and Chat

Syntax

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

Examples

Example 1:
11 call BIS_fnc_radioChannelIDToChannelNum; //26

Additional Information

See also:
BIS_fnc_channelNumToRadioChannelID 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