WoW:API GetCurrentMapZone: Difference between revisions

m
no edit summary
(localization detail + reformat)
mNo edit summary
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}
Returns the index of the zone the world map is currently showing
Returns the index of the zone the world map is currently showing


  zoneIndex = GetCurrentMapZone();
  zoneIndex = GetCurrentMapZone();


==Returns==
== Returns ==
:zoneIndex
:zoneIndex
:;zoneIndex : Number - The index of the currently displayed zone within the continent (obtained via [[API GetMapZones|GetMapZones(continentIndex)]]), or 0 if showing the entire continent.
:;zoneIndex : Number - The index of the currently displayed zone within the continent (obtained via [[API GetMapZones|GetMapZones(continentIndex)]]), or 0 if showing the entire continent.