Blockland Forums > General Discussion

How to make a BL Keypad Door?

Pages: << < (2/6) > >>

MegaScientifical:

Not like it's easy in VCE. VCE is still difficult. Apparently, people who understand VCE it's easier than using default commands.

Kill All:

It's pretty easy with Vce
One the numers you do not press at all
Just make it so the variable is set to 0
Onactivate-client-modvariable-variable-set-0
1st number you press
Onactivate-self-vceifvalue-<var:cl:variable> == 0
variabletrue-client-modvariable-variable-set-1
Variablefalse-client-modvariable-variable-set-0
2nd number
Onactivate-self-vceifvalue-<var:cl:variable> == 1
variabletrue-client-modvariable-variable-set-2
Variablefalse-client-modvariable-variable-set-0
Continue as desired

The opening button
Onactivate-self-vceifvalue-<var:cl:variable> == (number of buttons pressed before this)
Variabletrue-client-modvariable-variable-set-0
Variablertrue-namedbrick-contentstart
Variablefalse-client-modvariable-variable-set-0

MegaScientifical:

You're sure it isn't simpler with default events? That sounds like a stuffload.

rooster767:

I made one myself. It is really simple. Can you go around enabling/disabling events? How it works is, once you click one number, it will enable the events for the next number, etc. And once you come to the last number/enter key, it opens the door. If you press any other numbers that aren't included in the code, or the pattern isn't in order, make it reset.
I can make a video or something showing you how it works. So this would be the perfect vanilla keypad door. It is also virtually idiot proof.

PurpleMetro:


--- Quote from: MegaScientifical on October 27, 2011, 06:58:37 PM ---You're sure it isn't simpler with default events? That sounds like a stuffload.

--- End quote ---
well yeah its easier with VCE but I just suggested default events so I can make it on any server I go to. even a Blockhead's server. but it dosen't matter now what kind of keypad door instructions you give me. as long as it works. btw boom needs to update his

Pages: << < (2/6) > >>

Go to full version