FelixSitu

Villager
Member
Joined
Mar 31, 2018
Messages
12
Reaction score
0
First Language
English
Primarily Uses
RMMV
I am working on a timed input number event in which if the player does not input a number (press the "enter" key) within the time limit, they get a Game Over. However, the problem is that the input number window still exists during the Game Over screen (if the player does not press enter), and I want to close it immediately. I'll need a plugin that either automatically press the enter key for the player or something that forces the input number window to close.

Thank you.
 

Attachments

  • Screenshot (44).png
    Screenshot (44).png
    213.4 KB · Views: 20
  • Screenshot (43).png
    Screenshot (43).png
    1.4 MB · Views: 20

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,149
Reaction score
15,537
First Language
English
Primarily Uses
RMMV
How are you making it go to the GameOver screen when the timer runs out? All you need to do is close the window manually before going to the GameOver screen (by telling the window to close, not by forcing a key press).
 

FelixSitu

Villager
Member
Joined
Mar 31, 2018
Messages
12
Reaction score
0
First Language
English
Primarily Uses
RMMV
I have set the two events, one where the player inputs the number and one that sets Game Over if the timer <= 0, both to parallel. If I set an autorun, the player can spend as much time on the number input as they want until they press "enter" even beyond the timer, which is not what I want. I am trying to create an event like "deactivating a bomb within this time limit," which is why I want to forcefully autopress "enter" to get rid of that window and have a normal game over screen.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,310
Reaction score
8,752
First Language
German
Primarily Uses
RMMV
In the event that sets game over, you need to disable the other event and close it.
That doesn't need a plugin or key press at all, just an other event page to trigger.
 

FelixSitu

Villager
Member
Joined
Mar 31, 2018
Messages
12
Reaction score
0
First Language
English
Primarily Uses
RMMV
I tried everything I could. Setting conditions that turned off switch for the event that the input number is in, but it never worked. On my game over event, I tried to turn on a switch that activates "exits the event processing" and "erase event" located at the input number event, but never activated due to the input number pausing the process. The input number is basically indestructible only unless I press the "enter" key.
If I have done the disabling event wrong, please explain the step-by-step process on how to do it properly.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,310
Reaction score
8,752
First Language
German
Primarily Uses
RMMV
You completely misunderstood how several commands work - for example exit event processing will restart a parallel process, because it just ends the current loop/process.

I suggest you work through some eventing tutorials to learn the basics of each command, for example the ones you find in my starting point tutorial (link in signature).

As for your current problem - as I said above you need to add an other page to your event to switch off the parallel process - that page should have no command at all and be set to action button trigger.
But you need to show us screenshots of your event before we can go into Details of what else might be needed there.
 

FelixSitu

Villager
Member
Joined
Mar 31, 2018
Messages
12
Reaction score
0
First Language
English
Primarily Uses
RMMV
Unfortunately, I can't get rid of it.
I tried to switch off the event page with the input number in it, but still won't go away. I have the event page in Screenshot(47) and (48). And the game over event in (49) attached below. And here's what happened:
1. I interacted with the Blob (normal).
2. I move to the next page with Blob (dead) by setting a switch on.
3. I need to input a number with a 3 sec timer, but I waited for the 3 sec instead.
4. The event page with the input number is switched off (once timer <= 0), thus returning back to the first event page with Blob (normal), that's how I know that the switch was turned off.
5. Input number window still there.

I tried as many options as I can think off, but the input number window won't go away unless the "enter" key was pressed.
 

Attachments

  • Screenshot (47).png
    Screenshot (47).png
    1.2 MB · Views: 9
  • Screenshot (48).png
    Screenshot (48).png
    1.2 MB · Views: 9
  • Screenshot (49).png
    Screenshot (49).png
    1.2 MB · Views: 9

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,149
Reaction score
15,537
First Language
English
Primarily Uses
RMMV
You can't "get rid of it" by turning off the event. The window is active and needs to be closed.

Event 2 needs to be ONE page of event commands. You're setting the timer and asking for number input in a parallel process event. That means it's going to continually be setting the timer and asking for number input. Those things should only happen once, not repeatedly.

I asked how you're making it go to game over, and that's the one screenshot you didn't provide.
 

FelixSitu

Villager
Member
Joined
Mar 31, 2018
Messages
12
Reaction score
0
First Language
English
Primarily Uses
RMMV
Unfortunately, I set Event 2 to "Action Button" with only one page and the results were still the same. I finally decided to give up on this idea. I really appreciate your efforts to help me out.

Thank you.
 

Attachments

  • Screenshot (51).png
    Screenshot (51).png
    1.3 MB · Views: 6

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,310
Reaction score
8,752
First Language
German
Primarily Uses
RMMV
We can not help you if you refuse to answer our questions - you still haven't shown how you activate the game over.
And in cases like these, the key is not a single change but every part needs to be made fitting to everything else, and without seeing everything we can only guess how your event needs to be to fit together.
 

FelixSitu

Villager
Member
Joined
Mar 31, 2018
Messages
12
Reaction score
0
First Language
English
Primarily Uses
RMMV
I'm so sorry. I thought I already sent it, but I realized didn't send that specific event page with the Game Over. Basically in my event "Game Over," once I hit 0 in the timer, I activate a self-switch to move to the parallel event page with that Game Over. Sorry, I didn't send this sooner.
 

Attachments

  • Screenshot (52).png
    Screenshot (52).png
    1.5 MB · Views: 10

Latest Threads

Latest Profile Posts

I decided to reinstall one of my most favourite game of all times, Gothic 2. Time to get back to Khorinis!
So much game make... I needs to rest. The foods call.
-Casino with bunnysuit green check.png
1638563168795.png
Monday December 6th 2021 at 7PM Hawkzombie will stream A Thief's Voyage on his Twitch.

Hawkzombie Twitch

Check it out.​
Ladies and gentlepeeps, I'm working on a Chuck E Cheese horror game! Did you know that in the 80's, in the Pizza Time Theater, Helen Henny was a separate character who performed in a separate room called the Cabaret? She was one of the possible guest stars there, and she was a Hollywood star at the time. But this particular unit seems to have a dark secret...

Forum statistics

Threads
117,161
Messages
1,105,052
Members
153,244
Latest member
MLC
Top