setMapDisplayName

From RPTools Wiki
Revision as of 22:37, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page setMapDisplayName to SetMapDisplayName without leaving a redirect: Converting page title to first-letter uppercase)
Jump to navigation Jump to search

setMapDisplayName() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.9.0
Changes the display name of a specified map.

Usage

setMapDisplayName(mapName, newMapDisplayName)

Parameters

  • mapName - String specifying the name of the map you wish to give a new display name.
  • newMapDisplayName - A string containing the name to which the display name should be set.

Examples

[r:setMapDisplayName("Swamp Temple of the Lizardfolk","Swampy Marsh")]

See Also