New Dalaran GetWorldLocFromMapPos not working
Anyone know why that can be or how to fix it?
Lua Code:
returning: |
Don't use GetWorldLocFromMapPos, it doesn't work correctly, just calculate the world position manually:
Code:
local f,x1,y1,x2,y2 = GetCurrentMapDungeonLevel(); |
Quote:
If we in city or in Open world - what change for GetCurrentMapDungeonLevel()? - as it can return null value for x2,y2 |
GetCurrentMapZone()
|
Quote:
|
Quote:
http://www.wowhead.com/zone=7502/dalaran Dalaran info: Quote:
Quote:
|
woops,
Code:
local worldx, worldy = x2+(x1-x2)*px, y2+(y1-y2)*py; |
Quote:
|
All times are GMT -6. The time now is 06:41 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI