View Single Post
06/09/20, 09:05 AM   #3
Dracin
Join Date: Jun 2020
Posts: 7
Originally Posted by Baertram View Post
https://wiki.esoui.com/Events#Combat

EVENT_COMBAT_EVENT

But be warned: Not all events return a value or a unitTag so you are maybe not able to determine if you, and who you have hit with what value.
Define yourself a callback function for the event and check if it returns e.g. the dmg you have done to some enemy NPC/player.

Be sure to also register event filters so the event will not fire for EACH non-wanted stuff!!!
https://wiki.esoui.com/AddFilterForEvent
Hi Baertram,

Thanks for the response. Honestly though, I have little to no knowledge when it comes to writing lua script. "PlaySound" is as far as I've got. Editing an existing script is probably all I can manage right now. I was hoping it would be a simple solution but maybe not.
  Reply With Quote