- Joined
- Dec 22, 2022
- Messages
- 94
- Reaction score
- 95
- First Language
- English
- Primarily Uses
- RMMV
If the player is pressing (and holding down) "OK" is there a way to tell the game to override that button press once a condition has been met?
I have an event running that checks if "OK" is being pressed (and held down). As long as "OK" is pressed (and held down) "1" is being subtracted from a variable until that variable = "0". Once that variable = "0" then the event should be over. For my testing I just have a text box that says "Event over".
However, since the player can just keep the "OK" button pressed (and held down) indefinitely the event will never actually end until they release the button. The "Event over" text box only appears after the player releases the button.
Is it possible to tell the game once the variable = "0" to stop recognizing / override the button being pressed (and held down) and then just end the event and display the "Event over" text?
I have a feeling this isn't possible, but I'm hoping I'm wrong.
I have an event running that checks if "OK" is being pressed (and held down). As long as "OK" is pressed (and held down) "1" is being subtracted from a variable until that variable = "0". Once that variable = "0" then the event should be over. For my testing I just have a text box that says "Event over".
However, since the player can just keep the "OK" button pressed (and held down) indefinitely the event will never actually end until they release the button. The "Event over" text box only appears after the player releases the button.
Is it possible to tell the game once the variable = "0" to stop recognizing / override the button being pressed (and held down) and then just end the event and display the "Event over" text?
I have a feeling this isn't possible, but I'm hoping I'm wrong.