Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Discussion: Auto-Detacher

Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
06-03-2006 18:50
CODE

// It stops newbies from wearing boxes on their heads.
default
{
attach (key Avatar)
{
if (NULL_KEY != Avatar)
{
if (llGetAttached ()) // Are we really attached?
{
llRequestPermissions (Avatar, PERMISSION_ATTACH);
}
}
}
run_time_permissions (integer Permissions)
{
if (PERMISSION_ATTACH & Permissions)
{
llDetachFromAvatar ();
}
}
}
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Original Thread
06-05-2006 21:14
/15/a1/111523/1.html
_____________________
i've got nothing. ;)
Tex Armistice
Registered User
Join date: 13 Dec 2005
Posts: 20
06-09-2006 18:41
Aww, no fun, it's a right of passage for all newbies. And I even still do it every now and the :)