I have done this for multiple states like sneaking, crouchin, runnig etc… it kinda works, but if I`m pressing (ctrl) for prone and at same time i press (C) for crouch it doesnt do the crouch animation but it stats to flinch, even if i say it cant crouch, it still tries to do it when I press the crouch key.
So my question is: is there anyway in the bluprint to disable inputs from certain keys like (C) while im pressing (ctrl) for example, so the engine doesnt try to do the animation?
I got the problem fixed by giving up the on release option (something like you shown), and now all states are a toggle and untoggle instead of pressed and release wich is a shame because I wanted it to be a press and release. I think it was the “on release” part that was causing the fliching. I just wish there was a option to really desable a specific key input like the “disable inputs” node but for a specific key, a way for the engine doesnt listen at all a certain key input, because with the method i am using and the method you guys show the engine still listens to the key input.
on button released put a an if statement to check if is proned is true if not don’t do anything if true execute the rest of the code. this will recreate the same effect as disabling the input.
u can also create an enum to determine the situation the player is currently at like proned, crouched, running…
You could change “CanXxxxxx” for “IsXxxxxx”
and just turn the prone true and false (in this case)
To know if you can do prone you just have to ask the rest if they are false