currentChannel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
Line 44: Line 44:


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Radio and Chat|{{uc:{{PAGENAME}}}}]]

Revision as of 22:09, 25 September 2020

-wrong parameter ("a3") defined!-[[:Category:Introduced with a3 version 1.42|1.42]]
Hover & click on the images for description

Description

Description:
Returns currently selected user chat channel on the UI (selected with < and > in MP). Correspondence between channel and number:
  • 0 = Global
  • 1 = Side
  • 2 = Command
  • 3 = Group
  • 4 = Vehicle
  • 5 = Direct
  • 6-15 = Custom Radio (see radioChannelCreate)
Groups:
Radio and Chat

Syntax

Syntax:
currentChannel
Return Value:
Number

Examples

Example 1:
_selected = currentChannel; // 3 - for example for the Group

Additional Information

See also:
setCurrentChannelgetPlayerChannelenableChannelchannelEnabledradioChannelCreate

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

[[Category:Introduced with a3 version 1.42]][[ Category: a3: New Scripting Commands | CURRENTCHANNEL]][[ Category: a3: Scripting Commands | CURRENTCHANNEL]]

Notes

Bottom Section