uriel xd
Member
hi, I have a problem with a lua...
I'm looking for a way for the game to detect when someone holds down a button (for example, CUSTOM1), and automatically stop holding it.
For example, The custom button 1 is pressed and the player goes to the S_PLAY_FALL state, well, but if it is hold the button (cutom1), it stays in that state, instead of going to the next one, how do I fix that?
I'm sorry if the way I explained was very basic or confusing, I hope you understand.
thanks
I'm looking for a way for the game to detect when someone holds down a button (for example, CUSTOM1), and automatically stop holding it.
For example, The custom button 1 is pressed and the player goes to the S_PLAY_FALL state, well, but if it is hold the button (cutom1), it stays in that state, instead of going to the next one, how do I fix that?
I'm sorry if the way I explained was very basic or confusing, I hope you understand.
thanks