combo points on nameplates

combo points on nameplates

by kuurtzen » Thu Oct 15, 2015 12:08 pm

Hi, I'm looking for an addon that displays the number of combo points on the nameplate of your target, regards
kuurtzen
Senior Sergeant
Senior Sergeant
 

Re: combo points on nameplates

by LYQ » Thu Oct 15, 2015 12:58 pm

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.
LYQ / Virose
Talentsaver (viewtopic.php?f=63&t=15429) - Totemtimers Enhanced (viewtopic.php?f=63&t=24422)
NostalriusAcceptTrade (viewtopic.php?f=63&t=31729)
User avatar
LYQ
Sergeant Major
Sergeant Major
 

Re: combo points on nameplates

by kuurtzen » Thu Oct 15, 2015 1:32 pm

I'm sure it can be done. I mean combo points on your current target not the other units
kuurtzen
Senior Sergeant
Senior Sergeant
 

Re: combo points on nameplates

by modernist » Thu Oct 15, 2015 1:41 pm

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
modernist
Sergeant Major
Sergeant Major
 

Re: combo points on nameplates

by kuurtzen » Thu Oct 15, 2015 1:58 pm

yea, I integrated your code with an existing nameplate addon I have so Im having some trouble refreshing the numbers but cheers man
kuurtzen
Senior Sergeant
Senior Sergeant
 

Re: combo points on nameplates

by modernist » Thu Oct 15, 2015 2:01 pm

you can post the code in gist.github.com like i have done above and i might be able to fix it for you
modernist
Sergeant Major
Sergeant Major
 

Re: combo points on nameplates

by kuurtzen » Thu Oct 15, 2015 2:13 pm

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
kuurtzen
Senior Sergeant
Senior Sergeant
 

Re: combo points on nameplates

by modernist » Thu Oct 15, 2015 2:30 pm

good lord, customnameplates creates frames every cycle of its update? X.X

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

Re: combo points on nameplates

by kuurtzen » Thu Oct 15, 2015 3:04 pm

got it to work. thanks a bunch
kuurtzen
Senior Sergeant
Senior Sergeant
 

Re: combo points on nameplates

by kuurtzen » Thu Oct 15, 2015 5:54 pm

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
kuurtzen
Senior Sergeant
Senior Sergeant
 

Next

Return to Addons & macros