radioChannelAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (corrected parameter)
m (Text replacement - "|= Game name" to "|Game name=")
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
[[Category:Scripting Commands]]


{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| TKOH |= Game name
| TKOH |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Add the units to the custom radio channel. |= Description
| Add the units to the custom radio channel. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| index '''radioChannelAdd''' units|= Syntax
| index '''radioChannelAdd''' units|SYNTAX=


|p1= index: [[Number]] - custom radio channel index |= Parameter 1
|p1= index: [[Number]] - custom radio channel id returned by [[radioChannelCreate]] command |PARAMETER1=
|p2= units: [[Array]] - list of characters |= Parameter 2
|p2= units: [[Array]] - list of units |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [[radioChannelCreate]], [[radioChannelRemove]], [[radioChannelSetCallSign]], [[radioChannelSetLabel]] |= See also
| [[radioChannelCreate]], [[radioChannelRemove]], [[radioChannelSetCallSign]], [[radioChannelSetLabel]] |SEEALSO=


}}
}}

Revision as of 14:51, 1 September 2019


Hover & click on the images for description

Description

Description:
Add the units to the custom radio channel.
Groups:
Uncategorised

Syntax

Syntax:
index radioChannelAdd units
Parameters:
index: Number - custom radio 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

Notes

Bottom Section