My stamina system was created using an Integer, but it doesn’t seem to work when binding my GetStamina script for my Stamina Progress Bar widget. I tried dividing the Integer before it’s converted to a Float but all this seems to do is send the progress bar from full to zero when I finally run out of stamina, with no animation in between.
The full stamina amount as an Integer is 100, and it runs out at 0.
Any ideas?
Do I just have to remake my stamina system with a Float? If so, what’s the point of the Int->Float conversion?
Thanks.