Creating a small puzzle

I want to know what the easiest way to make a puzzle is.


The puzzle I want to make is that there are 4 orbs, one north, south, east, and west.


What I want is the user to pick a letter from four choices (A,B,X,Y) at each orb.


Like X on North, Y on the West, A to the South, and B to the East, in that order. The user has to do it in that order or the puzzle resets.



I have no idea where to begin with this so any help would be great! I will explain further if this isn't clear.

Untitled.jpg
To get the player to input the letters, I'd say use Hime's text input script, and then use a variable to check what you entered. If you get it right on one orb, it adds to a variable. But if you get it wrong on another one, the variable gets reset to zero. Then have a parallel process event to check if the variable is equal to four. If so, do whatever is supposed to happen. 


Now, the only thing you'd need to decide is how to give the player a hint on the order of the buttons. 
To get the player to input the letters, I'd say use Hime's text input script, and then use a variable to check what you entered. If you get it right on one orb, it adds to a variable. But if you get it wrong on another one, the variable gets reset to zero. Then have a parallel process event to check if the variable is equal to four. If so, do whatever is supposed to happen. 


Now, the only thing you'd need to decide is how to give the player a hint on the order of the buttons. 

Ah, thanks for the help.



I was wondering if I could make it easier. I was going to give the player a number of choices on every orb so he didn't have to input anything. Such as A,B,X,Y,Z,R,N,T,L. Then he can just choose one. So can I do that and then add +1 to a variable or something and then reset everything on every other choice?


Also, for the hints there are books to the left that help the player think about it. And the orb on the far left just gives the answer away if you use up a special item.
I was going to give the player a number of choices on every orb so he didn't have to input anything. Such as A,B,X,Y,Z,R,N,T,L.

Well, see, the maximum amount of choices in a show choice command is 4, so I'd recommend just doing A,B,X,Y in 4 different choices so you wouldn't need to use script calls to over-complicate things. And, yes, it is quite simple to set the variable because the show choice command looks like a conditional branch, so you can input anything you want into each option. 

Original thread: https://forums.rpgmakerweb.com/threads/creating-a-small-puzzle.68175/