openMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(removed ancient inaccurate note, format)
(explanation)
Line 19: Line 19:
|s2= '''openMap''' [show, forced] |=  
|s2= '''openMap''' [show, forced] |=  


|p21= show: [[Boolean]] |=
|p21= show: [[Boolean]] - if [[true]] opens map, if [[false]] closes map, provided it is not ''forced''.|=


|p22= forced: [[Boolean]] |=  
|p22= forced: [[Boolean]] - if [[true]] keeps map from closing when map is open. |=  


|r2= [[Boolean]] |=
|r2= [[Boolean]] |=

Revision as of 21:27, 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

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