Fandom

WoWWiki

API GetMapContinents

104,993pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetMapContinents

Returns a list of continent names.

continent_1, continent_2, ..., continent_N = GetMapContinents();

ParametersEdit

ReturnsEdit

continent_1, continent_2, ..., continent_N
continent_i 
String - The name of the i'th continent, (i corresponds to the value GetCurrentMapContinent() returns)

ExampleEdit

local continentNames, key, val = { GetMapContinents() } ;
for key, val in pairs(continentNames) do
 DEFAULT_CHAT_FRAME:AddMessage("#" .. key .. ": " .. val);
end

ResultEdit

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

#1: Kalimdor
#2: Eastern Kingdoms
#3: Outland
 #4: Northrend
 #5: The Maelstrom
#6: Pandaria
 #7: Draenor

DetailsEdit

Note that as more expansions are releases, the output of this function may change.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.