Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rezzing an object to an attachment point?

Motoko Karu
Registered User
Join date: 28 May 2008
Posts: 11
11-21-2008 08:59
Hello Everyone,

I was wondering if the following is possible?

I've been developing a multi-purpose braclet, that contains various tools and scripts, such as flight assist, super jump, sky-platform, etc. Sort of a mini-mystitool in a bracelet. ^.^

One of the latest components I'd like to add is a basic shield. At present, the shield
object is contained within the bracelet along with the shield rezzing script.

Invoking "/10 shield on" causes the script to aquire my AV's location, and after adding some offsets, it rezzes the shield around me.

This works well, but obviously I cannot move around since the shield is static and rezzed on the ground.

I'm curious if it may be possible to have this shield rezzed and attached to say my chest or pelvis (or any other attachment point for that matter)

Is something like this possible? I'm assuming using llAttachToAvatar would be a start??

If not, I suppose it would be possible to make the shield into a sort of follower. (Something to think about I suppose)

Thank you/Arrigato.

--Motoko
Dylan Rickenbacker
Animator
Join date: 11 Oct 2006
Posts: 365
11-21-2008 09:14
I guess if you put the attach function in an on_rez event in a script within the shield itself, it should be doable. A follower will work too, but of course it will always lag behind a little when you walk.