enableChannel: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
{{Informative| | {{Informative| | ||
This command: | This command: | ||
* cannot disable | * cannot disable Global channel for the admin, because Global channel is always available for the admin | ||
* does not disable ''incoming'' text or voice | * does not disable ''incoming'' text or voice | ||
* does not interrupt own client's transmission in progress (but will prevent any further ones) | * does not interrupt own client's transmission in progress (but will prevent any further ones) |
Revision as of 10:38, 24 October 2020
Description
- Description:
- Enables/disables UI functionality which is responsible for sending text or voice chat to the given chat channel. If the channel was disabled in Description.ext, it can be enabled with this command, however the UI functionality changes will be local to the PC executing this command.
Channel / Number correspondence:
- 0 = Global
- 1 = Side
- 2 = Command
- 3 = Group (cannot be disabled with enableChannel nor Description.ext/disableChannels[])
- 4 = Vehicle
- 5 = Direct
- 6-15 = Custom Radio
- Groups:
- Radio and Chat
Syntax
- Syntax:
- channel enableChannel enable
- Parameters:
- channel: Number
- enable: Boolean - true to enable, false to disable (both VoN and chat)
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- channel enableChannel [chat, VoN] Template:since
- Parameters:
- channel: Number
- [chat, VoN]: Array
- chat: Boolean - true to enable text chat
- VoN: Boolean - true to enable voice chat
- Return Value:
- Nothing
Examples
- Example 1:
0 enableChannel false; // Disable user ability to send voice and text on global channel
- Example 2:
0 enableChannel [true, false]; // Enable user ability to send text but disable voice on global channel
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