I want to make a fun little side-quest in my game in which throughout it, if you check every single mirror in the game, it adds to a counter. By the end of the game, you will see a final mirror (They're not important to the plot) and if you have looked at every other mirror in the game, you get a special text or item. One way I'm implementing this is that every mirror I have so far that is interactable adds 1 to a variable of mirrors checked, and then turns on its self switch so you can't raise the variable after you look at that specific mirror. What is the best way to go about this to ensure this isn't exploitable? Also, do self-switches reset after you leave a room? If so, I might have more difficulty with this idea. If you have any ideas on how I could achieve this, it would be greatly appreciated!
All mirrors checked, and a question about self-switches
RPG Maker MZ SupportThat's pretty much the way to do it, though it's probably better to +1 to the variable before turning on the self switch. No, self switches don't reset on leaving a room.
Thanks for the reply. Will do!
Original thread: https://forums.rpgmakerweb.com/threads/all-mirrors-checked-and-a-question-about-self-switches.153703/