WoW:API GetCurrentMapContinent
Jump to navigation
Jump to search
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