View Single Post
01-04-21, 05:55 AM   #4
mazer665
A Defias Bandit
Join Date: Jan 2021
Posts: 3
thanks for the info so far!
sorry, that i forgot to mention that this belongs to the classic version...

as of what i am planning:
a webbased world map with the possibility to draw POIs or pathes etc (also import of those)
but also with the possibility to "record" this points in game as well

so i need a form of conversion

for example i want to place a POI on the website, i get the "real" server coordinates,
if i want to translate them to ingame coordinates i can use the WorldMapArea DBC to get them

basically i want to translate an external vector to the ingame position

EDIT: or as a another example, calculate the position of an NPC to be displayed on the website with only areaID and ingame coordinates as input

i am aware of these functions that might provide some help doing this:
C_Map.GetWorldPosFromMapPos
C_Map.GetMapPosFromWorldPos

Last edited by mazer665 : 01-04-21 at 06:02 AM.
  Reply With Quote