the variable is subtracting but the bar is not representing it
Maybe because the timer has been reset so it goes like if more than 1 sec minus variable and reset the timer again
I guess try switching start / reset timer to the last line.
Actually I think you can always change the value of a bar to match with a global variable’s value with a new empty condition block with the same action I think it might not affect much of performance and ensure you get the most updated bar anytime.
It should work. Is the variable within the range of the bar?
Edit: does the bar display fractions or only whole numbers? Yes. I just tested it. The bar changes.
It works now i think it was not working because in the object editor of bar i left the initial value 0 i changed it and it is working now!!!
Thank you for your time though
The timer seems fine at least for now i think it was not working because in the object editor of bar i left the initial value 0
Thank you for your time though