Problem with Sprinting System
So I was able to develop a printing system its pretty basic so far but I will be adding in a stamina bar etc but I have run into a problem while testing
The problem is when my character is standing still and presses the sprint button it will display that they are sprinting this is going to lead to drain there stamina value even when they are standing still
So I am stuck trying to figure out how to setup some condition that will only let the player sprint when they are moving
Heres the sprint system
And heres the movement setup for my character same as default setup I think
Any help would be great thanks
asked Jan 10 '16 at 08:04 PM in Blueprint Scripting
You should be able to query the current state of your forward movement input in the sprint input handling. Can't remember exactly what the function call is...but I think you can right click and start typing in "MoveForward". There should be an option to get that MoveForward input value.
If the MoveForward movement input isn't positive, don't accept the sprint input.
Follow this question
Once you sign in you will be able to subscribe for any updates here