Astrolabe/API TranslateWorldMapPosition
From Esamynn's Wiki
Astrolabe ยป Astrolabe/API TranslateWorldMapPosition
Calculates world map coordinates from one zone into another.
xPos, yPos = Astrolabe:TranslateWorldMapPosition( C, Z, xPos, yPos, nC, nZ )
[edit]
Arguments
- C, Z, xPos, yPos
- World Map Point - point to be translated
- nC, nZ
- Zone Index - zone whose coordinate system the provided point will be translated into
[edit]
Returns
- xPos
- Number - the x coordinate in the new zone's coordinate system
- yPos
- Number - the y coordinate in the new zone's coordinate system
[edit]
Details
This function returns nil for all arguments if trying to a point from one zone to a second zone is meaningless. (IE. the point is on Azeroth and the other zone is in Outland)

