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.