Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Link and Unlink on Cabinet with Doors

Sue Stonebender
Piano Craftsman
Join date: 7 Jan 2005
Posts: 219
08-11-2005 20:39
Some months ago I created a hutch with scripted doors. These work fine as long as you don't link them.

I'd like to sell this hutch. In doing so, I don't want to pass the nightmare of repositioning it with the unlinked doors to people who purchase it and may be new users (hence, not familiar with selecting both the two doors and the main unit before repositioning it in their home).

Can anyone suggest what they think may be the most efficient way for me to sell this unit, with perhaps a few smarts added into it that allows all three parts to remain linked until repositioned, and then unlink when done? I don't want to go into overkill on it (e.g., adding another prim that let's the user "lock/park" the parts before moving by simply clicking it first, and then clicking it when done moving to unlock again.)

Sorry if this is a stupid question to ask, but I want to be a conscientious sales person by not making it difficult for my customers to do what they will obviously need to do when they set this thing up.

Thanks in advance for any wisdom you might be able to share :^)
_____________________
Kurt Zidane
Just Human
Join date: 1 Apr 2004
Posts: 636
08-11-2005 20:45
What I would do, script the doors to move while in a link set. So that clicking on the hutch causes the doors to open or close. The other thing that could be done, would set the peace of furniture to respond to voice commands. So people could just say /11 50% to make the doors open 50%. Or /11 50 20 to open one door 50 percent and the other 20 percent.

If your interested in such a script contact me in game.
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
08-11-2005 20:50
It's not a stupid question, it's one I wish more furniture makers would ask.

You have two choices, I think:

One, you could use child prim movement to animate the doors, meanign it stays one object. This isn't a terribly good choice if there are more than two prims per door, the animation could look darn odd otherwise, each prim moving at a slightly different time. However, it's the most efficient method if the doors are relatively simple.

Or you could make it so when the owner closes a door, it uses a sensor to find the location of the cabinet and re-alligns itself.
_____________________
Sue Stonebender
Piano Craftsman
Join date: 7 Jan 2005
Posts: 219
Thanks
08-11-2005 20:56
Thank you, both, for such quick replies!

The doors are currently scripted to open when touched, and close when touched again. Ideally, I would love to be able to build some smarts in that does what you mentioned as the second option, Jillian: to sense the position and realign relative to the parent prim.

My achilles heel is that I am using a door script given to me by a generous colleague, but it's not modifiable. Perhaps I could go back to using a basic door script and add a sensor in that detects the position and realigns.

Need to send myself back to the script wiki school to figure out how to do this ;^)

Thanks again, very much!

**Sue.**
_____________________
Sue Stonebender
Piano Craftsman
Join date: 7 Jan 2005
Posts: 219
Thank you, Jillian.
08-11-2005 21:51
Just wanted to throw an embarrassing display of admiration at Jillian Callahan for what she contributes to this community. She not only came inworld to give me a hand, she went above and beyond ;^)

I continue to appreciate the things she puts out there so that noobs like me kind find our way through, and the very personal touch she adds along the way.

Thank you, Jillian. You rock!
_____________________
Sue Stonebender
Piano Craftsman
Join date: 7 Jan 2005
Posts: 219
And ...
08-11-2005 21:52
... thank you, Csven Concord, who continues to come to the rescue at every turn ;^)

I appreciate that abundance of help and goodwill that exists in so many corners of this place.
_____________________