getMapName: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(#2775)
 
(Added link to set/getMapDisplayName)
Line 14: Line 14:
[r:getMapName("Grasslands")]
[r:getMapName("Grasslands")]
</source>
</source>
|also=
{{func|setMapDisplayName}}, {{func|getMapDisplayName}}
}}
}}
[[Category:Map Function]]
[[Category:Map Function]]

Revision as of 23:01, 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