Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

attach item from box

Robinho Aarde
Registered User
Join date: 9 Dec 2006
Posts: 14
05-09-2007 04:28
Hello,

At the moment i have developed this object which does the following: If you touch a box (object A) it rezzes an object (Object B) from inside that box. The script within Object B then tells it to request permissions to attach to an Avatar.

Firstly:
Now all this works and it's great, but i'd rather have a way that automatically attaches object B to the Avatar from straight inside the box (with no need to Rez it in world before asking permission to attach. In this way you could rez the attachment on land that doesn't have enough space to accomodate Object B (if it were say about 180 prims in complexity).

Secondly:
I know permissions is important but is there a way round it so it doesn't ask the avatar but attaches it automatically?

Any help really appreciated.

Robinho/...
Speon Beerbaum
Registered User
Join date: 29 Mar 2007
Posts: 11
05-09-2007 04:51
First question: Not sure about that, but i think that won't work. About that "land full" thingy, you could rezz it with a temporary flag and on attach remove the temp flag. Just an idea...

Second question: Here i'm pretty sure that this won't work. You always need the avatars permission to attach something using a script.

regards,
speon
Simil Miles
Creator
Join date: 1 Mar 2007
Posts: 300
05-09-2007 05:03
From: Robinho Aarde

Firstly:

Impossible.
Solution is to make the rezzed object temporary, before it's rezzed from the box.

From: Robinho Aarde

Secondly:

Permissions are not important, they are required, but only once.
_____________________
UnConWTech @ Flo (144, 84, 224) http://unconwtech.free.fr

SL books http://astore.amazon.com/secondlife-sl-20/

Need a beta tester for quality assurance ?
Need a translator for English, French, Spanish ?
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
05-09-2007 05:03
Speon is correct, permissions must be granted in order to attach. Furthermore you can only attach to the object's Owner.

What about using llGiveInventory instead of rezzing the object and then having them manually attach from inventory?
_____________________
I'm back......
Robinho Aarde
Registered User
Join date: 9 Dec 2006
Posts: 14
thanks
05-09-2007 05:12
cheers for the replies, I'm going to play around with the temporary idea for a while - a good point.