Hi everyone. I’m trying to make a Prototype using 2D Sidescrolling BluePrints and need some help.
I want my character to be able to run a short distance when I press the assigned button on my keyboard. The distance and duration will be short. Something like half a second. Whilst the character is running, I need all other button presses or movement options for the character to be locked out, so he can’t jump, punch, stop, etc. Just like in a lot of Street Fighter games, where you douple tap forward on the d-pad and the character will do a short hop forward that they are unable to cancel once executed, except I need mine to be a short run rather than a hop.
I spent the last two days scavenging the forums and found lots of threads with similar questions being asked but after trying them out myself, they either didnt have the desired effect or I wasnt able to get it to work. I would really like the run to be activated by a double tap but I found the most failure when trying to use that method so, I’m willing to just settle for a dedicated button for it if thats much easier to set up. Also, I’m relatively new to Unreal Blueprints so if you guys have any ideas to share, please consider that I’m still learning! Providing screenshots of a node set up and a nice explanation on why the method is good when compared to others would be a godsend!