Zen Ming
Registered User
Join date: 19 Mar 2005
Posts: 2
|
05-19-2005 19:01
Looking for an Automatic Door Opener. Like Sliding Glass Doors at the super market. Where can I find one?
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
05-20-2005 02:01
I believe there are examples of this in the Script Library, Wiki, or select LSL examples.
If you can't find one, I'll send you the USL version in-world.
_____________________
---
|
Alysa DeFarge
Registered User
Join date: 31 Jan 2005
Posts: 77
|
05-20-2005 07:38
I've been looking everywhere for this.. I see lots of sliding door scrips.. and a metal sliding door script that refuses to work... but I haven't been able to find one to make the door automatic..
it should open when an avatar nears it, stay for a few seconds, then close again... I have it all but the avatar detection... I've used the avatar detection script here (on the second invisible prim), but I must not know how to use it, cause that just made it phantom... without affecting the actual door.
|
Surina Skallagrimson
Queen of Amazon Nations
Join date: 19 Jun 2003
Posts: 941
|
05-20-2005 07:47
Use a volume detection function.
While a person is within the defined space hold the doors open, else keep them closed.
_____________________
-------------------------------------------------------- Surina Skallagrimson Queen of Amazon Nation Rizal Sports Mentor
-------------------------------------------------------- Philip Linden: "we are not in the game business." Adam Savage: "I reject your reality and substitue my own."
|
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
|
05-21-2005 15:34
From: Alysa DeFarge I've been looking everywhere for this.. I see lots of sliding door scrips.. and a metal sliding door script that refuses to work... but I haven't been able to find one to make the door automatic..
it should open when an avatar nears it, stay for a few seconds, then close again... I have it all but the avatar detection... I've used the avatar detection script here (on the second invisible prim), but I must not know how to use it, cause that just made it phantom... without affecting the actual door. Exactly what Surina says, except that I might add, if I understand you right, make an invisible sphere or cube that is like a "field" for where you want the door trigger to be. You said the door was phantom, which leads me to believe you put the volume detect in the door itself. Instead, you make an invisible box that extends through both sides of the door and put the volume detect in that - then use a linkmessage to have your volume-detect shape tell the door to open, wait 15-20 seconds, and then close itself it there's nobody inside the "field".
|