setMapVisible

From RPTools Wiki
Revision as of 11:28, 3 May 2016 by Jagged (talk | contribs) (Created page with "{{MacroFunction |name=setMapVisible |version=1.4.0.1 |description= Sets a maps visibility to players to {{true}} or {{false}}. If no map is specified the current map is select...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

setMapVisible() Function

Introduced in version 1.4.0.1
Sets a maps visibility to players to true(1) or false(0). If no map is specified the current map is selected. May only be used by a trusted macro.

Usage

setMapVisible(visible)
setMapVisible(visible, mapName)

Parameters

  • visible - Whether or not the map can be seen by players, true(1) or false(0).
  • mapName - A string containing the name of the Map.

Examples