setCurrentMap: Difference between revisions
Jump to navigation
Jump to search
(New Function) |
m (missed a bracket) |
||
Line 13: | Line 13: | ||
[h: status = input("NewMap|" + getAllMapNames() + "|Map to switch to|LIST|VALUE=STRING")] | [h: status = input("NewMap|" + getAllMapNames() + "|Map to switch to|LIST|VALUE=STRING")] | ||
[h:abort(status)] | [h:abort(status)] | ||
[h:setCurrentMap(NewMap) | [h:setCurrentMap(NewMap)] | ||
</source> | </source> | ||
|also= | |also= |
Revision as of 16:11, 24 October 2009
setCurrentMap() Function
• Introduced in version 1.3b60
Designates the given map as the current one, allowing initiative to be moved from map to map.
Usage
setCurrentMap(mapName)
Examples
[h: status = input("NewMap|" + getAllMapNames() + "|Map to switch to|LIST|VALUE=STRING")]
[h:abort(status)]
[h:setCurrentMap(NewMap)]