first - thanx for quik response
tnx for tips, first i was turning around "unit" object, that has name,
level, health but seems no equivalent to power/mana, following your
lead i was able to convert current health bar into mana bar (just to
test) with following code (TidyPlatesCore.lua: 127 line)
bars.healthbar:SetMinMaxValues(0, UnitPowerMax("target"))
bars.healthbar:SetValue(UnitPower("target"))
but haven't figured out how to create separate bar for this (duplicate
health bar for start). any tips? :)
anyway the situation you mention above (all units in arena and current
target) is more than enough. btw (im not familisr with addon
development so may be wrong) AFAIR you able to access unit info if
some one of your party/raid target or focus that unit? in this case
for it is theoretically possible for BG to see about 50% of opponents
info? (this may lead to CPU melt i know)
> If you want to try and tackle this feature, I'd start by looking at
> the Selection Box widget in the functions.lua file of your favorite
> theme; You could set up a statusbar which would only display for your
> current target, and return the mana via UnitPower("target").
>
> This is probably something that I will work on in the next few months,
> if someone else doesn't beat me to it.
> Coloring:
> Tidy Plates passes through the original bar color of a player
> nameplate. If you've enabled "Class Colored Nameplates" in the
> Blizzard Interface, you should be seeing the class colors
> automatically. This can be altered by the particular theme, however.
> Which theme are you running?
neon, i confess i didn't test coloring on anything exept mobs in
starting area, but after i enable "class color in nameplates" they
were still colored by health percentage. but if you say it should be
fine i assume it is. (im on PTR and all data on PTR was wiped today so
we all start from the beginnig)