Thread Tools Display Modes
10/20/15, 04:07 AM   #1
Olivierko
AddOn Author - Click to view addons
Join Date: Dec 2014
Posts: 8
[outdated] Handle to target/source tag

Hey,

My contribution to the wishlist will be the desire of either a handle to target and source units or additional parameters which could help me achieve the same goal.

Problem:
Getting additional information from whom/what killed you/you've killed, specifically I will use this for PvP purposes where I'd like to know the alliance, alliance war rank and class of the target and source.

The only current way of resolving this information is through a "unitTag", which can only be obtained by actual targetting, which becomes a problem if you kill/die by the use of caltrops for instance without ever seeing your opponent.

Suggestion:
- Add unitTag to GetKillingAttackerInfo()
- Add unitTag(s) to the EVENT_COMBAT_EVENT callback

As I already stated, there's no current accurate way of resolving this information and I'd love to see it added.
 
10/20/15, 04:21 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,579
I am in a similar situation with some of my planned addon features. Because of that I made a little something that I will upload once Orsinium is here. It will allow you to ask for information about any player you have met in the past by character or display name.

Should a unitTag for combat events and killing attacker info be added, I will also integrate that to get more data.
 
10/20/15, 05:24 AM   #3
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by sirinsidiator View Post
Because of that I made a little something that I will upload once Orsinium is here. It will allow you to ask for information about any player you have met in the past by character or display name.
I've been saving class+alliance for everyone I target for counting forces. Should probably be pruning old data, e.g. people you haven't met for months, now that I looked at my saved vars, it contains 30k names after a year
 
10/20/15, 05:31 AM   #4
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,579
My version saves a bit more and I already have more than 5k entries after only a few weeks.
I plan to add some pruning algorithm later on, but for now it works pretty fine without it.
 
10/21/15, 07:00 AM   #5
Olivierko
AddOn Author - Click to view addons
Join Date: Dec 2014
Posts: 8
Originally Posted by sirinsidiator View Post
I am in a similar situation with some of my planned addon features. Because of that I made a little something that I will upload once Orsinium is here. It will allow you to ask for information about any player you have met in the past by character or display name.

Should a unitTag for combat events and killing attacker info be added, I will also integrate that to get more data.
Alright, that's neat, however as I mentioned in my post, even if you've been in combat with another player there's no guarantee that you've targeted him during that fight or in the past for that matter.

I can definitely see the value of such a utility, but I do believe that some events and functions need to provide the hooks for us to avoid any type of lookup.
 
10/21/15, 08:56 AM   #6
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,579
That's true and I agree that it would be nice to have a unitTag in those combat situations.

Just as a side note, my little utility is not limited to targets. It collects data from multiple sources in the background and offers access via one API. The chance that you get attacked by someone who is not registered by it becomes pretty small that way, especially after you play for a while.
 
10/22/15, 08:32 AM   #7
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
We can probably pile these values on top of the existing event fields. Unfortunately unitTags often won't exist for people attacking you if you aren't actively targeting them, so it would be empty most of the time. A general purpose API that can reference any unit in the area would be too broad.
 
10/22/15, 11:19 AM   #8
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,579
Creating units for the duration of the event is not an option? For example add a new tag prefix "source" and "target" that is available within the context of EVENT_COMBAT_EVENT.

While we are already going on about unitTags, is there an official list of all available tags including a description somewhere? I think we never got one, only what some addon developers found on their own.
 

ESOUI » Developer Discussions » Wish List » [outdated] Handle to target/source tag


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