BIS fnc radioChannelIDToChannelNum: Difference between revisions
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) (Fix category) |
||
| Line 4: | Line 4: | ||
|version1= 2.22 | |version1= 2.22 | ||
|gr1= Radio | |gr1= Radio | ||
|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. | ||
| Line 12: | Line 10: | ||
|s1= radioChannelID call [[BIS_fnc_radioChannelIDToChannelNum]] | |s1= radioChannelID call [[BIS_fnc_radioChannelIDToChannelNum]] | ||
|p1= radioChannelID: [[Number]] - radio channel id (1 | |p1= radioChannelID: [[Number]] - radio channel id (1..50) | ||
|r1= [[Number]] - channel number (6 | |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