Hi Zork,
I tried this and it looks sweet tbh, thank you.
though it's created a problem.
I'll detail what I did, as it's probably my fault.
I had both rBottomBarStyler, and roth IU, not rly knowing any better (cause RBBS has /cmds that seemed easier to work with.
As this code didnt work at first, I realised there is probably a conflict there.
I deleted RBBS addon, and set local use_rbottombarstyler = 0 (as it was originally)
With code added, I reloaded to find I now have a sexy green health orb that changes colour as it depletes, and also glows red under 25% (nice touch btw).
although I have no mana orb now. I have the blue orb yes, but it's not registering my mana value at all, so there is no text, and stays full when I use mana.
it's probably something daft, but staring at the code isnt helping, and as I didnt change anything in the "power" part of the code, I cant see where this issue lies..
Any help would be appreciated.
cheers
EDIT:
oUF_D3Orbs\oUF_D3Orbs.lua:294: attempt to call method 'SetVertexColor' (a nil value)
oUF-1.3.21\elements\health.lua:98: in function `func'
oUF-1.3.21\ouf.lua:506: in function <Interface\AddOns\oUF\ouf.lua:501>
(tail call): ?:
i pulled this error out of it. not sure if it's related (though I tend to think so).