[quote="irbis":2ls23oew]okey now i want to cut myself...
in your cap, you have 11 frames, and i have 11 frames. in your all frames are correctly displayed coresponding to values. in my, max value frame is like only displayed when Current is higher then Total. the only diffrence is that your cap doesnt have the auto regeneration and doesnt uses decimal values.
and yes i know i am stubborn but i still havent learned why my method doesnt work when basing on logic it should work.[/quote:2ls23oew]
Without seeing your cap I can't exactly tell where the problem is. Here is another cap, this time not editable, but the shield regenerates slowly over time and mean meteoroids hit the ship occasionally, substracting from the shield's current value. And all of this with crooked floating numbers, like 678.542 for total or 29.943 for the regeneration value.
Compare this cap to yours and find the differences, then you will learn why your method doesn't work.
Download:
shipstatus2.cap