setMapName

From RPTools Wiki
Revision as of 11:32, 3 May 2016 by Jagged (talk | contribs) (Created page with "{{MacroFunction |name=setMapName |version=1.4.0.1 |description= Changes the name of a specified map. May only be used by a trusted macro. |usage= <source lang="mtmacro" line>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

setMapName() Function

Introduced in version 1.4.0.1
Changes the name of a specified map. May only be used by a trusted macro.

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")]

See Also