Im absolutely in the weeds right now. Im currently setting up a stamina system where both sprinting and jumping drain stamina. The sprint system works perfectly fine. It drains stamina properly, theres a delay before stamina starts regenerating, and when I start sprinting again the regen is interrupted. Jumping is the problem child. As of right now when I jump it drains the proper amount of stamina, but then it doesnt regenerate stamina at all ever, and if stamina is regenerating from sprinting, jumping does not interrupt the regen at all.
The first image is the basic tree for what happens when I sprint, the second image is the tree for consuming stamina upon sprinting, the third image is the tree for regenrating stamina after it is consumed by a sprint The fourth image is the basic tree for what happens when I jump, the fifth image is the tree for consuming stamina upon jumping. The sixth image is the setup for stamina drain upon jumping, and the final image is the actual tree for stamina drain and regen after jumping






