getMapVisible

From RPTools Wiki
Revision as of 11:05, 3 May 2016 by Jagged (talk | contribs) (Created page with "{{MacroFunction |name=getMapVisible |version=1.4.0.1 |description= Returns {{true}} or {{false}} indicating whether the specified map is visible to players. If no map is speci...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

  • tableName - Optional. A string containing the name of the Table.

Examples

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