| Blockland Forums > Help |
| How to lock a door? |
| (1/1) |
| MarcellusCrow:
I am trying to figure out how to lock several doors at the push of a button. I want them to open normally, untill I flip a switch, causing 'Access Denied' to come up and for the door to stay shut if someone tris to open it. How would I go about doing thins? I don't want to use restrictions, like trust level and BL ID. |
| pecon98:
On the lever use Oncontentstart (or stop)>namedbrick (Door)>seteventenabled Use this to enable/disable the events used to open the door. |
| MarcellusCrow:
Thanks pecon |
| MarcellusCrow:
Pecon, I have to enter a variable into the 'setenentenabled' box. What do I enter? |
| Planr:
--- Quote from: MarcellusCrow on November 14, 2011, 03:45:55 PM ---I have to enter a variable into the 'setenentenabled' box. What do I enter? --- End quote --- Just put the number of the event line you want to change and check the box for enable/disable |
| Navigation |
| Message Index |