Thread Tools Display Modes
05/03/15, 05:39 PM   #1
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
Distance to the target in focus

is it smthing doable?

right now i test it by set waypoint on the place where target is, and use WaypointIt addon

but what about dynamic targets?

first of all i need to test Long Shots passive, i know you dont need maximum range to deal 12% dmg but like 20 meters only
thats why i need it, and ye will be very usefull for some builds to keep distance


this screen with WaypointIt addon



P.S. or mby some addons already did this?
  Reply With Quote
05/03/15, 05:47 PM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
I think no, GetMapPlayerPosition() only accept "player" in parameter. not reticleover.
  Reply With Quote
05/03/15, 10:03 PM   #3
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Like Ayantir said, I don't think it is possible.
  Reply With Quote
05/04/15, 12:48 AM   #4
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
The API does not offer a direct way anymore. If you only need to know if it is inside 20m, you could slot a skill that targets a single enemy and has such a range.
  Reply With Quote
05/05/15, 03:33 AM   #5
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
The only UI element which provides distance is a compass. If you have target displayed on the compass (enemy target, red dot), it is possible to tell distance between you and your target. Long time ago I have created addon which shows distance to the center overed pin - CompassDistance-0.4.zip. Maybe someone can enhance it to show distance between you and the target?

Last edited by Garkin : 05/05/15 at 03:37 AM.
  Reply With Quote
05/05/15, 07:08 AM   #6
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
nice addon, thanks Garkin, but it will be the same as WaypointIt
distance to the alive moving target unreachable, unfortunative
  Reply With Quote
05/05/15, 09:07 AM   #7
Fyrakin
 
Fyrakin's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 129
Just a tiny note about the distance in this add-on - it's not the skill distance (the one that is used for skill use) and it will show very different results in sub-maps and caves.

Last edited by Fyrakin : 05/05/15 at 11:00 AM.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Distance to the target in focus


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