getMapDisplayName

From RPTools Wiki
Revision as of 19:05, 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(mapName)

Parameters

  • mapName - Optional. A string containing the name of the Map.

Examples

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