Im working on a small shooter project for myself and have come across an annoying problem.
Im able to get my character to switch weapons by pressing E. Now the issue i have is that if i spam E then the animation is spammed.
My question is how can i limit the key presses so that the character doesnt spam the switch weapon animation?
Example of the spam is below:
These are the blueprints that i have that deal with weapon switching:
^^^ this is in the PlayerController blueprint
^^^ This deals with the weapon switching
I thought of using a do once loop but that just only allows one weapon switch.
I just want to prevent switching spam