Page 1 of 2

combo points on nameplates

PostPosted: Thu Oct 15, 2015 12:08 pm
by kuurtzen
Hi, I'm looking for an addon that displays the number of combo points on the nameplate of your target, regards

Re: combo points on nameplates

PostPosted: Thu Oct 15, 2015 12:58 pm
by LYQ
Once again, I don't think that'll be doable in vanilla. One thing eg. the missing GUID without you couldn't differenciate npcs with the same name.

Re: combo points on nameplates

PostPosted: Thu Oct 15, 2015 1:32 pm
by kuurtzen
I'm sure it can be done. I mean combo points on your current target not the other units

Re: combo points on nameplates

PostPosted: Thu Oct 15, 2015 1:41 pm
by modernist
dry coded based on my answer to your other thread, let me know if it works:

https://gist.github.com/obble/a6f1a53f258ea4253756

e: it does!

Image

Re: combo points on nameplates

PostPosted: Thu Oct 15, 2015 1:58 pm
by kuurtzen
yea, I integrated your code with an existing nameplate addon I have so Im having some trouble refreshing the numbers but cheers man

Re: combo points on nameplates

PostPosted: Thu Oct 15, 2015 2:01 pm
by modernist
you can post the code in gist.github.com like i have done above and i might be able to fix it for you

Re: combo points on nameplates

PostPosted: Thu Oct 15, 2015 2:13 pm
by kuurtzen
Alright, Im very new to lua and wow addons in general.

this is a slightly edited version of CustomNameplates

https://gist.github.com/zetone/fa6d301e0c5896c1dfd7 - combo point bit is at line 201

Re: combo points on nameplates

PostPosted: Thu Oct 15, 2015 2:30 pm
by modernist
good lord, customnameplates creates frames every cycle of its update? X.X

try this, untested
https://gist.github.com/obble/db06ac0d057c44c697d6

Re: combo points on nameplates

PostPosted: Thu Oct 15, 2015 3:04 pm
by kuurtzen
got it to work. thanks a bunch

Re: combo points on nameplates

PostPosted: Thu Oct 15, 2015 5:54 pm
by kuurtzen
finally managed to do what I wanted from the start. display combo points through an image on a target's nameplate. probably redudant but yeah:

Image