Door Issues

I'm trying to make an event that will let someone know the door is locked and requires a key to open, I can do the first part but when the text comes up the door disappears. I tried checking fixed direction but then when the key is in my inventory the door animation doesn't take place. Do I need to make another event page stating something else?

Script.png

Untitled.png
I've moved this thread to MV Support - this is not a technical issue. Please be sure to post your threads in the correct forum next time. Thank you.


Two ways.


Have two pages - first one just shows the message and has Direction Fix checked.  Second one is conditioned by the key in inventory and just has the door open and the transfer.  Use this if the player will always have the key in inventory.


Other way:


check Direction Fix.  Then put Direction Fix OFF at the start of the move route.  If you are transferring them to another map, you can leave it at that.  If you are just making them walk through the door, add the closing animation and turn Direction Fix ON at the end of the move route.


Either way, get rid of the Erase Event command - that'll just make the door disappear (and reappear when you come back to this map).


If you want to make sure they've got the key, then take the key away, then let them go through the door any time in the future without having the key, do this:


Page 1: Direction Fix ON, conditional branch to see whether they have the key or not - if they don't, show the message; if they do, remove the key, do the move route with direction fix off and turning, then turn on a self switch.


Page 2: conditioned by self switch, regular door event commands.

Original thread: https://forums.rpgmakerweb.com/threads/door-issues.62618/