View Single Post
11-25-10, 08:09 PM   #11
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
Originally Posted by SDPhantom View Post
That's how I've always done it. I honestly can't think of a way the animation system can be used to do the same thing. It technically isn't an animation at all. It's two textures sharing a base point and you use texcoord/resizing on the overlaying texture. If you use a greyscale image, you can use texture:SetVertexColor() on the overlay texture to set its color.
So you do not do SetStatusBarTexture? because as far as i can tell when you set it via that method the setvertex do not work on it. So make a regular texture and then just make it setvertex and resize according to the health/mana values?
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote