Security code to unlock door

SarahJay
11 Apr 2012, 19:43
How can I specify a specific numeric key code to unlock a door?

Here is what I would like it to look like.

This door requires a security code to enter.
<if player has code, then display "Please enter security code">
"1234"
The door is now unlocked.
<if player does not have code, then display "I don't know any codes. Perhaps I can search the computers for help.">

Pertex
12 Apr 2012, 11:16
hihoo,
i added a small tutorial to the wiki:
http://quest5.net/wiki/Unlockdoor

SarahJay
12 Apr 2012, 17:59
Oh, you are fantastic!!! Thank you!

SarahJay
12 Apr 2012, 18:13
Alright, I entered the components, but I cannot unlock the door. What does the player need to type to unlock the door (i.e., the use option is unavailable on the keypad... now what?)?

SarahJay
12 Apr 2012, 18:22
I was able to make it work under the verbs tab using "enter code on" as the verb to the keypad. I gave flavor text to help the user with this since "use" keypad is not working for some reason.

But the keycode works wonderfully now. :)