showMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| ofp |Game name=
|game1= ofp
|version1= 1.00


|1.00|Game version=
|game2= ofpe
____________________________________________________________________________________________
|version2= 1.00


| Enable Map (default [[true]]) |DESCRIPTION=
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| '''showMap''' show |SYNTAX=
|game4= arma2
|version4= 1.00


|p1= show: [[Boolean]] |PARAMETER1=
|game5= arma2oa
|version5= 1.50


| [[Nothing]] |RETURNVALUE=
|game6= tkoh
____________________________________________________________________________________________
|version6= 1.00
 
|x1= <code>showMap [[false]]</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[showCompass]], [[showGPS]], [[showRadio]], [[showWatch]], [[showPad]], [[shownMap]]  |SEEALSO=
|game7= arma3
|version7= 0.50


|gr1= Map
|descr= Enable Map (default [[true]])
|s1= [[showMap]] show
|p1= show: [[Boolean]]
|r1= [[Nothing]]
|x1= <sqf>showMap false;</sqf>
|seealso= [[showCompass]] [[showGPS]] [[showRadio]] [[showWatch]] [[showPad]] [[shownMap]]
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->


<dt class="note">Unknown
<dt class="note">Unknown</dt>
<dd class="note">In ArmA 2 - This command no longer works. The map is now an inventory item. It is kept under the weapon class name "itemmap".<br>
<dd class="note">In Arma 2 - This command no longer works. The map is now an inventory item. It is kept under the weapon class name "itemmap".<br>
Example: <code>unitname removeweapon "itemmap"</code> To add again use <code>unitname addweapon "itemmap"</code>.
Example:
<sqf>unitname removeweapon "itemmap"</sqf> To add again use <sqf>unitname addweapon "itemmap"</sqf>.


<!-- Note Section END -->
</dl>
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SHOWMAP]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SHOWMAP]]
[[Category:Scripting Commands OFP 1.46|SHOWMAP]]
[[Category:Scripting Commands ArmA|SHOWMAP]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 22:42, 28 June 2022

Hover & click on the images for description

Description

Description:
Enable Map (default true)
Groups:
Map

Syntax

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

Examples

Example 1:
showMap false;

Additional Information

See also:
showCompass showGPS showRadio showWatch showPad shownMap

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
Unknown
In Arma 2 - This command no longer works. The map is now an inventory item. It is kept under the weapon class name "itemmap".
Example:
unitname removeweapon "itemmap"
To add again use
unitname addweapon "itemmap"
.