showRadio: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 35: | Line 35: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>showRadio false;</sqf> | ||
|seealso= [[shownRadio]] | |seealso= [[shownRadio]] [[showCompass]] [[showGPS]] [[showWatch]] [[showPad]] | ||
}} | }} | ||
{{Note | |||
|user= GeneralCarver | |||
|timestamp= 20090816210200 | |||
|text= The radio is now an item in {{arma2}}. | |||
Class path is <sqf inline>"CfgWeapons" >> "ItemRadio"</sqf>. | |||
The radio is now an item in {{arma2}}. | |||
Class path is | |||
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> | ||
}} | |||
Latest revision as of 02:23, 18 February 2025
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 Aug 16, 2009 - 21:02 (UTC)
-
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