getMapDisplayName

From RPTools Wiki
Revision as of 08:33, 5 June 2021 by MichaelP (talk | contribs) (Created page with "{{MacroFunction |name=getMapDisplayName |version=1.9.0 |description= Returns the display name of a given map. If no map is specified the current map is selected. |usage= <sour...")
(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")]