enableChannel: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.42 | |1.42 | ||
|eff= local | |eff= local | ||
|gr1= Radio and Chat | |gr1= Radio and Chat | ||
| 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. | | 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. | ||
Line 58: | Line 58: | ||
{{!}} 15 | {{!}} 15 | ||
{{!}}} | {{!}}} | ||
| | | channelID [[enableChannel]] enable | ||
| | |p1= channelID: [[Number]] - [[Channel IDs|channel ID]] | ||
| [[ | |p2= enable: [[Boolean]] - [[true]] to enable, [[false]] to disable (both VoN and chat) | ||
|s2= channelID [[enableChannel]] [chat, VoN] {{Since|arma3|1.59.135661|y}} | | [[Nothing]] | ||
|s2= channelID [[enableChannel]] [chat, VoN] {{Since|arma3|1.59.135661|y}} | |||
|p21= channelID: [[Number]] - [[Channel IDs|channel ID]] |PARAMETER21= | |p21= channelID: [[Number]] - [[Channel IDs|channel ID]] |PARAMETER21= | ||
Line 76: | Line 76: | ||
|p23= chat: [[Boolean]] - [[true]] to enable text chat |PARAMETER23= | |p23= chat: [[Boolean]] - [[true]] to enable text chat |PARAMETER23= | ||
|p24= VoN: [[Boolean]] - [[true]] to enable voice chat | |p24= VoN: [[Boolean]] - [[true]] to enable voice chat | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= <code>0 [[enableChannel]] [[false]]; {{cc|Disable user ability to send voice and text on global channel}}</code> | |x1= <code>0 [[enableChannel]] [[false]]; {{cc|Disable user ability to send voice and text on global channel}}</code> | ||
|x2= <code>0 [[enableChannel]] [<nowiki/>[[true]], [[false]]]; {{cc|Enable user ability to send text but disable voice on global channel}}</code> | |x2= <code>0 [[enableChannel]] [<nowiki/>[[true]], [[false]]]; {{cc|Enable user ability to send text but disable voice on global channel}}</code> | ||
|[[currentChannel]], [[setCurrentChannel]], [[getPlayerChannel]], [[channelEnabled]], [[radioChannelCreate]] | |[[currentChannel]], [[setCurrentChannel]], [[getPlayerChannel]], [[channelEnabled]], [[radioChannelCreate]] | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 00:35, 18 January 2021
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 Default Channels Custom Channels Global Side Command Group Vehicle Direct CC 1 CC 2 CC 3 CC 4 CC 5 CC 6 CC 7 CC 8 CC 9 CC 10 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 - channel ID
- 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 - channel ID
- [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