getMapIDs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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> | ||
Revision as of 19:35, 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