getMapVisible

From RPTools Wiki
Revision as of 18:39, 14 March 2023 by Taustin (talk | contribs)
Jump to navigation Jump to search

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(mapName)

Parameters

  • mapName - Optional. A string containing the name of the Map.

Examples

[r:getMapVisible()]
[r:getMapVisible("Grasslands")]