showRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^\[]+)<\/code>" to "<sqf>$1</sqf>")
m (Some wiki formatting)
 
Line 40: Line 40:
}}
}}


<dl class="command_description">
{{Note
 
|user= GeneralCarver
<dt><dt>
|timestamp= 20090816210200
<dd class="notedate">Posted on 16 Aug, 2009</dd>
|text= The radio is now an item in {{arma2}}.
<dt class="note">[[User:Generalcarver|GeneralCarver]]</dt>
Class path is <sqf inline>"CfgWeapons" >> "ItemRadio"</sqf>.
<dd class="note">
The radio is now an item in {{arma2}}.
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:
<sqf>player removeWeapon "ItemRadio";</sqf>
<sqf>player removeWeapon "ItemRadio";</sqf>
</dd>
}}
 
</dl>

Latest revision as of 01:23, 18 February 2025

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