setRadioMsg: Difference between revisions

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


| ofp |= Game name


<h2 style="color:#000066">'''''index'' setRadioMsg ''text'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Set radio message (0, 0, map radio) to given text. Use "NULL" to disable radio slot. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| index '''setRadioMsg''' text |= Syntax


'''index:''' [[Number]]
|p1= index: [[Number]] |= Parameter 1


'''text:''' [[String]]
|p2= text: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>1 setRadioMsg "Alpha Radio"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


Set radio message '''''(0, 0, map radio)''''' to given '''text'''.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Use '''"NULL"''' to disable radio slot.
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
Old Notes (temporary):


'''Example:'''
Available channels are 1-8 in OFP:CWC, and added 9 and 10 in OFP:R
 
[[Category:Scripting Commands|SETRADIOMSG]]
1 '''setRadioMsg''' "Alpha Radio"
[[Category:Scripting Commands OFP 1.96|SETRADIOMSG]]
 
[[Category:Scripting Commands OFP 1.46|SETRADIOMSG]]
 
[[Category:Scripting Commands ArmA|SETRADIOMSG]]
'''Comments:'''
 
Available channels are 1-8 in '''OFP:CWC''', and added 9 and 10 in '''OFP:R'''

Revision as of 00:27, 2 August 2006

Hover & click on the images for description

Description

Description:
Set radio message (0, 0, map radio) to given text. Use "NULL" to disable radio slot.
Groups:
Uncategorised

Syntax

Syntax:
index setRadioMsg text
Parameters:
index: Number
text: String
Return Value:
Nothing

Examples

Example 1:
1 setRadioMsg "Alpha Radio"

Additional Information

See also:
See also needed

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

Old Notes (temporary):

Available channels are 1-8 in OFP:CWC, and added 9 and 10 in OFP:R