getVisibleMapDisplayNames: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name=getVisibleMapNames |version=1.9.0 |description= Returns the display names of all of the player visible maps as either a String List or JSON Array...") |
m (Conversion script moved page getVisibleMapDisplayNames to GetVisibleMapDisplayNames without leaving a redirect: Converting page title to first-letter uppercase) |
(No difference)
|
Revision as of 22:37, 9 February 2023
getVisibleMapNames() Function
• Introduced in version 1.9.0
Returns the display names of all of the player visible maps as either a String List or JSON Array.
Usage
getVisibleMapDisplayNames()
getVisibleMapDisplayNames(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 player visible maps in a String List.
[h: maps = getVisibleMapNames()]
To get the display names of all of the player visible maps in a JSON Array
[h: maps = getVisibleMapNames("json")]