getMapVisible

From RPTools Wiki
Revision as of 22:30, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page getMapVisible to GetMapVisible without leaving a redirect: Converting page title to first-letter uppercase)
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")]