API GetMapContinents

From Wowpedia
Jump to: navigation, search

Returns a list of continent names and IDs.

id1, name1, id2, name2, ... = GetMapContinents();


Number - ?
String - The name of the continent.


local continents = { GetMapContinents() }
for i=1, #continents, 2 do
 print(continents[i] .. ": " .. continents[i+1])


A list of the continent names is displayed in the default chat frame.

13: Kalimdor
14: Eastern Kingdoms
466: Outland
485: Northrend
751: The Maelstrom
862: Pandaria
962: Draenor
1007: Broken Isles
1184: Argus


  • Note that as more expansions are released, the output of this function will probably change. Also, the output differs based on the localization of the client.
  • The order continents are returned in corresponds to the GetCurrentMapContinent return values.

Patch changes

  • Battle for Azeroth Patch 8.0.1 (2018-07-17): Removed, as part of the map API overhaul.
  • Warlords of Draenor Patch 6.0.2 (2014-10-14): Added id returns, which are interspersed between name returns.