View Single Post
11/28/14, 04:25 PM   #1
mattmillus
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 13
Obtaining parent map name for zones

Hello,

Anyone know if there is a way to get the parent of a map when you are not in that zone? For example, given "Rawl'kha" I would like to get "Reaper's March" (but my character might be in say Elden Root).

I looked at the game's map code but my initial findings showed that the game's lua simply calls the base function MapZoomOut() (which internally seems to find the map parent, but only for your current map) and then just waits for it to fire an update event.

Anyone have any ideas on a workaround here? Or alternatively, does anyone know of a list/table that links maps to their parent map?

EDIT: A way to iterate all the child maps for a given map would likely be fine as well
  Reply With Quote