Well, I'm kinda stuck right now on a project of mine with something really simple. I'm trying to find a way to make a value slowly decrease over time, the value's maximum is six and I want it to decrease slowly to zero over about 30 seconds, so a decrease of one every five seconds.
I'm sure its really simple but for whatever reason I seem to be having trouble with it. Also, I cannot decrease the value by say, .2 per second due to the fact that I have a gauge on my hud that has its image_index set to match the value and if it goes into the decimal range the gauge disappears.
Thanks in advance if anyone can help, all I need is just a bit of code or at least a suggestion of how I might be able to do it.
Edit:
~Solved~