getMapIDs: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name=getMapIDs |version=1.14.0 |description= Returns the unique IDs of all maps. |usage= <syntaxhighlight lang="mtmacro" line> getAllMapIDs() getAllMapIDs(delim)</syntaxhighlight> '''Parameters''' {{param|delim|The delimiter to use for a String List. If the value is json, then a JSON Array is returned.}} |examples= <syntaxhighlight lang="mtmacro" line> [r:getAllMapIDs()] </syntaxhighlight> returns: <syntaxhighlight lang="mtmacro" line> 399418EA6B644119A...") |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|version=1.14.0 | |version=1.14.0 | ||
|description= | |description= | ||
Returns the unique | Returns the unique ID of a map. | ||
|usage= | |usage= | ||
<syntaxhighlight lang="mtmacro" line> | <syntaxhighlight lang="mtmacro" line> | ||
getMapIDs(existingMapDisplayName) | |||
</syntaxhighlight> | |||
'''Parameters''' | '''Parameters''' | ||
{{param| | {{param|existingMapDisplayName|An existing map display name. }} | ||
|examples= | |examples= | ||
<syntaxhighlight lang="mtmacro" line> | <syntaxhighlight lang="mtmacro" line> | ||
[r: | [r:getMapIDs("Grasslands")] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
returns: | returns: | ||
<syntaxhighlight lang="mtmacro" line> | <syntaxhighlight lang="mtmacro" line> | ||
399418EA6B644119AD1A2FBA879BD59C | 399418EA6B644119AD1A2FBA879BD59C | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 23:59, 16 February 2024
getMapIDs() Function
• Introduced in version 1.14.0
Returns the unique ID of a map.
Usage
getMapIDs(existingMapDisplayName)
Parameters
existingMapDisplayName
- An existing map display name.
Examples
[r:getMapIDs("Grasslands")]
returns:
399418EA6B644119AD1A2FBA879BD59C