I saw something about this on steam forms, but i followed the instructions over and over for 2 hours and it didn't work. The person who also followed the directions got it to work. I'm not sure what i'm doing wrong. I also want to know how to get rid of a key once its used, but keep the door opened.
How to make a locked door and able to open it with a key.
RPG Maker 2000/2003 SupportThere are multiple ways to do that. Here is the easiest way:
I have rpg maker 2003, hence the form im on. Thanks for the picture though!
Hy, rpg maker 2003 should have the same events like newer ones, at least thoes up there like john showed you, the only difference is visually, else its almost the same... (at least for this event)
If you want the key to be thrown away, just do as john already showed and add an Self switch when you opened the door + throw the key away, you can show a message (dont need this key anymore, threw away) on the second page then, just leave the door event...
Oh oops. Like Spaske says, it should be pretty much the same, just might look a little different.
Can you show a screenshot of how you tried to do it? It would be easier to see what you did wrong, so it would be easier to help you out.
Thank you so much! I got most of it so far, but I can't seem to find where to create the move route.
sorry I deleted it. My bad
Thank you so so so much! Ive spent so much time on this and you solved it in an Instant! I really appreciate it! You're a life saver.
No worries! Happy to be of assistance. If you need anything else don't hesitate to ask.
H
Hello, sorry to bother you again. I was hoping I could get some assistance again. I want the key to be removed once the door is opened. Also, is there a way to still be able to enter the just opened door without a key? I just want the door just opened still enterable after the key is removed.
Then you would just change item key -1
Page 1 -> change items
Page 1 -> change items
oh wow, that was simple. Sorry i'm very new. Do you know how to keep the just opened door still enterable? Thanks!
If you do it the way I showed you, the door disappears and you can move back and forth through it at your leisure. If you want the door to still be there in its fully-opened graphical state, change the graphic for page 2 of the event to the open door.
Another thing you can do, is when you open the door with the key, also flip a (self)switch.
Then make a new page in the event, with that switch in the conditions. In this page, just have the door act like any other door.
The new page will only be active after the switch is flipped, so the next time you activate the door, it will already be unlocked.
Then make a new page in the event, with that switch in the conditions. In this page, just have the door act like any other door.
The new page will only be active after the switch is flipped, so the next time you activate the door, it will already be unlocked.
rm2k3 doesn't have self switches, the solution I showed before already uses a switch. 😛
Oh. Then a just regular switch. Scrap the "self" part, haha.
The solution you showed, removes the door completely right? Or is replaced with the image of an open door. So in your case, the door is left open, in my case the door is closed, but unlocked.
My way is not better, just a slightly different. It is a tiny detail, but it shows just a bit different. Which way is preferred, that is different per developer, I guess.
It also depends on if the player goes to another map by activating the door. If the door is just a door and not a transfer to another map, then my way only works if the door is closed after the player passed trough.
Anyhow... Maybe I shouldn't go into too much detail. Since OP is a starter I don't want to make things more complicated. 😛
I tried going back through the door after I opened it for the first time and I couldn't get back through.(without the key) It's just not teleporting me to the next map while the door is open. I tried adding a transfer player command on the page with its opened state. No luck.
haha thanks for dumbing things down for me!
Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-locked-door-and-able-to-open-it-with-a-key.144711/