openMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
m (Text replacement - " \| *([^= ]+) * +\|s2=" to " |r1=$1 |s2=")
Line 25: Line 25:
|p1= show: [[Boolean]] - if [[true]] opens map, if [[false]] closes map, provided it is not ''forced''
|p1= show: [[Boolean]] - if [[true]] opens map, if [[false]] closes map, provided it is not ''forced''


| [[Boolean]] - equivalent of [[visibleMap]]
|r1= [[Boolean]] - equivalent of [[visibleMap]]


|s2= [[openMap]] [show, forced]
|s2= [[openMap]] [show, forced]

Revision as of 00:19, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
MapInteraction

Syntax

Syntax:
openMap show
Parameters:
show: Boolean - if true opens map, if false closes map, provided it is not forced
Return Value:
Boolean - equivalent of visibleMap

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