Just put it before the if guildie line to include the others. But you will then have to move the line starting with local nameplate = to the same place so you can access the nameplate object.
So instead of .. Lua Code:
It should look like this.. Lua Code:
This essentially hides the healthbar immediately when they first are shown ( but wow may show it again during its update routine ) and then does the guildie check before setting the text color and playing the sound if it is a guildie. |
Thanks it works like a charm!
I think the addon is complete now. Hope people will see this and use it as well to hug their guildies :) kisses to you Xrystal, Kanegasi and the others <3 |
All times are GMT -6. The time now is 01:06 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI