Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetContinentName

Last wiki revision 2022-07-21

Returns the name of the continent from the provided continent ID. continent = GetContinentName(continentID)

  • continentID: - A continent's unique ID.
  • continent: - The name of the continent.

local continents = { GetMapContinents } for i=1,#continents / 2 do print("#"..i.." "..GetContinentName(i)) end

  • 1) 1 Kalimdor
  • 2) 2 Eastern Kingdoms
  • 3) 3 Outland
  • 4) 4 Northrend
  • 5) 5 The Maelstrom
  • 6) 6 Pandaria
  • 7) 7 Draenor
  • 8) 8 Broken Isles
  • 9) 9 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 return values.

Source

https://warcraft.wiki.gg/wiki/API_GetContinentName · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.