Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Door Scripts

Slayora DeSantis
Registered User
Join date: 29 Dec 2006
Posts: 66
04-26-2007 17:34
I'm new to using the premade scripts in objects. I recently made a door, and put the door script in..the one that you can put in specific users...a security door.

Anyway..when I drop the script in, and test the door, it opens strangely. I've rotated it, etc, and it still opens in a way that I dont wish it to.

Do you also have to have a hinge script, or can you just use the door security script to place into the door and it works?

I think that I'm missing something somewhere. The script is not faulty.

Any help is much appreciated!

Thanks!
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
04-26-2007 18:22
You need to cut the door in half for scripts that rotate without changing position.

That way the middle pivot of the prim will be on the visible edge.
Cavorticus Smashcan
Registered User
Join date: 4 Jan 2007
Posts: 6
Applying Door Scripts
05-02-2007 15:50
Here's what I've done;

I make a very small item and apply the script there. Then I move it to the 'hinged' side of the door. I select the door, then the small item and join them. (Ctrl-L)
Exit the edit mode now and try it. You'll see that the door swings normally.

Cavorticus Smashcan
Dytska Vieria
+/- .00004™
Join date: 13 Dec 2006
Posts: 768
05-02-2007 16:56
My doors are a box, Size x=0.1, y=3.6, z=3.0. Pathcut to B=0.379 E=0.870.

Make one of those and use your script, see if it works.
Soen Eber
Registered User
Join date: 3 Aug 2006
Posts: 428
05-02-2007 16:59
If that doesn't work and you're using the Multi-User Lockable Door script, send me an IM and I'll drop you a premade door which already has the hinge prim incorporated.