I worked out that the formula should be:
((CurrentValue / 255)*(-#BarH#))
BarH is 50.
This seems to work, this time. But I can't seem to get the Clamp to work correctly which seems to give an incorrect value to the Percentage gained:
Shape2=Rectangle 0, 0, #BarW#, (([#[#CURRENTSECTION]]/255)*(-#BarH#)) | StrokeWidth 0 | Fill Color [#C[#CURRENTSECTION]],#BarAlpha#
((CurrentValue / 255)*(-#BarH#))
BarH is 50.
This seems to work, this time. But I can't seem to get the Clamp to work correctly which seems to give an incorrect value to the Percentage gained:
Shape2=Rectangle 0, 0, #BarW#, (([#[#CURRENTSECTION]]/255)*(-#BarH#)) | StrokeWidth 0 | Fill Color [#C[#CURRENTSECTION]],#BarAlpha#
Statistics: Posted by sl23 — Today, 1:13 pm