WoW:API GetCurrentMapContinent

Revision as of 17:42, 20 November 2004 by WoWWiki>Meog
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetCurrentMapContinent -Documentation by Meog-

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

GetCurrentMapContinent();

Arguments
none

Returns
Number continent
continent
0, if showing the map with both continents
1, if showing Kalimdor or a zone map of Kalimdor
2, if showing the Eastern Kingdoms or a zone map of the Eastern Kingdoms

Example
local continent = GetCurrentMapContinent();

Result
2

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

Template:WoW API