setMapName: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Conversion script moved page setMapName to SetMapName without leaving a redirect: Converting page title to first-letter uppercase)
(No difference)

Revision as of 22:30, 9 February 2023

setMapName() Function

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

Introduced in version 1.4.0.1
Changes the name of a specified map.

Usage

setMapName(oldMapName, newMapName)

Parameters

  • oldMapName - String specifying the current name of the map you wish to rename.
  • newMapName - A string containing the name to which you want it changed.

Examples

[r:setMapName("Grasslands","Map1")]