currentChannel: Difference between revisions
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
| (30 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| | |game1= arma3 | ||
|version1= 1.42 | |||
| | |gr1= Radio and Chat | ||
| | |descr= Returns currently selected user chat channel on the UI (selected with {{Controls|<}} and {{Controls|>}} in multiplayer). | ||
{{{!}} class="wikitable align-center" | |||
! colspan="13" {{!}} [[Channel IDs|channel ID]] number correspondence | |||
{{{!}} class | |||
! colspan | |||
{{!}}- | {{!}}- | ||
{{!}} {{n/a}} | |||
{{!}} Global | {{!}} Global | ||
{{!}} Side | {{!}} Side | ||
| Line 20: | Line 18: | ||
{{!}} Direct | {{!}} Direct | ||
{{!}} Custom1 | {{!}} Custom1 | ||
{{!}} | {{!}} rowspan="2" {{!}} .. | ||
{{!}} | |||
{{!}} Custom10 | {{!}} Custom10 | ||
{{!}} {{GVI|arma3|2.22|size= 0.75}} Custom11 | |||
{{!}} rowspan="2" {{!}} .. | |||
{{!}} Custom50 | |||
{{!}}- | {{!}}- | ||
{{!}} -1 | |||
{{!}} 0 | {{!}} 0 | ||
{{!}} 1 | {{!}} 1 | ||
| Line 37: | Line 32: | ||
{{!}} 5 | {{!}} 5 | ||
{{!}} 6 | {{!}} 6 | ||
{{!}} 15 | {{!}} 15 | ||
{{!}} 26 | |||
{{!}} 65 | |||
{{!}}} | {{!}}} | ||
For Custom Radio, see [[radioChannelCreate]]. | |||
| | |s1= [[currentChannel]] | ||
| [[Number]] - | |r1= [[Number]] - channel ID (see [[BIS_fnc_channelNumToRadioChannelID]], [[BIS_fnc_radioChannelIDToChannelNum]]) | ||
| | |x1= <sqf>_selected = currentChannel; // 3 for the Group channel</sqf> | ||
|seealso= [[setCurrentChannel]] [[getPlayerChannel]] [[enableChannel]] [[channelEnabled]] [[radioChannelCreate]] | |||
}} | }} | ||
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.
Only post proven facts here! Add Note