So I'm doing a CBS that requires heavy custom key use.
I want to be able to register the input of a key one time, and not register it again until released and then pushed again. As of now, I have to use the wait command, but that just generates lag, and doesn't stop the repeating.
If you want a specific example, here it is:
I use the key A to bring up the menu,
I use the key A to select a command: Move,
then I use the key A to choose a destination.
As of right now, the button will bring up the menu and immediately jump to the first command on the list, because it repeats. Using wait x amount of frames only creates lag and doesn't prevent the repeat.
Believe me, I did a search for this, and did not find what I was looking for...with some exception. Do I need to go out and get a custom keys script? Or is there a simpler way I'm not catching? I've experimented a little, but it just hasn't clicked yet.
This is essential to improving gameplay experience, if you help me, I will appreciate it very much, and you'll end up in the credits in my game
(for whatever that's worth haha.)
Thanks.