currentChannel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
No edit summary
Line 16: Line 16:
* 4 - Vehicle
* 4 - Vehicle
* 5 - Direct
* 5 - Direct
* 6 - Custom channel 1
* 7 - Custom channel 2 etc.
|= Description
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 17:39, 9 December 2015

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

Description

Description:
Returns number of currently selected user voice channel. Channel / Number correspondence:
  • 0 - Global
  • 1 - Side
  • 2 - Command
  • 3 - Group
  • 4 - Vehicle
  • 5 - Direct
  • 6 - Custom channel 1
  • 7 - Custom channel 2 etc.
Groups:
Uncategorised

Syntax

Syntax:
currentChannel
Return Value:
Number

Examples

Example 1:
_current = currentChannel; //3

Additional Information

See also:
getPlayerChannelsetCurrentChannelenableChannel

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