BIS fnc channelNumToRadioChannelID: Difference between revisions
Killzone Kid (talk | contribs) (Created page with "{{RV|type=function |game1= arma3 |version1= 2.22 |gr1= Mission Parameters |descr= Converts chat channel number, used in currentChannel, enableChannel, etc to radio channel id, used in radioChannelAdd, radioChannelSetLabel, etc. |s1= channelNum call BIS_fnc_channelNumToRadioChannelID |p1= cannelNum: Number - channel number (6...15, 26...65) |r1= Number - radio channel id (1...50) |x1= <sqf>26 call BIS_fnc_channelNumToRadioChannelID; //11...") |
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= 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. | ||
| Line 10: | Line 10: | ||
|s1= channelNum call [[BIS_fnc_channelNumToRadioChannelID]] | |s1= channelNum call [[BIS_fnc_channelNumToRadioChannelID]] | ||
|p1= cannelNum: [[Number]] - channel number (6 | |p1= cannelNum: [[Number]] - channel number (6..15, 26..65) | ||
|r1= [[Number]] - radio channel id (1 | |r1= [[Number]] - radio channel id (1..50) | ||
|x1= <sqf>26 call BIS_fnc_channelNumToRadioChannelID; //11</sqf> | |x1= <sqf>26 call BIS_fnc_channelNumToRadioChannelID; // 11</sqf> | ||
|seealso= | |seealso= [[BIS_fnc_radioChannelIDToChannelNum]] [[radioChannelCreate]] [[currentChannel]] | ||
}} | }} | ||
Latest revision as of 23:06, 21 November 2025
Description
- Description:
- Converts chat channel number, used in currentChannel, enableChannel, etc to radio channel id, used in radioChannelAdd, radioChannelSetLabel, etc.
- Execution:
- call
- Groups:
- Radio
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:
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