08-19-2012 07:26 PM
can someone please help me? i want to script a door i have, that is attatched to a building i made. but i want the script to open the door, and close it, while being password protected. i've looked at many scripts, some are good for my door, but im unsure how to go about editing the script to make it password protected. thank you in advance!
08-19-2012 07:48 PM
There are many ways to make a door (or anything) password protected. Basically, though, you just want to add a sensor of some kind, usually a listener, that can tell when an approved person is trying to enter. Match whatever information comes from the person with what the script expects to hear, and open the door.
You should be aware, of course, that locks are useless in SL. A locked door is interesting but anyone can get through one, so it really becomes an annoyance.
BTW, the simplest and best door script in SL is http://community.secondlife.com/t5/LSL-Library/Sim