EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > UI User Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 06-30-2011, 08:37 AM
lakoda lakoda is offline
A Young Mystail Rat
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 2
Default 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)
Reply With Quote
  #2  
Unread 06-30-2011, 08:48 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Neither of those.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #3  
Unread 06-30-2011, 08:51 AM
lakoda lakoda is offline
A Young Mystail Rat
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 2
Default

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.
Reply With Quote
  #4  
Unread 06-30-2011, 11:02 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #5  
Unread 06-30-2011, 11:44 AM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

Quote:
Originally Posted by gm9 View Post
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.
^That

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.
__________________
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:51 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI