openMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(explanation)
(return)
Line 23: Line 23:
|p22= forced: [[Boolean]] - if [[true]] keeps map from closing when map is open. |=  
|p22= forced: [[Boolean]] - if [[true]] keeps map from closing when map is open. |=  


|r2= [[Boolean]] |=
|r2= [[Boolean]] - equivalent of [[visibleMap]]|=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 20:29, 2 June 2016

Hover & click on the images for description

Description

Description:
Shows in-game map. If forced, cannot be closed.
Groups:
Uncategorised

Syntax

Syntax:
openMap show
Parameters:
show: Boolean
Return Value:
Boolean

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:
forceMapvisibleMap

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

Bottom Section