Help With Event

Hello.


I am having a hard time figuring out what I am doing wrong.


Basically, I have an opening event where my main character goes around snooping in some ruins and ends up triggering a switch that opens a nearby door. I have managed to get it working--the whole eventing that scene. The problem I come across with is after, when I am already in-control of the Playable Character (PC).



The opening scene ends with the door opening, however, when my PC comes close to the opened door, it animates itself to that opening door animation. I would like for that NOT to happen.


The door event has three pages attached to it. The first page is blank. The second one has this on it, with the trigger set to Parallel and conditions set to having the switch "101: Secret Door" turned on.


Play SE: Earth4 (90, 100, 0)
Set Movement Route: This Event (Wait)
    >Turn Left
    > Wait: 3 frames
    > Turn Right
    > Wait: 3 frames
    > Turn Up
    > Through ON
Control Self Switch: A = On
Exit Event Processing


Then the 3rd page has the trigger set to Player Touch and the conditions set to Self Switch A is on.


It is when my player touches this event that the door animates itself.


So, yeah, help with this is very much appreciated.
Most possible is Human mistake in this case. I would recoment checking this out first, before we concentrate on other not common stuff.


Please make Pictures of all 3 whole Eventpages and Post them here. No use to start the guessing Game at the moment.


Windows "snipping tool" is easy to use for this if you dont know other Grafic Programms to paste and safe Pictures.
Most possible is Human mistake in this case. I would recoment checking this out first, before we concentrate on other not common stuff.


Please make Pictures of all 3 whole Eventpages and Post them here. No use to start the guessing Game at the moment.


Windows "snipping tool" is easy to use for this if you dont know other Grafic Programms to paste and safe Pictures.



There really isn't anything on event pages 1 and 3. The only one that have any eventing on them is on page 2 and what is on it is already provided on my first post. I would upload images but for some reason my internet connection (or this forum) won't let the upload finish.
The most likely culprit is that on your third page, it starts the event all over again. Basically, on your second page, you tell the event to run Parallel (I'm guessing because you have another event running on Autorun, right?) and to open the door when switch "101: Secret Door" activates and then you tell it to switch pages using the Self Switch. If your third page has the the door graphic, and all the door move routes, then when your player approaches the door, it will automatically run the event again.


So what is it you are trying to do exactly? Do you want the door to permanently stay open after the first time it opens? Do you want the door to stay open until the player leaves the room and if they go back in the door will be closed? Do you want the door to open during the event and then close again before the player leaves the room?


EDIT: Also, I know you said you had problems showing pictures, but if you can, pictures usually help a lot in situations like these.
The most likely culprit is that on your third page, it starts the event all over again. Basically, on your second page, you tell the event to run Parallel (I'm guessing because you have another event running on Autorun, right?) and to open the door when switch "101: Secret Door" activates and then you tell it to switch pages using the Self Switch. If your third page has the the door graphic, and all the door move routes, then when your player approaches the door, it will automatically run the event again.


So what is it you are trying to do exactly? Do you want the door to permanently stay open after the first time it opens? Do you want the door to stay open until the player leaves the room and if they go back in the door will be closed? Do you want the door to open during the event and then close again before the player leaves the room?


EDIT: Also, I know you said you had problems showing pictures, but if you can, pictures usually help a lot in situations like these.



The third page's graphic is blank. It's the second page that has the image of the door and the move route associated to opening it. I set up the pages so that the 1st page runs on "Action Button", the second on "Parallel", and the third is "Player Touch". The only thing I have on the third's page right now is the transfer command.


EDIT: I am trying to upload the images of the event pages.
The problem with descriptions is that they are usually incomplete and might be wrong - just like your descriptions for example:

Then the 3rd page has the trigger set to Parallel Touch and

There is no trigger "parallel touch", so you made an error in the description. Which happens to a lot of people and can't happen in a screenshot.


And a lot of the possible info you didn't give at all - a screenshot will show us everything, even things you didn't know that they affect the result.


Additionally, having both "control self switch" and "exit event processing" to shut off a parallel is like having two steerings on a car - one is the usual solution and having both can cause problems.
Sorry didnt ment to be harsh in the first post, iam not native english and sometimes missing the correct words to explain difficult thoughts of mine.


My first thought was also that the paralell eventside just gets executed again 1time, but when the self switch is on and like op explained it, the seccond page


should not be active in this constelation. I doubt that he got a defect editor, thats why Pictures can help solve editor problems one normaly doesnt think of, because


there is so much one can do to get strange event behaviors.


Edit:


Maybe he marked the repeat command in the moveroute(should not cause this but who knows), or he accidently got a autonomous moveroute on the 3rd page?

Original thread: https://forums.rpgmakerweb.com/threads/help-with-event.62394/