Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Disable Sit in Pie Menu in your own prims

Drue Aridian
U of Wash. LIFE Center
Join date: 10 Nov 2005
Posts: 2
01-26-2006 12:33
Is there any way to disable the Sit in the Pie Menu of your own prims?

thanks,
Drue Aridian
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
01-26-2006 13:14
Closest you can get is to blank the text and unsit people as soon as they sit.

CODE

default
{
state_entry()
{
llSetSitText(" ");
llSitTarget(<0,0,0.1>,ZERO_ROTATION);
}

changed(integer what)
{
if(what == CHANGED_LINK)
{
key av = llAvatarOnSitTarget();
if(av != NULL_KEY)
{
llSleep(0.5);
llUnSit(av);
}
}
}
}
Metawraith Mistral
Ghost in the Machine
Join date: 26 Sep 2005
Posts: 166
01-26-2006 16:00
just to correct a typo in the above post

llUnsit should be llUnSit

it's case sensitive.
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
01-27-2006 06:16
From: Metawraith Mistral
llUnsit should be llUnSit
Fixed. I make that typo all the time, my fingers are programmed with "un is a prefix".