Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns a list of continent names and IDs.

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

Returns[]

id
Number - ?
name
String - The name of the continent.

Example[]

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

Result[]

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

Details[]

  • 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.
Advertisement