Hi,
In my current project I use map abilities, so basically when the player presses a specific key, the ability will then play. However I want to be able to temporarly disable the key inputs for some specifc events. For instance I have this event on the map that will move the player to an other location (not transfer but pathfind the player). The problem is that during the pathfinding moment, if the player presses a key, it will cancel. I have a few other places where this might happen and I want to know if it's possible to just temporarly stop the key input.
Is there maybe a simple script or something that would allow that ?
In my current project I use map abilities, so basically when the player presses a specific key, the ability will then play. However I want to be able to temporarly disable the key inputs for some specifc events. For instance I have this event on the map that will move the player to an other location (not transfer but pathfind the player). The problem is that during the pathfinding moment, if the player presses a key, it will cancel. I have a few other places where this might happen and I want to know if it's possible to just temporarly stop the key input.
Is there maybe a simple script or something that would allow that ?