showMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *ofp * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= ofp |version1= $1 |game2")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(14 intermediate revisions by the same user not shown)
Line 26: Line 26:
|descr= Enable Map (default [[true]])
|descr= Enable Map (default [[true]])


|s1= '''showMap''' show
|s1= [[showMap]] show


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


|r1=[[Nothing]]
|r1= [[Nothing]]


|x1= <code>showMap [[false]]</code>
|x1= <sqf>showMap false;</sqf>


|seealso= [[showCompass]], [[showGPS]], [[showRadio]], [[showWatch]], [[showPad]], [[shownMap]]
|seealso= [[showCompass]] [[showGPS]] [[showRadio]] [[showWatch]] [[showPad]] [[shownMap]]
}}
}}


Line 41: Line 41:
<dt class="note">Unknown</dt>
<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>.


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

Latest revision as of 23: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"
.