openMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|Parameter[0-9]{1,}= * " to " ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 32: Line 32:
|x2= <code>[[openMap]] [<nowiki/>[[true]], [[true]]];</code>
|x2= <code>[[openMap]] [<nowiki/>[[true]], [[true]]];</code>


| [[forceMap]], [[forcedMap]], [[visibleMap]], [[showMap]], [[shownMap]]
|seealso= [[forceMap]], [[forcedMap]], [[visibleMap]], [[showMap]], [[shownMap]]
}}
}}



Revision as of 00:53, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
MapInteraction

Syntax

Syntax:
Syntax needed
Parameters:
show: Boolean - if true opens map, if false closes map, provided it is not forced
Return Value:
Return value needed

Alternative Syntax

Syntax:
openMap [show, forced]
Parameters:
show: Boolean - if true opens map, if false closes map, provided it is not forced.
forced: Boolean - if true keeps map from closing when map is open.
Return Value:
Boolean - equivalent of visibleMap

Examples

Example 1:
openMap true;
Example 2:
openMap [true, true];

Additional Information

See also:
forceMapforcedMapvisibleMapshowMapshownMap

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