getMapVisible: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="mtmacro" line> | <syntaxhighlight lang="mtmacro" line> | ||
getMapVisible() | getMapVisible() | ||
getMapVisible( | getMapVisible(mapRef) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''Parameters''' | '''Parameters''' | ||
{{param| | {{param|mapRef|Optional. The Name or ID of the Map.}} | ||
|examples= | |examples= | ||
<syntaxhighlight lang="mtmacro" line> | <syntaxhighlight lang="mtmacro" line> |
Latest revision as of 23:59, 14 March 2023
getMapVisible() Function
• Introduced in version 1.4.0.1
Returns
true
(1
) or false
(0
) indicating whether the specified map is visible to players. If no map is specified the current map is selected.Usage
getMapVisible()
getMapVisible(mapRef)
Parameters
mapRef
- Optional. The Name or ID of the Map.
Examples
[r:getMapVisible()]
[r:getMapVisible("Grasslands")]