Lore archive · Warcraft Wiki, 2023 dump
API GetNumDungeonMapLevels
Last wiki revision 2020-04-04
This is somewhat of a misnomer as it does not directly return the number of levels on the map. Rather, it returns an array containing the sub map numbers (levels) available on the current world map. The array will have one entry for each level on the current map, with each value indicating an "area" or "submap" number. To get the count of levels/submaps, examine the size of the returned array (#levels)
levels = GetNumDungeonMapLevels;
- none
- levels : array of Integers - Array containing each sub map number
Return value is an array where each entry represents the number of an option in the drop down for 'areas' or 'submaps' within a given zone. The total number of levels/areas/submaps is represented by the number of entries in the array. Current selected option is available through GetCurrentMapDungeonLevel.
Source
https://warcraft.wiki.gg/wiki/API_GetNumDungeonMapLevels · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.