Jump to content

scripting a door...


yggdrasil Monday
 Share

You are about to reply to a thread that has been inactive for 4261 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

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!

Link to comment
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

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4261 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...