Double door entrance, but one door opening when it is not supposed to.

Ok, thanks for all your input. This is where I am now, it works, but because it's autorun, it doesn't stop, and erase event isn't an option. Anything other than autorun, and nothing happens when the character is placed there.

As I keep saying, the origional bug (using triggers) only happens ONCE in the game, then everything works normally, otherwise I'd just stay with that

EDIT: Event touch doesn't seem to work either, surely if a player is on an event tile, it counts as touching

EDIT 2: I went back to the way I had it right at the start and I am convinced it's a bug within RMMZ otherwise it would be happening continuosly as opposed to just once, also trigger 3 is activating even though it's not being called anywhere. Also I tried running parallel and both dorrs opened together, but again only once, then only one door would work at a time

1.png
erase event isn't an option
can you explain why not?
Basically what I am looking for is player walks onto the transfer player tile, gets transferred to the door tile, door opens and the player walks out.
So sort of like a sliding door at the super market that opens automatically when you walk up to it, correct? I would just put a tile in front of it and have it remote trigger the door with the .start() command, especially if you don't want to deal with a plugin, checking for player coordinates, or changing the hitbox.

To remote trigger event 23 that has the code you want to run (or whatever number):
JavaScript:
$gameMap.event(23).start()
Okay so I really don't understand where you're going wrong, because it really really really isn't anything that complicated. Perhaps you have a typo or a rogue event screwing things up. In any case, see the below and try to implement the events exactly in the same way. Then, modify it to suit your needs.

Spoiler: The outside map
1710828436775.png
Spoiler: The events
Autorun Event
1710830620415.png

◆Control Variables:#0001 PlayerMapX = Map X of Player
◆Control Variables:#0002 PlayerMapY = Map Y of Player
◆If:PlayerMapX = 7
◆If:PlayerMapY = 4
◆Play SE:Open1 (90, 100, 0)
◆Set Movement Route:LeftDoor (MAP001)
: :◇Turn Left
: :◇Wait:3 frames
: :◇Turn Right
: :◇Wait:3 frames
: :◇Turn Up
: :◇Through ON
◆Set Movement Route:RightDoor (MAP001) (Wait)
: :◇Turn Left
: :◇Wait:3 frames
: :◇Turn Right
: :◇Wait:3 frames
: :◇Turn Up
: :◇Through ON
◆Set Movement Route:Player (Wait)
: :◇Through ON
: :◇1 Step Forward
: :◇1 Step Forward
: :◇Through OFF
◆Set Movement Route:LeftDoor (MAP001)
: :◇Turn Right
: :◇Wait:3 frames
: :◇Turn Left
: :◇Wait:3 frames
: :◇Turn Down
: :◇Through OFF
◆Set Movement Route:RightDoor (MAP001)
: :◇Turn Right
: :◇Wait:3 frames
: :◇Turn Left
: :◇Wait:3 frames
: :◇Turn Down
: :◇Through OFF
◆
:End
◆
:End
◆Erase Event

Left Door
1710828652266.png


Right Door
1710828678505.png

Spoiler: Interior Map
1710828794994.png
Spoiler: Transfer Event
1710830392557.png
This is what I am after, relatively straightforward, the character moves onto the left or right tile,
then it transferred to the corresponding door. The door opens, the player walks out the door and two squares down.

The only reason I tried parallel events was to see what happened, it worked once, then not again.

12.png
Now you really need to explain what is wrong with or missing from the solution I posted. It’s the exact thing what you are showing…
Oh, ok, sorry, I didn't see the events behind the spoiler tabs. Ok, yeah I tried that, it seems to work, but once the player moves 2 tiles down, it just freezes.

Is all of this not because there are two autorun events on the same map?
Why is it autorun instead of being handled by your ontouch event?
Why is it autorun instead of being handled by your ontouch event?
The on touch event does nothing
Then what's keeping the autorun from running as soon as the map loads?
Oh, ok, sorry, I didn't see the events behind the spoiler tabs. Ok, yeah I tried that, it seems to work, but once the player moves 2 tiles down, it just freezes.

Is all of this not because there are two autorun events on the same map?
Truly, where do you see two autorun events in my sample? From the start of this thread, you keep doing things that you were not instructed to do, and it makes helping you absolutely impossible.
Truly, where do you see two autorun events in my sample? From the start of this thread, you keep doing things that you were not instructed to do, and it makes helping you absolutely impossible.
Sorry, I wasn't specific. I was referring to the origional issue I had

EDIT: Went back to the origional configuration, instead, I used a conditional branch to check if the trigger was activated. Same result.
Sorry, I wasn't specific. I was referring to the origional issue I had
Just implement the solution I described. It’s been two months and I don’t understand why you keep doing this “I’m not gonna listen to your suggestions but I have a problem!” stuff. Just implement my events word for word, and from there make your changes one by one. If it stops working, reverse the changes.
It’s been two months man, and I suggested you the solution multiple times, and in the last one have gone into all the details.

EDIT: is there anyway you can share your project through DM? I can take a look at it and tell you how to fix it. It’s probably the quickest.
Truly, where do you see two autorun events in my sample? From the start of this thread, you keep doing things that you were not instructed to do, and it makes helping you absolutely impossible.
This is what I am wondering. I have thousands upon thousands of doors in my own project and "autorun" or "exit processing" is in exactly 0 of them.
This is what I am wondering. I have thousands upon thousands of doors in my own project and "autorun" or "exit processing" is in exactly 0 of them.
That's the thing, there's like ten ways to implement this kind of mechanic with event commands alone. The OP needs to decide on a method and stick with it, otherwise it's very hard to help him fix the issue. If the OP wants to use autorun for this because touch isn't working for him, he can, which is the example that I showed. It's unlikely that it hangs like he describes if he did everything described in my post. I mean, I tested it before copy-pasting it here.

Personally I prefer to use autorun as well in this case.
That's the thing, there's like ten ways to implement this kind of mechanic with event commands alone. The OP needs to decide on a method and stick with it, otherwise it's very hard to help him fix the issue. If the OP wants to use autorun for this because touch isn't working for him, he can, which is the example that I showed. It's unlikely that it hangs like he describes if he did everything described in my post. I mean, I tested it before copy-pasting it here.

Personally I prefer to use autorun as well in this case.
Blast it! You are right, I went back to the initial setup, made a new game with ONLY that mechanism and a door open mechanism, and everything worked fine, (Can't believe I didn't do this sooner) So there is a problem somewhere in my game. But it's strange that events on one map would cause a bug on another, and it only appears once in the game.

EDIT: Went to an old backup and redid the doors and exit, it seems to work fine now
Thank you all for your help and patience. 🙂
EDIT: Went to an old backup and redid the doors and exit, it seems to work fine now
Thank you all for your help and patience. 🙂
Happy you got it to work! Just remember that nine out of ten times when your game freezes, it’s an autorun with no exit/erase/off switch.
This thread is being closed due to being solved. If you need it reopened, report it to let us know why. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/double-door-entrance-but-one-door-opening-when-it-is-not-supposed-to.164879/