showRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}")
m (Text replacement - "<code>([^\[]+)<\/code>" to "<sqf>$1</sqf>")
 
(7 intermediate revisions by the same user not shown)
Line 35: Line 35:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[showRadio]] [[false]];</code>
|x1= <sqf>showRadio false;</sqf>


|seealso= [[shownRadio]], [[showCompass]], [[showGPS]], [[showWatch]], [[showPad]]
|seealso= [[shownRadio]] [[showCompass]] [[showGPS]] [[showWatch]] [[showPad]]
}}
}}


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