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...") |
Lou Montana (talk | contribs) (Fix category) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 4: | Line 4: | ||
|version1= 2.22 | |version1= 2.22 | ||
|gr1= | |gr1= Radio | ||
|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> | ||
|seealso= | |seealso= [[BIS_fnc_channelNumToRadioChannelID]] [[radioChannelCreate]] [[currentChannel]] | ||
}} | }} | ||
Latest revision as of 23:05, 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:
- Radio
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