Hi,
I have a stamina system that I’m having alot of problems with, I’ve tried adding bool checks and switching the nodes to see if I can fix it but for the life of me can’t figure it out. This parts probably obvious but I’m trying to make it so that the player holds the shift key to drain stamina if the bar has any left and to stop draining and replenenish when releasing the sprint button.
The timeline is a 5 seond timer with a value of 1 if thats relevant
Heres the graph on the player character
Decrease stamina function
Increase stamina function
I know there is a lot to look at here but any help would be appreciated.