ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   How to see a kill partecipation (https://www.esoui.com/forums/showthread.php?t=10934)

Shuba00 04/21/24 05:24 AM

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?

Baertram 04/21/24 06:04 AM

Did you try ACTION_RESULT_KILLING_BLOW or any related events?
Maybe only working in PvP though, not sure.

Shuba00 04/21/24 08:03 AM

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


All times are GMT -6. The time now is 01:40 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI