Hello everyone; I created a script for the rotation of a prim, I want the prim does not rotate when touched by other residents, I want to work only with the owner. This is my script: integer on = FALSE;
default
{
state_entry()
{
//llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
if (on == FALSE)
{
llShout (0, "device on" );
llTargetOmega(<0,0,2>, TWO_PI, 1);
on = TRUE;
}
else if (on == TRUE)
{
llShout (0, "device off");
llTargetOmega(<0,0,1>, TWO_PI, 0);
on = FALSE;
}
}
} Ty.