showRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^\[]+)<\/code>" to "<sqf>$1</sqf>")
 
Line 49: Line 49:
Class path is {{hl|"CfgWeapons" >> "ItemRadio"}}.
Class path is {{hl|"CfgWeapons" >> "ItemRadio"}}.
Use the [[addWeapon]] and [[removeWeapon]] commands to add/remove it from a unit's inventory. e.g:
Use the [[addWeapon]] and [[removeWeapon]] commands to add/remove it from a unit's inventory. e.g:
<code>player removeWeapon "ItemRadio";</code>
<sqf>player removeWeapon "ItemRadio";</sqf>
</dd>
</dd>


</dl>
</dl>

Latest revision as of 20:08, 13 May 2022

Hover & click on the images for description

Description

Description:
Shows or hides the radio on the map screen, if enabled for the mission and you possess the item. (default true).
Arma 3
This command does nothing in Arma 3.
Groups:
InteractionRadio and Chat

Syntax

Syntax:
showRadio show
Parameters:
show: Boolean
Return Value:
Nothing

Examples

Example 1:
showRadio false;

Additional Information

See also:
shownRadio showCompass showGPS showWatch showPad

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
Posted on 16 Aug, 2009
GeneralCarver
The radio is now an item in Arma 2. Class path is "CfgWeapons" >> "ItemRadio". Use the addWeapon and removeWeapon commands to add/remove it from a unit's inventory. e.g:
player removeWeapon "ItemRadio";