Difference between revisions of "commandRadio"

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

Introduced with Arma 2 version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

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

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

Multiplayer:
-
See also:
sideRadiogroupRadiocustomRadiovehicleRadioglobalRadiodirectSaycommandChat

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

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

Bottom Section