Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

One way door?

Weston Graves
Werebeagle
Join date: 24 Mar 2007
Posts: 2,059
08-24-2008 05:46
A while back I complained about scripts not working properly for me and one door in particular that wouldn't open until I tried many times. Now everything has been working fine for several days - except that door.

I realize now it won't open from one side, but if I cam into the other room and press it, it will open just fine. Have I discovered a one way door? If so this could be a cool commodity, but of course easily thwarted by camming through to the other side. I purchased this instead of building it, but the script appears to be public domain.

Would resetting the script help me to open it from both sides? I don't want to mess up its alignment.
Faithless Babii
Iam F.A.B
Join date: 5 Feb 2007
Posts: 1,079
08-24-2008 06:17
really really depends what type of door it is...i have a few AAA doors and can reset them just fine without altering the alignment or positioning.(but other doors have just gone crazyyyy when i reset them)

I too have had doors and still do, that i have to touch several times to get them to work one day- the next day just fine!

I think its the SL Gremlins...
_____________________
I'm tired of all this nonsense about beauty being only skin-deep. That's deep enough. What do you want, an adorable pancreas?
Zaphod Kotobide
zOMGWTFPME!
Join date: 19 Oct 2006
Posts: 2,087
08-24-2008 06:36
Sounds like the prim containing the door script itself is not linked as the root prim, which it needs to be for the touch event to work anywhere on the door.
_____________________
From: Albert Einstein
Problems cannot be solved at the same level of awareness that created them.
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
08-24-2008 06:55
From: Zaphod Kotobide
Sounds like the prim containing the door script itself is not linked as the root prim, which it needs to be for the touch event to work anywhere on the door.
But only if there are different prims being touched on the two different sides. (For now, anyway. Come llDetectedTouch*(), one-way doors will be a dime a dozen!)

About resetting the scripts: Fai is exactly right. If it's some variant of the old Timeless Linked Door script, resetting should make it re-read the coordinates in the door prim's name and description field, and all should be well; for some other kinds of doors, all bets are off. But the thing is, I don't think it's a script thing at all, if it's working correctly from one side. I'm thinking there must be some prim getting in the way of touching the other side.
Vampaerus Wysznik
bad lurker
Join date: 12 Apr 2008
Posts: 1,011
08-24-2008 07:01
another thing to consider: how is the WALL built? If the wall is one big mega-prim that uses an alpha channel to define where the opening is, the door may protrude from the bounding box on one side, but not the other. Then you would be clicking on the wall even tho it is invisible.
_____________________
Small scale web hosting for your SL or RL. Payable monthly in L$.
Weston Graves
Werebeagle
Join date: 24 Mar 2007
Posts: 2,059
08-24-2008 09:41
Actually, thanks to you guys, I may have found it! There is a tree outside near the wall the door is in. The image of the leaves and limbs is well outside the house, but the actual prim with the alpha invisible part surrounding the leaves is covering the door. This tree has a lot of wasted invisible space surrounding it, more than ususal.

I've ditched the tree and the door works fine now. Mystery solved! The lesson here is to look at how far the invisible part of the prims on the tree extend out from it before buying. Who knew?

Thanks.