WoW API: GetCurrentMapDungeonLevel

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetCurrentMapDungeonLevel to API GetCurrentMapDungeonLevel without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetCurrentMapDungeonLevel

level = GetCurrentMapDungeonLevel();

Return an index for the current world map sub map for instances or multi-map zones.


Arguments
none

Returns
level
level
Integer - The index for the sub map in the zone.

Details

In zones that contain multiple maps, for example Dalaran, Dalaran street level returns '1', the Underbelly returns '2'. In zones that do not contain multiple maps, for example Crystalsong Forrest, it returns '0'. Total number of available sub maps is available through GetNumDungeonMapLevels.