BIS fnc radioChannelIDToChannelNum: Difference between revisions
Killzone Kid (talk | contribs) (Created page with "{{RV|type=function |game1= arma3 |version1= 2.22 |gr1= Mission Parameters |descr=Returns the value of mission param given by the class name. This function is global and will return selected param value on any PC including JIP. For backward compatibility it also supports "param1" and "param2". |s1= radioChannelID call BIS_fnc_radioChannelIDToChannelNum |p1= radioChannelID: Number - id returned by radioChannelCreate (1...50) |r1= Number - channel numb...") |
Killzone Kid (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
|gr1= Mission Parameters | |gr1= Mission Parameters | ||
|descr= | |descr=Converts radio channel id, used in [[radioChannelAdd]], [[radioChannelSetLabel]], etc to chat channel number, used in [[currentChannel]], [[enableChannel]], etc. | ||
|s1= radioChannelID call [[BIS_fnc_radioChannelIDToChannelNum]] | |s1= radioChannelID call [[BIS_fnc_radioChannelIDToChannelNum]] | ||
|p1= radioChannelID: [[Number]] - id | |p1= radioChannelID: [[Number]] - radio channel id (1...50) | ||
|r1= [[Number]] - channel number | |r1= [[Number]] - channel number (6...15, 26...65) | ||
|x1= <sqf>11 call BIS_fnc_radioChannelIDToChannelNum; //26</sqf> | |x1= <sqf>11 call BIS_fnc_radioChannelIDToChannelNum; //26</sqf> | ||
Revision as of 21:28, 21 November 2025
Description
- Description:
- Converts radio channel id, used in radioChannelAdd, radioChannelSetLabel, etc to chat channel number, used in currentChannel, enableChannel, etc.
- Execution:
- call
- Groups:
- Mission Parameters
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:
Additional Information
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