Quote:
Originally Posted by Nivlix
Once they drop the x,y,z coords in to the live api you should be able to get an exact range. You will have to be good at math though which I am not. I cant for the life of me remember the equation for finding distance based on two points on a 3d plane. I will see if I can find it and work on something like this once they finally drop x,y,z. The last question is will this be a value thats available under target. There are several options in Inspect.Unit.Detail that are only available to ("player").
|
So after further research finding the distance, given that you can see the x,y,z coords of the target and yourself would be something like this
distance = squareroot of |ax-bx|squared + |ay-by|squared + |az-bz|squared