Author Topic: How do you make keys?  (Read 1498 times)

Im trying to make a block that allows you to open a door when you get it (key). But it only opens to people with keys....i know it can be done. But how?

Simple. Disable (not delete, but disable) the event on your door that makes it open, and name the brick. Then set your key to:
on activate or on player touch > Named Brick (the name you gave your door opener here) > set event enabled > (the event number of the brick that lets it open here) > [check the box].

For a realistic affect, you can also set the key to disapear when clicked/touched.

I cant seem to get it to work =/ Where is the number i need to type in the box? Do i even need it? I did everything else. Disabled the door open event, made a key, set it to those settings and clicked it. the door wont open. :panda:

i still need to know. It's for my new build.

Hmm... I'm afraid I'm not sure quite how to explan this. Are you using JVS doors? I need to know so I can make a tutorial video for you.

I don't believe there are any other door mods.

Also, please keep add-on specific questions in that add-on's topic.

No, he could have made his own door out of bricks using wrench events.

yeah I am using JVS doors.

Alright, then. I will make you a tutorial video.

wow thanks. you didn't have to go through that trouble.


thanks it worked :p
One question though. When you use the key the door opens again even after you open it. So how do you make it to where  it only works once and the door wont open for everyone else.

nevermind i figured it out. So yeah thanks again. very helpful.


Hey i do have a problem. I made it so the key opens the door one time...but if ANYONE clicks the key the door opens for the first person to open it.... no matter who got the key. Anyway is there a way to make it so the door only opens for the person who clicks it.