currentChannel: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "channelID" to "channelID") |
Lou Montana (talk | contribs) m (Fix table width) |
||
Line 2: | Line 2: | ||
______________________________________________________________________________________________ | ______________________________________________________________________________________________ | ||
| | | arma3 |Game name= | ||
|1.42|Game version= | |1.42|Game version= | ||
Line 12: | Line 12: | ||
{{{!}} class{{=}}"wikitable" style{{=}}"text-align: center" | {{{!}} class{{=}}"wikitable" style{{=}}"text-align: center" | ||
! colspan{{=}}"16" {{!}} channel ID number correspondence | ! colspan{{=}}"16" {{!}} channel ID number correspondence | ||
{{!}}- | {{!}}- style{{=}}"font-size: .85em" | ||
{{!}} Global | {{!}} Global | ||
{{!}} Side | {{!}} Side | ||
Line 47: | Line 47: | ||
{{!}} 15 | {{!}} 15 | ||
{{!}}} | {{!}}} | ||
For Custom Radio | For Custom Radio, see [[radioChannelCreate]]. | ||
|DESCRIPTION= | |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''currentChannel'''|SYNTAX= | | '''currentChannel''' |SYNTAX= | ||
|p1= |PARAMETER1= | |p1= |PARAMETER1= | ||
Line 58: | Line 58: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_selected = [[currentChannel]]; | |x1= <code>_selected = [[currentChannel]]; {{cc|3 - for example for the Group}}</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[setCurrentChannel]], [[getPlayerChannel]], [[enableChannel]], [[channelEnabled]], [[radioChannelCreate]]|SEEALSO= | | [[setCurrentChannel]], [[getPlayerChannel]], [[enableChannel]], [[channelEnabled]], [[radioChannelCreate]] |SEEALSO= | ||
}} | }} | ||
Line 73: | Line 72: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
Revision as of 17:44, 25 November 2020
Description
- Description:
- Returns currently selected user chat channel on the UI (selected with < and > in MP).
channel ID number correspondence Global Side Command Group Vehicle Direct Custom1 Custom2 Custom3 Custom4 Custom5 Custom6 Custom7 Custom8 Custom9 Custom10 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 - Groups:
- Radio and Chat
Syntax
- Syntax:
- currentChannel
- Return Value:
- Number - channelID
Examples
- Example 1:
_selected = currentChannel; // 3 - for example for the Group
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