WoW:API GetCurrentMapAreaID: Difference between revisions
Jump to navigation
Jump to search
(Created page with " {{wowapi}} __NOTOC__ areaid = GetCurrentMapAreaID(); Returns the area ID of the current world map. ---- ;''Arguments'' :''none'' ---- ;''Returns'' :areaid :;areaid : I…") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}}__NOTOC__ | |||
Returns the area MapID of the current world map. | |||
mapID, isContenent = GetCurrentMapAreaID() | |||
Returns | == Returns == | ||
* mapID (number) - map ID of the current map | |||
* isContenent (boolean) - if is a top most map area that itself does not have POI | |||
== Details == | |||
Return value can be used with [[API SetMapByID|SetMapByID(id)]]. | |||
== See also == | |||
*[[API_GetQuestWorldMapAreaID|GetQuestWorldMapAreaID]] | |||
*[[API_GetMapNameByID|GetMapNameByID]] | |||
Revision as of 20:50, 15 August 2017
← WoW API < GetCurrentMapAreaID
Returns the area MapID of the current world map.
mapID, isContenent = GetCurrentMapAreaID()
Returns
- mapID (number) - map ID of the current map
- isContenent (boolean) - if is a top most map area that itself does not have POI
Details
Return value can be used with SetMapByID(id).