enableChannel: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
m (Text replacement - "channelID" to "channelID") |
||
Line 60: | Line 60: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| channelID [[enableChannel]] enable |SYNTAX= | | [[Channel IDs|channelID]] [[enableChannel]] enable |SYNTAX= | ||
|p1= channelID: [[Number]] |PARAMETER1= | |p1= [[Channel IDs|channelID]]: [[Number]] |PARAMETER1= | ||
|p2= enable: [[Boolean]] - [[true]] to enable, [[false]] to disable (both VoN and chat) |PARAMETER2= | |p2= enable: [[Boolean]] - [[true]] to enable, [[false]] to disable (both VoN and chat) |PARAMETER2= | ||
Line 68: | Line 68: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|s2= channelID [[enableChannel]] [chat, VoN] {{since|arma3|1.59.135661|y}} |SYNTAX2= | |s2= [[Channel IDs|channelID]] [[enableChannel]] [chat, VoN] {{since|arma3|1.59.135661|y}} |SYNTAX2= | ||
|p21= channelID: [[Number]] |PARAMETER21= | |p21= [[Channel IDs|channelID]]: [[Number]] |PARAMETER21= | ||
|p22= [chat, VoN]: [[Array]] |PARAMETER22= | |p22= [chat, VoN]: [[Array]] |PARAMETER22= |
Revision as of 08:46, 29 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 or server.cfg, it can be enabled with this command, however the UI functionality changes will be local to the PC executing this command.
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:
- channelID enableChannel enable
- Parameters:
- channelID: Number
- enable: Boolean - true to enable, false to disable (both VoN and chat)
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- channelID enableChannel [chat, VoN] Template:since
- Parameters:
- channelID: 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