sideRadio: Difference between revisions

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



Revision as of 16:48, 4 August 2016

Hover & click on the images for description

Description

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

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

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 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