Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Door that require a key to open

Started by pujeda507, December 23, 2007, 08:26:25 AM

0 Members and 1 Guest are viewing this topic.

pujeda507

how to make a event  if i have no key the door will not open if i have a key the door will open   
I do my best!!!

Demonic Blade

Don't worry, that's easy. All you need is 3 events and an item!

Here's how: Create the item. Call it "Key" (for example).
Now create the door. That's a simple event with a door graphic. Then give a Conditional branch. Choose tab 4 and click the circle beside "Item" and choose the "Key". Then you can teleport the player  or whatever happens when the door opens.

For example: If the player doesn't have a key, then when the player presses space in front of the door, it'll say something like; "You need a key to open this door.". Then when the player get's the key, it'll change it's graphic to an open door, and the player will be teleported through. Then change the graphic to a closed door again! Easy as that!
I wonder how many of my-reps are there for a reason, and not just because some jackass wanted to show off in front of some other jackasses...?
Probably a lot of them - and those people sure as hell don't deserve my pity, let alone my disgust.
That's right, let's see some more -Rep'ing! BOOYEAH!!

pujeda507

I do my best!!!

Demonic Blade

I wonder how many of my-reps are there for a reason, and not just because some jackass wanted to show off in front of some other jackasses...?
Probably a lot of them - and those people sure as hell don't deserve my pity, let alone my disgust.
That's right, let's see some more -Rep'ing! BOOYEAH!!