Wikia

WoWWiki

API GetMapNameByID

Talk0
101,545pages on
this wiki
WoW API < GetMapNameByID
mapname = GetMapNameByID(mapID)

Returns the localized name for a mapID.

ParametersEdit

ArgumentsEdit

mapID 
Number - The mapID of the map to retrieve the name for

ReturnsEdit

mapname 
String - The real name of an instance or zone map

ExampleEdit

 mapID = GetCurrentMapAreaID()
 mapname = GetMapNameByID(mapID);
 print("Map:"..mapname );
An message appears in the chat window showing the following text: "Map: The Stockade"

See AlsoEdit

Around Wikia's network

Random Wiki