How to create event for example: If S key is pressed, then disable player movement controlls.
It depends of kind of movement you applied to your player.
if it’s a platformer you can use:
Condition: s key is pressed
Action: Ignore default controls for player: yes
Its a platformer game with custom WASD controlls.
So I supose S is to move your player down. And you want to disable player movements if you press S?
Makes no sense.
Yeah, thats exactly what I need.
What action you have now for S key? What your player do when you press it?
If he is on ground he is sliding, if he is in air, he is falling faster.
So, you want disable the other keys only when you are pressing S. When you release it , the other keys start to wok again. Is it?
Yes to make slide more like slide and not just bigger deceleration.
Add the condition “s key is pressed” for A, W and D and invert condition.
It works, thanks so much, you saved my life.