[outdated] targetDisplayName/sourceDisplayname in EVENT_COMBAT_EVENT
i wish there is a possibility to track the display name of people. the reason why is simple:
if `ZO_ShouldPreferUserId()` is active, there is no possibility to track the name (displayName) of an enemy via this event. i guess it's not possible to get displayname by source/target-UnityId from this event? |
I can almost see Chip's/Zenimax's *rolleyes* :)
|
Doesn't GetUnitDisplayName('reticleover') work?
Oh sorry, you want to have the data from the event :-) |
right :-) i want to display account names / display names if UserId prefered (from eso settings). for death state it works fine, because you are able to track both and in battleground kills it works fine too
|
any chance to see this in a future update? ^^ <3
|
Quote:
COMBAT_EVENT triggers for pretty much everything in the immediate area (out to around 50-60m in game). Once upon a time, Source and Target names along with every other field were always populated. This leads to a LOT of information being leaked more or less unintentionally (see original Miat's addon capabilities of detecting nearby players in stealth ). ZOS removed a bunch of this data from the combat events to combat this leakage, so there is intentionally no direct API call to go from a unitId to a character/player name and there never will be. |
Quote:
|
Quote:
Your final statement in your OP suggested that you wanted to get the display name from the Ids, but if your actual "wish" is to get the displayname instead of character name based on user settings from COMBAT_EVENTS involving you, then that's different. Your best bet now is to build a table of unitId -> displaynames via COMBAT_EFFECT_CHANGED, or use whatever event triggers when you target someone to build a list of characternames -> displaynames. |
All times are GMT -6. The time now is 11:15 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI