setMapVisible
setMapVisible() Function
Note: This function can only be used in a Trusted Macro
• 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.Usage
setMapVisible(visible)
setMapVisible(visible, mapRef)
Parameters
visible
- Whether or not the map can be seen by players,true
(1
) orfalse
(0
).mapRef
- The Name or ID of the map.
Examples
[r:setMapVisible(1)]
[r:setMapVisible(1, "Grasslands")]