WoW API: GetCurrentMapDungeonLevel

From AddOn Studio
Revision as of 14:53, 3 September 2009 by WoWWiki>Zaldinar (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'' …')
(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.