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…") |
m (Move page script moved page API GetCurrentMapAreaID to API GetCurrentMapAreaID without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
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]] | |||
Latest revision as of 04:45, 15 August 2023
← WoW API < GetCurrentMapAreaID
Returns the area MapID of the current world map.
mapID, isContenent = GetCurrentMapAreaID()
Returns[edit]
- mapID (number) - map ID of the current map
- isContenent (boolean) - if is a top most map area that itself does not have POI
Details[edit]
Return value can be used with SetMapByID(id).