How to make a locked door?

Hi everybody I'm new to RPGMaker. I'm currently making a game within RPGMaker MV for a college project and I'm currently loving it, I think I've found my new hobby.

However, I've hit a snag. I've created a maze within a dungeon and I want to lock off a small section and I've put a statue in there which will heal the party. I've found what looks to be a perfect guide on youtube which is really easy to follow, but the problem is that in the event for the door it starts with an If statement. (If: Player has Gate Key) and then goes on to some text then a Yes/No option to open the door. I understand everything after the If statement, just not how to create the If statement itself.

Does anybody have any advice. I've linked the video below as I don't seem to be able to find any other guides on locked doors for MV.



Thanks for any help.

I've moved this thread to MV Support. Thank you.


MV Tutorials is for a tutorial you wrote yourself and wish to share.

You should be able to create the if statement with the conditional branch event command. Try that and see if it works.
@Paul Faulkner when you create the ''door'' event, just go on the very first line of text and then RIGHT CLICK--New--Conditional Branches.

If you want your team to have a specific item to open the door (like a key) you need to go on the last page where ''items'' are, and the game will check if your team has that item and then open the door.

Do not forget to put all the door stuff the game creates right INSIDE the conditional branch
Something that I think you will find really helpful is Andar's compilation of info for new users. Among the things he linked to is a playable tutorial for event commands. Play through that, and you will have a solid grasp of probably the most important single aspect of implementing game play. Don't worry that it was made for Ace, it's the same in MV.
@Paul Faulkner when you create the ''door'' event, just go on the very first line of text and then RIGHT CLICK--New--Conditional Branches.

If you want your team to have a specific item to open the door (like a key) you need to go on the last page where ''items'' are, and the game will check if your team has that item and then open the door.

Do not forget to put all the door stuff the game creates right INSIDE the conditional branch

Thank you! There's still a lot I don't know and there are a lot of options to go through in the event creator, I probably would never had found this!
Hi everybody I'm new to RPGMaker. I'm currently making a game within RPGMaker MV for a college project and I'm currently loving it, I think I've found my new hobby.

However, I've hit a snag. I've created a maze within a dungeon and I want to lock off a small section and I've put a statue in there which will heal the party. I've found what looks to be a perfect guide on youtube which is really easy to follow, but the problem is that in the event for the door it starts with an If statement. (If: Player has Gate Key) and then goes on to some text then a Yes/No option to open the door. I understand everything after the If statement, just not how to create the If statement itself.

Does anybody have any advice. I've linked the video below as I don't seem to be able to find any other guides on locked doors for MV.



Thanks for any help.


I think I would recommend the SRDude beginner tutorials

they are all quite short and very easily watchable and give a great starting point for beginning your first project. At least, they certainly worked for me!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-locked-door.78842/