Bugfix
It is possible and acceptable to move players to a hidden map through the use of script functions. However when you do so, the players see the message "Map not visible to players". This message will now only display to the GM.
Bugfix
When you edit the current map and change the map name or use the rename ui to change the map name, the change does not get updated on the Maptool window frame unless you change maps. This will now update immediately the name is changed.
getMapVisible() function
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:
Code: Select all
getMapVisible()
getMapVisible(mapName)
Code: Select all
[r:getMapVisible()]
[r:getMapVisible("Grasslands")]
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:
Code: Select all
setMapVisible(visible)
setMapVisible(mapName)
Code: Select all
[r:setMapVisible(1)]
[r:setMapVisible(1, "Grasslands")]
Changes the name of a specified map. May only be used by a trusted macro.
Usage:
Code: Select all
setMapName(oldMapName, newMapName)
newMapName is the name to which you want it changed.
Examples:
Code: Select all
[r:setMapName("Grasslands","Map1")]