setRadioMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 11: Line 10:


|gr2= Interaction |GROUP2=
|gr2= Interaction |GROUP2=
____________________________________________________________________________________________


| Sets radio trigger menu title text (0 -> 0 -> map radio). Use "NULL" to disable radio slot. Use "" to restore default title|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=
Line 34: Line 31:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>1 [[setRadioMsg]] "Click meeeeeeeeee"; //changes title of radio Alpha</code> |EXAMPLE1=
|x1= <code>1 [[setRadioMsg]] "Click meeeeeeeeee"; //changes title of radio Alpha</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[createTrigger]], [[setTriggerActivation]], [[setTriggerText]], [[showCommandingMenu]] |SEEALSO=
| [[createTrigger]], [[setTriggerActivation]], [[setTriggerText]], [[showCommandingMenu]] |SEEALSO=

Revision as of 03:44, 17 January 2021

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

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