currentChannel: Difference between revisions
Lou Montana (talk | contribs) (Add v2.22's new channels) |
Killzone Kid (talk | contribs) No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 8: | Line 8: | ||
|descr= Returns currently selected user chat channel on the UI (selected with {{Controls|<}} and {{Controls|>}} in multiplayer). | |descr= Returns currently selected user chat channel on the UI (selected with {{Controls|<}} and {{Controls|>}} in multiplayer). | ||
{{{!}} class="wikitable align-center" | {{{!}} class="wikitable align-center" | ||
! colspan=" | ! colspan="13" {{!}} [[Channel IDs|channel ID]] number correspondence | ||
{{!}}- | {{!}}- | ||
{{!}} {{n/a}} | {{!}} {{n/a}} | ||
| Line 41: | Line 41: | ||
|s1= [[currentChannel]] | |s1= [[currentChannel]] | ||
|r1= [[Number]] - channel ID | |r1= [[Number]] - channel ID (see [[BIS_fnc_channelNumToRadioChannelID]], [[BIS_fnc_radioChannelIDToChannelNum]]) | ||
|x1= <sqf>_selected = currentChannel; // 3 for the Group channel</sqf> | |x1= <sqf>_selected = currentChannel; // 3 for the Group channel</sqf> | ||
Latest revision as of 21:34, 21 November 2025
Description
- Description:
- Returns currently selected user chat channel on the UI (selected with < and > in multiplayer).
For Custom Radio, see radioChannelCreate.channel ID number correspondence N/A Global Side Command Group Vehicle Direct Custom1 .. Custom10
2.22 Custom11
.. Custom50 -1 0 1 2 3 4 5 6 15 26 65 - Groups:
- Radio and Chat
Syntax
- Syntax:
- currentChannel
- Return Value:
- Number - channel ID (see BIS_fnc_channelNumToRadioChannelID, BIS_fnc_radioChannelIDToChannelNum)
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