getMapDisplayName

From RPTools Wiki
Revision as of 23:59, 14 March 2023 by Taustin (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

getMapDisplayName() Function

Introduced in version 1.9.0
Returns the display name of a given map. If no map is specified the current map is selected.

Usage

getMapDisplayName()
getMapDisplayName(mapRef)

Parameters

  • mapRef - Optional. The Name or ID of the Map.

Examples

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