![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the name of the continent from the provided continent ID.
continent = GetContinentName(continentID)
Arguments
- continentID
- number - A continent's unique ID.
Returns
- continent
- string - The name of the continent.
Example
local continents = { GetMapContinents() }
for i=1,#continents / 2 do
print("#"..i.." "..GetContinentName(i))
end
Results
#1 Kalimdor #2 Eastern Kingdoms #3 Outland #4 Northrend #5 The Maelstrom #6 Pandaria #7 Draenor #8 Broken Isles #9 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.
