getVisibleMapNames: Difference between revisions
Jump to navigation
Jump to search
(New page: {{MacroFunction |name=getVisibleMapNames |version=1.3b55 |description= Returns the names of all of the player visible maps as either a String List or JSON Array. |usage= <source ...) |
No edit summary |
||
Line 29: | Line 29: | ||
}} | }} | ||
[[Category: | [[Category:Map Function]] |
Revision as of 11:45, 3 May 2016
getVisibleMapNames() Function
• Introduced in version 1.3b55
Returns the names of all of the player visible maps as either a String List or JSON Array.
Usage
getVisibleMapNames()
getVisibleMapNames(delim)
Parameters
delim
- The delimiter to use for the String List. If the value isjson
then a JSON Array is returned.
Examples
To get the names of all of the player visible maps in a String List.
[h: maps = getVisibleMapNames()]
To get the names of all of the player visible maps in a JSON Array
[h: maps = getVisibleMapNames("json")]