visibleMap: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
3.JgKp James (talk | contribs) No edit summary |
||
Line 34: | Line 34: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on 13 November 2017 | |||
<dt class="note>'''[[User:Jamesadamar|James]]''' | |||
<dd class="note"> | |||
[[visibleMap]] does not work in all cases where a map might be part of a dialog like in a uav terminal or in a artillery computer dialog. Some of these cases can be covered with a [[addMissionEventHandler]] of type "Map". Just use the two magic variables <code>mapIsOpened</code> and <code>mapIsForced</code> | |||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 16:14, 13 November 2017
Description
- Description:
- Return true if the main map is shown (active).
- Groups:
- Uncategorised
Syntax
- Syntax:
- visibleMap
- Return Value:
- Boolean
Examples
- Example 1:
if (visibleMap) then {hint "You're showing the map !"}
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
Notes
- Posted on 13 November 2017
- James
-
visibleMap does not work in all cases where a map might be part of a dialog like in a uav terminal or in a artillery computer dialog. Some of these cases can be covered with a addMissionEventHandler of type "Map". Just use the two magic variables
mapIsOpened
andmapIsForced