When i press the crouch button my character is crouched if i press a Sprint button or the Jump button the character is uncrouched, but when i trying to crouch again i need to press the crouch button two times. How can i set to only one time i need to press button?
asked Sep 07 '18 at 05:51 PM in Blueprint Scripting
I think it could be because of the Flipflop. Which way it goes, crouch ir uncrouch, relies on the crouch button being pressed, but nothing tells it whether you are already crouched, only whether it's flip or flop.
But you have other actions uncrouching while it's still waiting for a flipto uncrouch. so you have to press crouch button twice after another action uncrouches because the first time uncrouches when youre already uncrouched (flip) and the second one is the flop that crouches.
To fix this you need to replace the flipflop with a branch on Iscrouched.
answered Sep 07 '18 at 06:09 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here