• Announcements

    • Xiola Linden

      The New Community Platform   03/21/2017

      We are still working on making adjustments and changes to the new platform. Thanks  to everyone who has been sending in feedback and filing any bugs you've encountered! 
Sign in to follow this  
Followers 0
yggdrasil Monday

scripting a door...

2 posts in this topic

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!

Share this post


Link to post
Share on other sites

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/Simple-Hinge-Action/td-p/875331

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  
Followers 0