wowpedia
Main Menu


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

Patch changes