OK so it seems i've hit yet another brick wall...
I'm starting my game with an event which has the player character saying something then moving over to a door which is supposed to trigger yet another event involving the door open animation and the transition to another room.
But instead of the door opening, nothing happens and i'm trying to figure out why.
However, if the player movement is human controlled then the door works fine.
OK so how do I use a switch event to get the door to open?
You would turn on a Switch with the switch command, then go over to the door event, make a new page set the Switch condition to that one and make the event Auto-Run, have the door do it's thing and move the player in, then use another switch to change it back to the normal way.
Honestly, I would forget about doing it this way as it just makes it more complicated and it is simpler to just make the door open from the initial event. Usually you don't need to make multiple events chain into each other unless you're transferring to another map.
Assuming that your autorun event stops where the player is standing directly next to the door, the easiest way for you to event the player going through the door is to copy and paste the door's event contents directly below your last move route command, and above 'Erase Event'.
After pasting the contents, change the door's 'set move route' target from 'this event' to your door's event number or label. The label is located on the upper left side of your event's box.
And as what Espon stated, the 'Erase Event' command is temporary. If you have plans to reuse that map, you should remove the 'Erase Event' command and place a self-switch instead (e.g. Self-Switch A 'ON'). Create a new event page and make sure the 'Self-Switch A is ON' condition is marked. Leave the page blank - do not change the trigger to autorun.
Thanks, that did exactly what I was trying to do. 🙂
OK maybe not.
Just as a test. I started the game. let the beginning event run and after I enter through the door thus ending the event once I enter the room the autorun starts again.
I created a new event page and and made sure the 'Self-Switch A is ON' condition is marked just as you said.
Did you place a 'Control Self-Switch' command in the first page (the one with the autorun) at the end of your contents? That command has to be set to 'A' for this exampled, and the operation has to set to 'ON'. Also, make sure the 'Erase Event' command has been removed.
Yes, and the event STILL runs.
Could you please upload images of both your first and second event pages.
Also, just to clarify, you do not have a duplicate autorun event in your map, do you?
Okay, for the first event page, change your trigger to autorun. That's all you need to do.
Thanks that worked perfectly, I actually had it set to autorun before but changed to Parallel Process when I was testing something earlier.
What I don't get is why would it cause the event to run again despite the self switch?
You are very much welcome.
And thanks to Espon as well.
Do drop a thread again if you run into anymore problems.
Good luck!