showRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}")
Line 47: Line 47:
<dd class="note">
<dd class="note">
The radio is now an item in {{arma2}}.
The radio is now an item in {{arma2}}.
Class path is <tt>"CfgWeapons" >> "ItemRadio"</tt>.
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>
<code>[[player]] [[removeWeapon]] "ItemRadio";</code>

Revision as of 01:17, 16 November 2021

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

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";