Hold/Toggle Crouch Not Working

Basically when you tap crouch it should act as a toggle, and when you hold down it should act as a Hold crouch but it isn’t. I’ve got it to work earlier but all of a sudden it stopped working. I haven’t changed my blueprints at all.

HI @f0xx_64 ,
I’m leaving you several videos on how to implement that shows how to create a crouch system in first-person and third-person that might help you solve your problem

First-person

Third-person

Hope it helps!!

You may wish to modify the delay and elapse check times, but try the following logic:


Result:

Trigger check is a pure function, by the way.

Easiest implementation is to make use of the character classes is crouched replicated variable.

CMC sets this var through its Crouch and UnCrouch C++ functions.