groupRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(example)
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_soldierOne groupRadio "messageOne"</pre> |= Example 1
|x1= <code>_soldierOne [[groupRadio]] "messageOne";</code> |= Example 1
|x2= <code>[[player]] [[groupRadio]] [[configName]] [[selectRandom]] ("true" [[configClasses]] ([[configFile]] >> "CfgRadio"));</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:50, 4 August 2016

Hover & click on the images for description

Description

Description:
Make a unit send a message over the group radio channel. The message is defined in the description.ext of the mission and may contain text and sound.
Groups:
Uncategorised

Syntax

Syntax:
unit groupRadio radioName
Parameters:
unit: Object
radioName: String - the name of the message class in the description.ext
Return Value:
Nothing

Examples

Example 1:
_soldierOne groupRadio "messageOne";
Example 2:
player groupRadio configName selectRandom ("true" configClasses (configFile >> "CfgRadio"));

Additional Information

See also:
globalRadiosideRadiovehicleRadio

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