getMapVisible: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(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...")
 
No edit summary
Line 17: Line 17:
</source>
</source>
}}
}}
[[Category:Map Function]]

Revision as of 11:22, 3 May 2016

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")]