WoW:API GetCurrentMapZone

From AddOn Studio
Revision as of 17:49, 20 November 2004 by WoWWiki>Meog
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetCurrentMapZone -Documentation by Meog-

Returns the number of the zone the world map is currently showing

GetCurrentMapZone();

Arguments
none

Returns
Number zone
zone
0, if showing one of the continent overviews
positive number, if showing a zone map. The zones are numbered alphabetically from 1 for each continent.

Example
local zone = GetCurrentMapZone();

Result
10

Description
Returns the number of the zone the world map is currently showing

Template:WoW API