getPlayerChannel
Jump to navigation
Jump to search
Description
- Description:
- Returns channel number given player speaks on or -1 otherwise. Correspondence between channel and number:
- 0 - Global
- 1 - Side
- 2 - Command
- 3 - Group
- 4 - Vehicle
- 5 - Direct
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_channel = getPlayerChannel player;
Additional Information
- See also:
- setCurrentChannelcurrentChannel
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 | GETPLAYERCHANNEL]][[ Category: a3: Scripting Commands | GETPLAYERCHANNEL]]