RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] Door that require a key to open

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 86
"MHM"
how to make a event  if i have no key the door will not open if i have a key the door will open   
« Last Edit: December 23, 2007, 11:58:12 PM by pujeda507 »
I do my best!!!

***
Rep:
Level 86
I hate everyone except the ones I don't hate...
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!!

**
Rep:
Level 86
"MHM"
thank you men
I do my best!!!

***
Rep:
Level 86
I hate everyone except the ones I don't hate...
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!!