showMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
(17 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.97]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46]]
[[Category:Scripting Commands ArmA]]


back to [[Scripting_Reference#S|COMREF]]
| ofp |= Game name


<h2 style="color:#000066">'''showMap ''show'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Enable Map (default [[true]]) |DESCRIPTION=
____________________________________________________________________________________________


'''Operand types:'''
| '''showMap''' show |SYNTAX=


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


'''Type of returned value:'''
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>showMap [[false]]</code> |EXAMPLE1=
____________________________________________________________________________________________


[[Nothing]]
| [[showCompass]], [[showGPS]], [[showRadio]], [[showWatch]], [[showPad]], [[shownMap]]  |SEEALSO=


'''Description:'''
}}


Enable Map (default [[true]])
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<dt class="note">Unknown
<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:'''
<!-- Note Section END -->
</dl>


'''showMap''' [[false]]
<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 ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:49, 7 April 2019

Hover & click on the images for description

Description

Description:
Enable Map (default true)
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
showMap false

Additional Information

See also:
showCompassshowGPSshowRadioshowWatchshowPadshownMap

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

Notes

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

Bottom Section