showRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "]]<dd class="note">" to "]]</dt> <dd class="note">")
m (Some wiki formatting)
Line 27: Line 27:


|descr= Shows or hides the radio on the map screen, if enabled for the mission and you possess the item. (default [[true]]).
|descr= Shows or hides the radio on the map screen, if enabled for the mission and you possess the item. (default [[true]]).
{{Feature|arma3|This command exists in Arma 3 but doesn't do much!}}
{{Feature|arma3|This command does nothing in {{arma3}}.}}


|s1= '''showRadio''' show
|s1= [[showRadio]] show


|p1= show: [[Boolean]]
|p1= show: [[Boolean]]


|r1= [[Nothing]]
|r1= [[Nothing]]
Line 37: Line 37:
|x1= <code>[[showRadio]] [[false]];</code>
|x1= <code>[[showRadio]] [[false]];</code>


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


Line 46: Line 46:
<dt class="note">[[User:Generalcarver|GeneralCarver]]</dt>
<dt class="note">[[User:Generalcarver|GeneralCarver]]</dt>
<dd class="note">
<dd class="note">
In Arma 2, the radio is now an item in Arma 2. Class path is CfgWeapons->ItemRadio. Use the command addWeapon and removeWeapon to remove it from a unit's inventory. (example: player removeweapon "ItemRadio")
The radio is now an item in {{arma2}}.
Class path is <tt>"CfgWeapons" >> "ItemRadio"</tt>.
Use the [[addWeapon]] and [[removeWeapon]] commands to add/remove it from a unit's inventory. e.g:
<code>[[player]] [[removeWeapon]] "ItemRadio";</code>
</dd>


</dl>
</dl>
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 16:25, 13 June 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";