Hello all. I am needing to learn how to disable an input, in this example it would be the input assigned for “jump”. I don’t want the player to be able to jump, until they reach that tutorial level. So, for another example, jump is disabled from level 1 to level 3, and when they get to level 4, they will get the tutorial for jumping and making it enabled from then on. Similarly, inputs like a boost or even the ability to double jump, only active when it gets to the level I want it to be activated on.
If you are using a character with the character movement “jump” that comes with the engine, then you can simply turn it off until the player reaches level 4.
Go into your character blueprint and look under the components listing for the character movement component (it is usually the one at the bottom below a line). In the details panel, type in “jump” into the search bar. It should give you an option to choose if the character can jump or not. If you uncheck it, then the character will start the game unable to jump.
Then, upon gaining a level, check if the player is now level 4 or not. If they are, then use the get character movement node and drag off of it. You should have the option to set that can jump bool to true.
Thank you. I’m using a player pawn and not character, it’s a ball. But I figured out a way to achieve what I wanted. Made a new box trigger and disabled that key input within that trigger