enableChannel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 69: Line 69:
|s2= channelID [[enableChannel]] [chat, VoN] {{Since|arma3|1.59.135661|y}}
|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]]


|p22= [chat, VoN]: [[Array]] |PARAMETER22=
|p22= [chat, VoN]: [[Array]]


|p23= chat: [[Boolean]] - [[true]] to enable text chat |PARAMETER23=
|p23= chat: [[Boolean]] - [[true]] to enable text chat


|p24= VoN: [[Boolean]] - [[true]] to enable voice chat
|p24= VoN: [[Boolean]] - [[true]] to enable voice chat

Revision as of 19:07, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Radio and Chat

Syntax

Syntax:
Syntax needed
Parameters:
channelID: Number - channel ID
enable: Boolean - true to enable, false to disable (both VoN and chat)
Return Value:
Return value needed

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

See also:
See also needed

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