Thread Tools Display Modes
04/21/24, 05:24 AM   #1
Shuba00
 
Shuba00's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2023
Posts: 20
How to see a kill partecipation

Is it possible to see a kill partecipation in pve?
I'm using this one:
Lua Code:
  1. EVENT_MANAGER:RegisterForEvent(BossNameEvent.name .."kill", EVENT_COMBAT_EVENT, BossNameEvent.OnUnitKilled)
  2.     EVENT_MANAGER:AddFilterForEvent(BossNameEvent.name .."kill", EVENT_COMBAT_EVENT, REGISTER_FILTER_COMBAT_RESULT, ACTION_RESULT_DIED_XP)
but if i don't do the last hit, the targetName parameter is empty, how can i solve this?
  Reply With Quote
04/21/24, 06:04 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,993
Did you try ACTION_RESULT_KILLING_BLOW or any related events?
Maybe only working in PvP though, not sure.
  Reply With Quote
04/21/24, 08:03 AM   #3
Shuba00
 
Shuba00's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2023
Posts: 20
No, i don't want to trigger the event only on killing blow, but every time anything i'm in combat with die, and with ACTION_RESULT_DIED_XP it trigger the event, but if the killing blow isn't mine, i don't see some parameters, like targetName
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » How to see a kill partecipation


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