Difference between revisions of "sideRadio"

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

Revision as of 16:48, 4 August 2016

Introduced with Operation Flashpoint version 1.001.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
Hover & click on the images for descriptions

Description

Description:
Send the message to the side radio channel. Message is defined in Description.ext file.

Syntax

Syntax:
unitName sideRadio chat
Parameters:
unitName: Object
chat: String
Return Value:
Nothing

Examples

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

Additional Information

See also:
sideChatvehicleChatglobalChatgroupChatcustomRadiogroupRadioglobalRadiovehicleRadio

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Posted on 03:47, 12 February 2007
Ceeeb
In OFP v1.96, sideRadio messages can be sent from 2 abstract sources: "Papa_Bear" and "Base FireFly". Use sideRadio on an array in the form [SIDE,"base"],[SIDE,"HQ"],[SIDE,"Papa_bear"] or [SIDE,"airbase"], where SIDE is the side broadcasting. "HQ", "base" and "Papa_bear" seem to be the same object. The callsign strings can be re-defined using a stringTable.csv file, using STR_CFG_PAPABEAR and STR_CFG_FIREFLYBASE. Example : [EAST,"base"] sideRadio "returnToBase".

Bottom Section