showRadio: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| ofp
|game1= ofp


|1.00
|version1= 1.00


|gr1= Interaction
|gr1= Interaction
Line 9: Line 9:
|gr2= Radio and Chat
|gr2= Radio and Chat


| 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]]).
{{Informative | This command exists in Arma 3 but doesn't do much }}
{{Feature|arma3|This command exists in Arma 3 but doesn't do much!}}


| '''showRadio''' show
|s1= '''showRadio''' show


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


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


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


Line 34: Line 34:
</dl>
</dl>


[[Category:Scripting Commands|SHOWRADIO]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SHOWRADIO]]
[[Category:Scripting Commands OFP 1.96|SHOWRADIO]]

Revision as of 01:20, 5 February 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 exists in Arma 3 but doesn't do much!
Groups:
InteractionRadio and Chat

Syntax

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

Examples

Example 1:
showRadio false;

Additional Information

See also:
See also needed

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