getAllMapDisplayNames: Difference between revisions
Jump to navigation
Jump to search
m (Conversion script moved page getAllMapDisplayNames to GetAllMapDisplayNames without leaving a redirect: Converting page title to first-letter uppercase) |
m (Conversion script moved page GetAllMapDisplayNames to getAllMapDisplayNames: Converting page titles to lowercase) |
(No difference)
|
Revision as of 23:42, 9 February 2023
getAllMapDisplayNames() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.9.0
Returns the display names of all of the maps as either a String List or JSON Array.
Usage
getAllMapDisplayNames()
getAllMapDisplayNames(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 display names of all of the maps in a String List.
[h: maps = getAllMapDisplayNames()]
To get the display names of all of the maps in a JSON Array
[h: maps = getAllMapDisplayNames("json")]