Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetMapNameByID

Last wiki revision 2020-07-18

Returns the full localized name of the zone specified by the mapID mapName = GetMapNameByID(mapID)

  • mapID : Number - The WorldMapAreaID whose localized name is required

local mapName = GetMapNameByID(808) DEFAULT_CHAT_FRAME:AddMessage(mapName) Shows the text The Wandering Isle localized to the current country

  • GetCurrentMapAreaID to get the current map
  • GetQuestWorldMapAreaID to get the map for the zone associated with a specific quest
  • SetMapByID to set the current world map by area id

Source

https://warcraft.wiki.gg/wiki/API_GetMapNameByID · 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.