setRadioMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(see also, description, format)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set radio message (0, 0, map radio) to given text. Use "NULL" to disable radio slot. |= Description
| Sets radio trigger menu title text (0 -> 0 -> map radio). Use "NULL" to disable radio slot. Use "" to restore default title|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| index '''setRadioMsg''' text |= Syntax
| index '''setRadioMsg''' text |= Syntax


|p1= index: [[Number]] |= Parameter 1
|p1= index: [[Number]] - from 1 to 10
 
* 1 - Alpha (key 1)
* 2 - Bravo (key 2)
* 3 - Charlie (key 3)
* 4 - Delta (key 4)
* 5 - Echo (key 5)
* 6 - Foxtrot (key 6)
* 7 - Golf (key 7)
* 8 - Hotel (key 8)
* 9 - India (key 9)
* 10 - Juliet (key 0) |= Parameter 1


|p2= text: [[String]] |= Parameter 2
|p2= text: [[String]] |= Parameter 2
Line 21: Line 32:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>1 setRadioMsg "Alpha Radio"</pre> |= Example 1
|x1= <code>1 [[setRadioMsg]] "Click meeeeeeeeee"; //changes title of radio Alpha</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[createTrigger]], [[setTriggerText]] |= See also
| [[createTrigger]], [[setTriggerActivation]], [[setTriggerText]], [[showCommandingMenu]] |= See also


}}
}}

Revision as of 17:24, 18 February 2015

Hover & click on the images for description

Description

Description:
Sets radio trigger menu title text (0 -> 0 -> map radio). Use "NULL" to disable radio slot. Use "" to restore default title
Groups:
Uncategorised

Syntax

Syntax:
index setRadioMsg text
Parameters:
index: Number - from 1 to 10
  • 1 - Alpha (key 1)
  • 2 - Bravo (key 2)
  • 3 - Charlie (key 3)
  • 4 - Delta (key 4)
  • 5 - Echo (key 5)
  • 6 - Foxtrot (key 6)
  • 7 - Golf (key 7)
  • 8 - Hotel (key 8)
  • 9 - India (key 9)
  • 10 - Juliet (key 0)
text: String
Return Value:
Nothing

Examples

Example 1:
1 setRadioMsg "Click meeeeeeeeee"; //changes title of radio Alpha

Additional Information

See also:
createTriggersetTriggerActivationsetTriggerTextshowCommandingMenu

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

Bottom Section