getMapName: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Added link to set/getMapDisplayName)
No edit summary
Line 16: Line 16:


|also=
|also=
{{func|setMapDisplayName}}, {{func|getMapDisplayName}}
{{func|setMapName}}, {{func|setMapDisplayName}}, {{func|getMapDisplayName}}
}}
}}


[[Category:Map Function]]
[[Category:Map Function]]

Revision as of 23:10, 2 October 2021

getMapName() Function

Introduced in version 1.10.0
Returns the GM name of a given map. If the specified map does not exist, an error is produced.

Usage

getMapName(mapDisplayName)

Parameters

  • mapDisplayName - A string containing the display name of the Map.

Examples

[r:getMapName("Grasslands")]

See Also