"protect" event from switch change based on choice?

OKAY...sorry if this is simple, I'm just trying to wrap my head around it and the couple things I've tried haven't worked. I'm very new to RPGmaker, and what i Tried googling didn't quite get me what i was looking for.


What I'm TRYING to do, is:

1. Every NPC will have a choice of Yes and No.
2. Nothing immediately changes at time of choice
3. At an event later, Every NPC you answered No to will chance appearance. Everyone you answered Yes to will keep same appearance.

I know you can call to change a separate events self switch with a script, but I'm falling a little short on how to do it based on the option chosen.

I'm hoping there's an easy way to do this that I'm just overlooking?
Do you have to talk to the NPCs to trigger the Yes/No choice? If so, make it so if the player picks no it will activate a self switch. At the later event that triggers the appearance chance, activate a game switch. For each NPC, create a second page with a different appearance and use 2 conditions for that page: the self-switch, and the game switch.
Scripting option:
You could have the no choice push the NPC's event ID into an array, then on the change event loop through that array and toggle the self switch of every event id in it to Self Switch B or just a script command to change all their graphics (if they're all the same graphic).
Scripting option:
You could have the no choice push the NPC's event ID into an array, then on the change event loop through that array and toggle the self switch of every event id in it to Self Switch B or just a script command to change all their graphics (if they're all the same graphic).
This is very likely way out of the OP's ability without a lot of help.
Scripting option:
You could have the no choice push the NPC's event ID into an array, then on the change event loop through that array and toggle the self switch of every event id in it to Self Switch B or just a script command to change all their graphics (if they're all the same graphic).
This is very likely way out of the OP's ability without a lot of help.

IT IS... I grasp what this is doing but scripting isn't quite in my ability yet -- but I will keep this in mind for if i get to this point!!

Do you have to talk to the NPCs to trigger the Yes/No choice? If so, make it so if the player picks no it will activate a self switch. At the later event that triggers the appearance chance, activate a game switch. For each NPC, create a second page with a different appearance and use 2 conditions for that page: the self-switch, and the game switch.
YES, ok I think this makes sense i will try it out when i get the chance, thank you!! The idea of requiring two conditions really didn't even cross my mind lmao.

Original thread: https://forums.rpgmakerweb.com/threads/protect-event-from-switch-change-based-on-choice.163732/