Editable! / Attach an object to to an Avatar on Touch
"Legs, arms, torso, head ... etc.. Only touching the object containing the script."
This script is ready for use!
But to change it requires minimal knowledge about this language.
Inside you can find some details or lines of help, but will not find a tutorial about it.
Alota ♥
Pd:This product is intended for you to sell with your own creations,
not to be sold individually as such. Thx u!
The price for the convenience is worth it!
The creator tells you that this comes from the LSL website BUT, the convenience of having the script premade is well worth the linden. The creator even includes the option of attaching it to the other body parts IN THE SCRIPT so all you have to do is copy and paste. I'd buy from this creator again.
Don't buy Copied from LSL Portal
Don't buy Copied from LSL Portal - Just go to http://wiki.secondlife.com/wiki/LlAttachToAvatarTemp
[07:56] Cannot attach object when someone is sitting on it.
[07:56] Cannot attach object when someone is sitting on it.
i cant get it to attach when some 1 uses the thing..but the menu, button did pop up...
It's a good script if you edit it a little.
To make it work to who ever clicks on it,instead of the owner, I changed the event state_entry to this:
state_entry()
{
// llRequestPermissions( llGetOwner(), PERMISSION_ATTACH );
}
The" //" will avoid permission is requested as soon as the object is rezzed. Then, I added this new event:
touch_start(integer total_number)
{
llRequestPermissions( llDetectedKey(0), PERMISSION_ATTACH );
}
And now, when my soda machine rezzes a new coke can, who ever clicks on the can will get it and drink it. : )
easy to use
easy to use , but unfortunately its also owner only , so it only attaches tot he owner and not anyone else ;-(