getMapDisplayName

From RPTools Wiki
Revision as of 18:26, 14 March 2023 by Taustin (talk | contribs) (Text replacement - "source>" to "syntaxhighlight>")
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

<source lang="mtmacro" line> getMapDisplayName() getMapDisplayName(mapName) </syntaxhighlight> Parameters

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

Examples

<source lang="mtmacro" line>

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

</syntaxhighlight>