that guy's function 'hpbar()' JOELwindows7 mod (Need help for smooth HP color change)

JOELwindows7 - Adventure level - Sep 9, 2015 from Android
Revision #3, updated Jan 1, 1970
Play Edit 4 players liked this.

(Fixed) that guy says: "You seemed to have a bit of an error in your math."
-=-=-=-=-=-=-=-=-=-=-=-=-=-
I want a health bar that is put on top of robots like DanKaz' but doesn't react with 1 signals, but instead, with the signal sent to that IN socket. I want to use HP control to show life percentage of a robot. And when it receives a 0 signal, it dissapears/dissipates.

EX: whenever a .67 signal is sent to INX, the health bar shows 67% of the full HP. It can be rounded if you want it to be. --that guy

Now has dynamic coloring for adventure robot
But I need help for the formula which the formula using advenhp is not perfect. There's still a bug, please help me!

that guy fixed the formula! Thx!
Enjoy

Downloads: 131 - Level ID: 17929

Derivatives



Parent