RPG Maker MV Wait until key is pressed help?

Meemoo

Imagination Puppet
Veteran
Joined
Oct 26, 2015
Messages
42
Reaction score
3
First Language
English
I was wondering if you can make an event where the event makes it so it waits until key is pressed? This example below works very well but for MV (Since this event is actually used for VX Ace because I can't find any help else where) it's different for some reason. 





Whenever I have it like this The wait actually makes the player WAIT and do nothing. I press the button and nothing happens then the timer goes off and the event ends. But I just want it to have a small timer so the player has enough time to press the button. I've tried making it into a parallel process event but that didn't work either. Any thoughts?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
The most commonly way to wait for player confirmation is an empty message - a show text with transparent frame and no text, and the player needs to press confirm to end that invisible message.


You only need a loop or a parallel process if something should happen while the player waits, but not for empty confirmations
 

Meemoo

Imagination Puppet
Veteran
Joined
Oct 26, 2015
Messages
42
Reaction score
3
First Language
English
The most commonly way to wait for player confirmation is an empty message - a show text with transparent frame and no text, and the player needs to press confirm to end that invisible message.


You only need a loop or a parallel process if something should happen while the player waits, but not for empty confirmations

I don't think I understand quite well.
I've set the event to Auto start so it keeps the player in place, and when I put the Wait down in the event box it just makes the player wait and can't do anything. I just want
there to be a time set so the player has enough time to press whatever button is telling them to press. Then it repeats till I put a victory end and make another event page so it stops. But if the time is at it's end the player has to start all over.

I'm also not trying to use text in any way. Just Input button processing. 
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
What I described is a way to use the show text command as a replacement to waiting for confirmation, especially without using any text (just the command itself).


But from the incomplete description you gave in the follow-post, you want more than just a simple wait for confirmation, even if your original example contained nothing else.


Can you please give the entire sequence of what you want to happen, perhaps showing the full events instead of only part of their commands? Then we can tell you how to do that.
 

Meemoo

Imagination Puppet
Veteran
Joined
Oct 26, 2015
Messages
42
Reaction score
3
First Language
English
What I described is a way to use the show text command as a replacement to waiting for confirmation, especially without using any text (just the command itself).


But from the incomplete description you gave in the follow-post, you want more than just a simple wait for confirmation, even if your original example contained nothing else.


Can you please give the entire sequence of what you want to happen, perhaps showing the full events instead of only part of their commands? Then we can tell you how to do that.

Sorry about that, I'll go ahead and explain what I'm trying to do.

I'm trying to create a little mini button press game, where the player has to press a certain buttons in a time frame. There would be a text or something telling the player what to press, example "Press A!" and they would do so, going onto the next "Press B!"  ect, till the victory end. But if they missed somehow they would have to try again if they wanted to.

Everything works I think but the timer, In RPG 2003 there was a input button process, where when you opened it up it had a little check box where you can wait until key is pressed. That is exactly what I'm trying to do. 

The pictures show the first two of the same event, the "Capture Puzzle one" The Timer event I'm showing is a event I've tried getting to work but didn't and just left it out just in case if I did need it later.

Example 1.PNG

Example 2.PNG

Example 3.PNG

Example 4.PNG
 

Meemoo

Imagination Puppet
Veteran
Joined
Oct 26, 2015
Messages
42
Reaction score
3
First Language
English
What I described is a way to use the show text command as a replacement to waiting for confirmation, especially without using any text (just the command itself).


But from the incomplete description you gave in the follow-post, you want more than just a simple wait for confirmation, even if your original example contained nothing else.


Can you please give the entire sequence of what you want to happen, perhaps showing the full events instead of only part of their commands? Then we can tell you how to do that.
I still need desperate help with this, and I've already replied. Did you by any chance miss it?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
I haven't answered because I don't know the script command you used for input and its properties. I simply didn't have the time yet to get that deep into MV as I'm working on a few other things game related at the moment.


Is that script command part of the regular game loop (continues if no key is pressed at that moment) or does it have it's own loop (waits for the input)?


Does the logic works if you're using the default "button is pressed" logic (like you did in your original screenshot)?
 

Meemoo

Imagination Puppet
Veteran
Joined
Oct 26, 2015
Messages
42
Reaction score
3
First Language
English
I haven't answered because I don't know the script command you used for input and its properties. I simply didn't have the time yet to get that deep into MV as I'm working on a few other things game related at the moment.


Is that script command part of the regular game loop (continues if no key is pressed at that moment) or does it have it's own loop (waits for the input)?


Does the logic works if you're using the default "button is pressed" logic (like you did in your original screenshot)?

My apologies, the script command works as if this button is pressed conditional branch, and it doesn't have a loop nor does it wait for the player.
So after the first few things in the event happen, the script is then activated. But it just automatically skips over to the "or else" branch where the player fails.
I don't know how to set a small time frame is all.  
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
Then check what that script function returns - it needs to return a "false" to trigger the else-branch from a script command (that is different than using the pressed button option of the conditional branch, because the script line needs to be checked for true/false - something that is already incorporated into the button press, but not automatically into any script line.
 

Meemoo

Imagination Puppet
Veteran
Joined
Oct 26, 2015
Messages
42
Reaction score
3
First Language
English
Then check what that script function returns - it needs to return a "false" to trigger the else-branch from a script command (that is different than using the pressed button option of the conditional branch, because the script line needs to be checked for true/false - something that is already incorporated into the button press, but not automatically into any script line.
I'm not too sure if I quite understand what you are saying. I'm sorry to ask if you could put it into different terms? Examples would work best.
 

cedr777

Veteran
Veteran
Joined
Feb 22, 2018
Messages
265
Reaction score
60
First Language
Not English
Primarily Uses
RMMV
Thanks Andar for the invisible show text command, a simple solution that does what I want.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top