So say I wanted to add an easter egg where clicking a certain event, say...20 times, would activate a self-switch where something else happens. How would I go about setting that up? I'm assuming it's with a conditional branch, but I'm not sure the exact info I'd need to use for it.
How to make multi-click easter egg events.
RPG Maker MV SupportYou can use a variable to keep track of how many times the event has been interacted with. For example, interacting with the event below uses Variable 11 to keep track of how many mushrooms have been eaten (it increases by 1 each time the event is interacted with). The first Conditional Branch makes sure the easter egg is triggered only once, and the second Conditional Branch checks if the variable is equal to 20. You can change your self-switch within this condition.
If you only want to check for mouse clicks (ignoring keyboard interaction), that will be a little more complicated.
If you only want to check for mouse clicks (ignoring keyboard interaction), that will be a little more complicated.
AWESOME!! This is exactly what I was looking for, thanks!
page 1, no conditions, on action button, set variable +1.
page 2, "variable > X", autorun, add your effect, then set variable +1 and/or self switch.
page 3, on variable or self switch, blank page. (or simply delete event)
page 2, "variable > X", autorun, add your effect, then set variable +1 and/or self switch.
page 3, on variable or self switch, blank page. (or simply delete event)
Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-multi-click-easter-egg-events.153168/