how to make an event you have to keep clicking?

i wasn't quite sure how to word it sorry

what i want is for the player to click a bookcase three times in order to get a special item.

how do I make it so it shows something like "books on popular culture" three times before the player gets the secret item?

I'm sure its just the simple self switch business, but i was hoping someone else would have a good way to do it

also, is there a way to make passwords for doors etc?
Use a variable. Increment it each time the player interacts with it. Then do a test - if it's 3, give them the item and turn on a self switch so they can't keep "farming" it. If it's not 3, show the title.
I suggest you take a month off making your own game and work through the tutorials - that will get you up to speed on game developing with RM faster than asking a lot of basic questions.


You can follow the first link in my signature to find the most important tutorials.


That said, NO - self-switches would be a very bad way to do this, especially if you ever want more than three or four clicks.


You need to use variables and count up the variable for each action button, and check the number in conditional branch to decide what to display or do next (or use variables with conditions on multiple pages)


Yes, you can use a placeholder actor and the name input command for checking passworts.


Edit: ninja'd

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-an-event-you-have-to-keep-clicking.43426/