API:WorldMap AutoMove

Move to this position (Automove is only available in few maps)
WorldMap_AutoMove( this.mapID, this.mapX, this.mapY );
== Arguments ==
::this.mapID - Map ID
::this.mapX - X Number
::this.mapY - Y Number
== Tips ==
to get correct X and Y try macro
/run local x,y = GetPlayerWorldMapPos( GetCurrentWorldMapID() ) DEFAULT_CHAT_FRAME:AddMessage(x..", "..y)
it will print your current coords, use them in WorldMap_AutoMove() function
to cinvert coordinates like ingame use code
x = math.floor(string.format( "%.1f" , x * 100 ))
y = math.floor(string.format( "%.1f" , y * 100 ))
Category:Functions