WoW:API GetCurrentMapDungeonLevel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with ' {{wowapi}} __NOTOC__ level = GetCurrentMapDungeonLevel(); Return an index for the current world map sub map for instances or multi-map zones. ---- ;''Arguments'' :''none'' …')
 
m (Move page script moved page API GetCurrentMapDungeonLevel to API GetCurrentMapDungeonLevel without leaving a redirect)
 
(No difference)

Latest revision as of 04:45, 15 August 2023

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.