globalRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|GLOBALRADIO]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|GLOBALRADIO]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|GLOBALRADIO]]
 
[[Category:Scripting Commands ArmA|GLOBALRADIO]]
| ofp |= Game name


|1.00|= Game version


<h2 style="color:#000066"> '''''unit'' globalRadio ''radioName'''''</h2>
|arg= global |= Arguments in MP


|eff= local |= Effects in MP
____________________________________________________________________________________________


'''Operand types:'''
| 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. |= Description
____________________________________________________________________________________________


'''unit:''' [[Object]]<br>
| unit '''globalRadio''' message |= Syntax
'''radioName:''' [[String]]


'''Type of returned value:'''
|p1= unit: [[Object]] |= Parameter 1


[[Nothing]]
|p2= message: [[String]] - the name of the message class in the description.ext |= Parameter 2


'''Description:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>soldierOne globalRadio "messageOne"</pre> |= Example 1
____________________________________________________________________________________________


Send message to global radio channel.
| [[sideRadio]], [[groupRadio]], [[vehicleRadio]] |= See also


Message can be defined in [[Description.ext|description.ext]].
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Example:'''
<!-- Note Section END -->
</dl>


soldierOne '''globalRadio''' "messageOne"
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|GLOBALRADIO]]
[[Category:Scripting Commands OFP 1.96|GLOBALRADIO]]
[[Category:Scripting Commands OFP 1.46|GLOBALRADIO]]
[[Category:Scripting Commands ArmA|GLOBALRADIO]]

Revision as of 01:24, 2 August 2006

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 message
Parameters:
unit: Object
message: String - the name of the message class in the description.ext
Return Value:
Nothing

Examples

Example 1:
soldierOne globalRadio "messageOne"

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