openMap: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
| 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.}} |= | {{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 |= | | '''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= |
Revision as of 14:44, 7 April 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