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 ..
It should look like this..
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 03:51 PM.|
vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI