RPG Maker Forums

First of all, a warm greeting to the entire community. I hope you are fine.


Ok, to the point. I've been trying for a few days to create a sequence of buttons. A button is shown on the screen that you must press (example, button ''A''). When pressed, another button will be displayed immediately (example, button ''B'')
When you finish pressing them, another event that ends with the sequence will be activated.
However, if you do not press the correct button, you will have to start the sequence again.

I was able to achieve it by means of a variable, that when the '' Up '' button is pressed, +2 is added to the variable, which is called '' Button ''.
also a common event initiated in parallel is active, which contains 12 conditional separations per button, which when pressed, you add +2 to the same variable '' Button ''.

If you press the '' Up '' button, +4 will be added to the variable, and it will recognize that the correct button is pressed. But if you press any other button and you add +2 to the variable, a conditional separation will be activated when the variable has only 2 digits, then the wrong button will have been pressed

The only problem is that when I press the correct button and (although 4 digits should be added to the variable, so that it is recognized as the correct button) the conditional separation is also activated, which indicates that when the variable has 2 digits, the wrong button is being pressed.

I hope to give me to understand, I do not know what to do to this variable and basically all I need is for it to be known when the correct button is pressed and when it is not.

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,546
Members
137,835
Latest member
yetisteven
Top