View Single Post
07-05-12, 10:30 AM   #5
Voyager
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 22
Originally Posted by SinusPi View Post
Here you can see a whole slew of formerly confusing caves, now nicely mapped mini-zones. With no MapID of their own.

However, I see that GetCurrentMapDungeonLevel() returns (hopefully) properly translated coordinates, even though the main map has no GetNumDungeonMapLevels() to speak of. So maybe there's salvation...
That's quite alot of them! O_O
I did a quick check on the Venture Co Mine in Mulgore and found some odd results.
GetNumDungeonMapLevels() returns 1, 7
GetCurrentMapDungeonLevel() returns 7, -1559, -1930, -818, -1436
I'm confused why it's considered level 7 when there's only 1 floor in it.

Anyway, your position is still visible on the Mulgore map even while inside the dungeon, so it should be possible to just ignore the microdungeon coordinates and zoom out to the parent zone with SetMapByID(GetCurrentMapAreaID()) and get the coordinates from there, no translation needed that way.