Npc reset

 have a question. I have created an event where the player talks to a NPC part way through the conversation I have the NPC join the party temporarily to move them along with the player to a particular place as part part of a move route. I then have the player move back with the NPC after a bit more conversation has taken place along another move route I then remove the character from the party at the end of this move route. but it I want the character that I removed from the the party to return the position they were in at the beginning of the event before the player talks to them. is this possible, when the character joins the party in the first place I am removing the first part of the event so the graphic of the event (the NPC sprite) is removed in order for the correct behaviour when the NPC joins the party.      
this is actually quite easy to accomplish using switchs,

first set that a switch to turn on the not there while in party to say when switch a is on

then the event where he leaves the party have it turn switch a off thus resetting the event

if you want the event to be differant from the original 

at end turn off switch a and turn on switch b while making a third part of the original event where switch b is on and switch a is off 

reccomend labeling said switchs for this event so they arent used later (could also use event condition if said character is in party event not there if not in party event there)

Original thread: https://forums.rpgmakerweb.com/threads/npc-reset.18197/