radioChannelAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
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|Comments=
{{Command


| TKOH |Game name=
| TKOH


|1.00|Game version=
|1.00


|eff= global|Multiplayer Effects=
|eff= global


|gr1= Radio and Chat |GROUP1=
|gr1= Radio and Chat


|gr2= Custom Radio and Chat |GROUP2=
|gr2= Custom Radio and Chat


| Add the units to the custom channel. |DESCRIPTION=
| Add the units to the custom channel.


| customChannelID [[radioChannelAdd]] units|SYNTAX=
| customChannelID [[radioChannelAdd]] units


|p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] command |PARAMETER1=
|p1= customChannelID: [[Number]] - [[Channel IDs|custom channel ID]] returned by [[radioChannelCreate]] command


|p2= units: [[Array]] - list of units |PARAMETER2=
|p2= units: [[Array]] - list of units


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|x1= <code>2 [[radioChannelAdd]] [<nowiki/>[[player]], unit1];</code> |EXAMPLE1=
|x1= <code>2 [[radioChannelAdd]] [<nowiki/>[[player]], unit1];</code>


| [[radioChannelCreate]], [[radioChannelRemove]], [[radioChannelSetCallSign]], [[radioChannelSetLabel]] |SEEALSO=
| [[radioChannelCreate]], [[radioChannelRemove]], [[radioChannelSetCallSign]], [[radioChannelSetLabel]]
}}
}}


{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 01:51, 18 January 2021

Hover & click on the images for description

Description

Description:
Add the units to the custom channel.
Groups:
Radio and ChatCustom Radio and Chat

Syntax

Syntax:
customChannelID radioChannelAdd units
Parameters:
customChannelID: Number - custom channel ID returned by radioChannelCreate command
units: Array - list of units
Return Value:
Nothing

Examples

Example 1:
2 radioChannelAdd [player, unit1];

Additional Information

See also:
radioChannelCreateradioChannelRemoveradioChannelSetCallSignradioChannelSetLabel

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