openMap: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= |p22=" to "|PARAMETER21= |p22=") |
Lou Montana (talk | contribs) |
||
Line 5: | Line 5: | ||
|1.03|Game version= | |1.03|Game version= | ||
|eff= local|Multiplayer Effects= | |eff= local|Multiplayer Effects= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Opens or closes in-game map. <br><br> | | Opens or closes in-game map.<br><br> | ||
{{Warning | If <tt>forced</tt> param is set to [[true]], when map is opened it cannot be closed manually and the user can get stuck requiring the game restart. Make sure you provide scripted mechanics to resolve this, should you need to force the map.}} |DESCRIPTION= | {{Warning | If <tt>forced</tt> param is set to [[true]], when map is opened it cannot be closed manually and the user can get stuck requiring the game restart. Make sure you provide scripted mechanics to resolve this, should you need to force the map.}} |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[openMap]] show |SYNTAX= | ||
|p1= show: [[Boolean]] - if [[true]] opens map, if [[false]] closes map, provided it is not ''forced'' |PARAMETER1= | |p1= show: [[Boolean]] - if [[true]] opens map, if [[false]] closes map, provided it is not ''forced'' |PARAMETER1= | ||
| [[Boolean]] - equivalent of [[visibleMap]] |RETURNVALUE= | | [[Boolean]] - equivalent of [[visibleMap]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|s2= | |s2= [[openMap]] [show, forced] |SYNTAX2= | ||
|p21= show: [[Boolean]] - if [[true]] opens map, if [[false]] closes map, provided it is not ''forced''.|PARAMETER21= | |p21= show: [[Boolean]] - if [[true]] opens map, if [[false]] closes map, provided it is not ''forced''. |PARAMETER21= | ||
|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. |Parameter22= | ||
|r2= [[Boolean]] - equivalent of [[visibleMap]]|= | |r2= [[Boolean]] - equivalent of [[visibleMap]]|RETURNVALUE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[openMap]] [[true]];</code> |EXAMPLE1= | |x1= <code>[[openMap]] [[true]];</code> |EXAMPLE1= | ||
|x2= <code>[[openMap]] <nowiki>[</nowiki>[[true]], [[true]]];</code> |EXAMPLE2= | |x2= <code>[[openMap]] <nowiki>[</nowiki>[[true]], [[true]]];</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[forceMap]], [[forcedMap]], [[visibleMap]], [[showMap]], [[shownMap]] |SEEALSO= | ||
}} | }} | ||
Revision as of 12:59, 3 September 2019
Description
- Description:
- Opens or closes in-game map.
- Groups:
- Uncategorised
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
Additional Information
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