Flying Creatures are immune to snares
hi guys ! just wanted to know if you got any idea as how to get rid of THE ONLY ESO BUILT IN COMBAT TEXT.
The one in the top right corner, that display if creatures are immune to anything and that takes up la lot of space when you're spamming the same attack on the same boss for minutes... could really use some help with figuring this out. |
Messages are based on the ID of the sound sent to the UI, maybe :
Lua Code:
Server will send SOUNDS.ABILITY_TARGET_IMMUNE code, but because in UI the value isn't the same, it won't be displayed.. PS : It will also won't play the sound If you want sound and not message, perhaps : Lua Code:
But it's a dirty one! Untested, not at home, let's try? |
should have said in the beginning that i'm a freaking noob.
where do i intercept the "message" from ? |
ok, i just found the library where this one is...
but i still dunno what you mean with that. can we override a zo function with an addon ? |
yes, we can override everything that's not private (and local).
the exemple above override an existing function. |
good to know, thx a lot !
|
I think that better way would be hooking or redefining alert handler for event EVENT_ABILITY_REQUIREMENTS_FAIL:
Lua Code:
Code above will disable messages "Flying creatures are immune to snares." and "This target is too powerful for that effect.". List of all possible errorStringId values: Code:
[1] = "You do not meet the requirements." |
All times are GMT -6. The time now is 09:53 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI