setRadioMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


| ofp |Game name=
|game1= ofp
|version1= 1.00


|1.00|Game version=
|game2= ofpe
|version2= 1.00


|eff= local |Multiplayer Effects=
|game3= arma1
|version3= 1.00


|gr1= Triggers |GROUP1=
|game4= arma2
|version4= 1.00


|gr2= Interaction |GROUP2=
|game5= arma2oa
|version5= 1.50


| Sets radio trigger menu title text (0 -> 0 -> map radio). Use "NULL" to disable radio slot. Use "" to restore default title|DESCRIPTION=
|game6= tkoh
|version6= 1.00


| index '''setRadioMsg''' text |SYNTAX=
|game7= arma3
|version7= 0.50
 
|eff= local
 
|gr1= Triggers
 
|gr2= Interaction
 
|descr= Sets radio trigger menu title text (0 -> 0 -> map radio). Use "NULL" to disable radio slot. Use "" to restore default title
 
|s1= index [[setRadioMsg]] text


|p1= index: [[Number]] - from 1 to 10
|p1= index: [[Number]] - from 1 to 10
Line 26: Line 43:
* 8 - Hotel (key 8)
* 8 - Hotel (key 8)
* 9 - India (key 9)
* 9 - India (key 9)
* 10 - Juliet (key 0) |PARAMETER1=
* 10 - Juliet (key 0)


|p2= text: [[String]] |PARAMETER2=
|p2= text: [[String]]


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


| [[createTrigger]], [[setTriggerActivation]], [[setTriggerText]], [[showCommandingMenu]] |SEEALSO=
|x1= <sqf>1 setRadioMsg "Click meeeeeeeeee"; //changes title of radio Alpha</sqf>


|seealso= [[createTrigger]] [[setTriggerActivation]] [[setTriggerText]] [[showCommandingMenu]]
}}
}}
[[Category:Scripting Commands|SETRADIOMSG]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SETRADIOMSG]]
[[Category:Scripting Commands OFP 1.46|SETRADIOMSG]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 10:24, 13 May 2022

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:
createTrigger setTriggerActivation setTriggerText showCommandingMenu

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