getMapVisible

From RPTools Wiki
Revision as of 11:26, 3 May 2016 by Jagged (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")]