globalRadio: Difference between revisions

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



Revision as of 15:50, 4 August 2016

Hover & click on the images for description

Description

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

Syntax

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

Examples

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

Additional Information

See also:
sideRadiogroupRadiovehicleRadio

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