setRadioMsg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 28: Line 28:
}}
}}


==Editting==
==Create Radio==
<pre>
_trgobj2 = createTrigger ["EmptyDetector", position player ];
_trgobj2 setTriggerText "Support";
_trgobj2 setTriggerActivation ["Alpha", "PRESENT", true];
_trgobj2 setTriggerStatements ["this", "squad = [s] execVM ""Dialogs\Support.sqf""",""];
 
"Julet" ?  0-0-0
"Alpha"  -  0-0-1
"Bravo"  -  0-0-2
"Charlie"-  0-0-3
"Delta"  -  0-0-4
"Echo"  -  0-0-5
"Foxtrot"-  0-0-6
"Golf"  -  0-0-7
"Hotel"  -  0-0-8
"Kilo"  -  0-0-9
</pre>


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>

Revision as of 13:34, 13 October 2008

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

Create Radio

_trgobj2 = createTrigger ["EmptyDetector", position player ];
_trgobj2 setTriggerText "Support";
_trgobj2 setTriggerActivation ["Alpha", "PRESENT", true];
_trgobj2 setTriggerStatements ["this", "squad = [s] execVM ""Dialogs\Support.sqf""",""];

"Julet" ?   0-0-0
"Alpha"  -  0-0-1 
"Bravo"  -  0-0-2
"Charlie"-  0-0-3
"Delta"  -  0-0-4
"Echo"   -  0-0-5
"Foxtrot"-  0-0-6
"Golf"   -  0-0-7
"Hotel"  -  0-0-8
"Kilo"   -  0-0-9

Bottom Section