View Single Post
09-14-16, 06:09 PM   #6
Oniya
A Wyrmkin Dreamwalker
Join Date: Feb 2015
Posts: 57
Originally Posted by elcius View Post
local f,x1,y1,x2,y2 = GetCurrentMapDungeonLevel();
local px,py = GetPlayerMapPosition("player");
local worldx, worldy = x1+(x2-x1)*px, y1+(y2-y1)*py;
For dalaran it seems to be return still slightly wrong coordinates, maybe be we need somehow use f variable (level) in calculation too? As Dalaran - level 3 ?


http://www.wowhead.com/zone=7502/dalaran

Dalaran info:

print(GetCurrentMapDungeonLevel())
print(GetNumDungeonMapLevels() )
print(GetMapInfo())
10, 4050.080078125, -1132.0799560547, 4873.330078125, -583.24401855469
4, 10, 11, 12
Dalaran70, 668, 778, false

Last edited by Oniya : 09-14-16 at 06:44 PM.
  Reply With Quote