openMap: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}") |
||
Line 19: | Line 19: | ||
|gr2= Interaction | |gr2= Interaction | ||
|descr= Opens or closes in-game map.{{Feature | Warning | If | |descr= Opens or closes in-game map.{{Feature | Warning | If {{hl|forced}} param is set to [[true]] and map is set to open, when the 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. Useful when you wish to keep user for example on respawn screen, where they could still interact with the map but cannot enter the game until the time is up | ||
<br> | <br> | ||
Since Arma 3 v2.06.147984 the alternative syntax has the following functionality: | Since Arma 3 v2.06.147984 the alternative syntax has the following functionality: |
Revision as of 23:45, 15 November 2021
Description
- Description:
- Opens or closes in-game map.
- 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. Arma 3 v2.06.147984, if false, forces map to stay closed if 'show' is false (see description)
- 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