showRadio: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^\[]+)<\/code>" to "<sqf>$1</sqf>") |
||
(6 intermediate revisions by the same user not shown) | |||
Line 35: | Line 35: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>showRadio false;</sqf> | ||
|seealso= [[shownRadio]] [[showCompass]] | |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: | ||
< | <sqf>player removeWeapon "ItemRadio";</sqf> | ||
</dd> | </dd> | ||
</dl> | </dl> |
Latest revision as of 20:08, 13 May 2022
Description
- Description:
- Shows or hides the radio on the map screen, if enabled for the mission and you possess the item. (default true).
- Groups:
- InteractionRadio and Chat
Syntax
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:
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Interaction
- Command Group: Radio and Chat