commandRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (brought notes in proper format)
(see also, example)
Line 5: Line 5:


|1.00|= Game version
|1.00|= Game version
|arg= global |= Arguments in MP
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sends the message to the command radio channel. The message is defined in the description.ext file or radio protocol. |= Description
| Sends the message to the command radio channel. The message is defined in the [[description.ext]] file or radio protocol. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 18: Line 21:
|p3= |= PARAMETER3  
|p3= |= PARAMETER3  


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




|x1= <code>player [[commandRadio]] "messageOne";</code>|= EXAMPLE1  
|x1= <code>player [[commandRadio]] "messageOne";</code>|= EXAMPLE1  
|x2= <code>[[player]] [[commandRadio]] [[configName]] [[selectRandom]] ("true" [[configClasses]] ([[configFile]] >> "CfgRadio"));</code>|= EXAMPLE2


____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= SEEALSO  
|[[sideRadio]], [[groupRadio]], [[customRadio]], [[vehicleRadio]], [[globalRadio]], [[directSay]], [[commandChat]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 18:34, 4 August 2016

Hover & click on the images for description

Description

Description:
Sends the message to the command radio channel. The message is defined in the description.ext file or radio protocol.
Groups:
Uncategorised

Syntax

Syntax:
unit commandRadio radioName
Parameters:
unit: Object or Array
radioName: String
Return Value:
Nothing

Examples

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

Additional Information

See also:
sideRadiogroupRadiocustomRadiovehicleRadioglobalRadiodirectSaycommandChat

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

Posted on June 24, 2010 - 8:55 (CEST)
Nikita320106
example: _unit commandRadio "SentCmdHide"; radio command from CA_Dubbing config should work

Bottom Section