![]() |
target distance or loc
Is there a way to get your distance to your target? Or, if the game doesn't support getting us that information, what about a target's location? (apply a little trig and you have distance)
Thanks! Lakoda (guk) |
Neither of those.
|
Bummer, I was hoping there was a way to get the loc via the track/waypoint mechanism. Oh well, too bad.
Thanks a bunch, though. |
You can get the loc (pixel location on the map window), it's more an issue of not being able to do the math to get a (relative) distance from that.
|
Quote:
To my knowledge the math you need to actually figure out a distance using two locs (simple trig, aka Pythagorean theorem) is beyond the math capabilities in EQ2's current UI scripting, unfortunately. IIRC you can split the loc in to its three parts in a roundabout way, but you'd also have to implement a roundabout way of approximating it. You could probably implement Newton's method and it would be reasonably accurate depending on your starting "guess" and how many iterations of it you did. |
| All times are GMT -5. The time now is 07:12 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI