copyMap: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name=copyMap |version=1.4.0.1 |description= Function creates a copy of an specified map, with the new map name. Returns the name of the new map. May only be u...") |
No edit summary |
||
Line 16: | Line 16: | ||
[h:setMapVisible(1,"Tower")] | [h:setMapVisible(1,"Tower")] | ||
</source> | </source> | ||
}} | }} | ||
[[Category:Map Function]] |
Revision as of 11:40, 3 May 2016
copyMap() Function
• Introduced in version 1.4.0.1
Function creates a copy of an specified map, with the new map name. Returns the name of the new map. May only be used by a trusted macro.
Usage
copyMap(existingMapName, newMapName)
Parameters
existingMapName
- The name of the existing map you wish to copy.newMapName
- A string containing the name of the new copy.
Examples
[h:copyMap("BaseMap","Tower")]
[h:setMapVisible(1,"Tower")]