For example,
There are four characters: A, B, C, D. They went to an area where a door is locked by 4 switches. Thus, the party went to search and found one of them. A volunteered to stand on the switch. B, C and D will have to find the other 3 switches and step on them like A did. At last, when D, the last and remaining character, steps on the fourth switch, the door unlocks and he goes to find the others before they enter the door together.
My question is: The process when the character turns into an NPC and stands there, how are we going to making it possible? I have tried eventing myself and in the end messed up the whole thing.
Help is greatly appreciated.