View Single Post
Old 12-21-2008, 11:33 AM   #106
Halelen
Lord Doljonijiarnimorinar
 
Join Date: Jan 2003
Server: Povar
Posts: 1,047
Interface Author - Click to view interfaces
Default

You have both bars in the same location and the same size, so the first one is the only one you will ever see. to see the second one you have to make the top one disappear at some point revealing the underlying bar. I dont see anywhere in your code that would make this happen. For the health bars this has been accomplished by making a gauge 1000 times bigger then cutting a slice of it that equals 1 so when that point comes the large cover is gone and reveals the underlying bar. Dont forget that the bottom bar is just the regular bar so you can set it to whatever color you want. then the first part of the next gauge will cover from 0 to whatever percent you want the change at.second part of the next gauge will wctually count down from 100 to the change.


hal
Halelen is offline   Reply With Quote