I would like some help on blueprinting a stamina system please. So my HUD is using a progress bar to allow the player to see how much stamina they has. Every time I hit the jump key it reduces that amount. That works fine.
I’d also like to include a sprint system in which it increments stamina down depending on how long you’re sprinting for. I have the sprint key assigned to the left shift, and the stamina reduces since I’m using a float - float. The problem is it only reduces once every time I press the sprint key. I would like it to continuously reduce depending on the duration that I hold that key down. What node(s) should I be using?
I’d also like stamina to increase over time when they’re not sprinting. I’m using an Event Tick with a delay, connected to a float + float. That works fine. But what happens if I want to use more than one Event Tick; say I want to also have a hunger system that subtracts every frame too? How can I get two event ticks working together on one blueprint?
All this is on my ThirdPersonCharacter event graph. Not sure if this is the appropriate place to put all of this.