Arguss 0 Posted December 4, 2016 Share Posted December 4, 2016 Hey. Please tell me how to convert coordinates WOW client (x, y = GetPlayerMapPosition ( "player")) in the coordinates of bot Link to comment https://wrobot.eu/forums/topic/4569-convert-coordinates/ Share on other sites More sharing options...
Droidz 2738 Posted December 5, 2016 Share Posted December 5, 2016 Hello, use this lua code: SetMapToCurrentZone(); continent = GetCurrentMapContinent(); SetMapZoom(continent); local x, y = GetPlayerMapPosition('player'); local _, worldX, worldY = GetWorldLocFromMapPos(x, y); To get z position, use wrobot function "float wManager.Wow.Helpers.PathFinder.GetZPosition(Vector3 point, bool strict = false)" Arguss 1 Link to comment https://wrobot.eu/forums/topic/4569-convert-coordinates/#findComment-21281 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now