Making a door that closes correctly...?

Hi there!

I've been lookng for the answer for a few days... I apologize if the answer is somewhere in the forums already, but I can't seem to find exactly what I'm trying to do for some reason...  If this does exist please point me in the right direction...

I'm new to RPG Maker and am trying to understand some things... so... sorry if this is a dumb noob question.

I am trying to make a door inside of a building that does not transfer the player anywhere, just open on command and then close on command.  I don't want the player to walk through automatically.  I don't want the door to do anything but open so the player can walk through as he pleases with no door motions after that until the player chooses to close the door himself via an action button press.

I have the opening part no problem.  This following part is what I need help with:

After the door opens and the player decides it's time to close the door, if they close it with the action button from above (inside the new room they entered), it works perfectly.  If they leave the room and turn around to close the door from the first room with the action button, the door flickers a bit before closing the way I want it to.

I just want to get rid of the flickering.

Here's what I have.  Please let me know what I'm doing wrong?  Thank you for your time!! 🙂

[IMG]http://img.photobucket.com/albums/v324/chibichibisaturn_2000/Doorevent1.jpg[/IMG]

[IMG]http://img.photobucket.com/albums/v324/chibichibisaturn_2000/Doorevent2.jpg[/IMG]
It's because you don't have Direction Fix checked.


With this unchecked, the event "turns" towards you when you interact with it. This is fine when you're below the door, as the "down" direction is the default closed door sprite. But when you interact with it from above, it will turn "up" before it starts the move route you've assigned. And the "up" direction on a door is NO graphic. So it'll disappear briefly, then reappear, and do the open/close animation.


So, check the Direction Fix box, then at the very start of your move route add a Direction Fix OFF command, and at the very end of the move route add a Direction Fix ON command.
Aaaah ok that makes sense.  I just did that and it works perfectly now.  Thank you so very very much! 🙂  
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/making-a-door-that-closes-correctly.20573/