Ok, im trying to create a script/s that control a circle bed that i want to make vibrate and rotate all from the control of a panel on the wall. Now i figured out how to make it rotate by clicking the bed through touch but i cant for the life of me figure out the vibrate effect nor the controller to make each turn on and off. This is the rotate and touch scripts, any help?
default
{
touch_start(integer total_number)
{
llSetScriptState("rotation",TRUE); state spin;
}
}
state spin
{
touch_start(integer total_number)
{
llSetScriptState("rotation",FALSE); state default;
}
}
-------------------------------------------------------------------------------------
default
{
state_entry()
{
llTargetOmega(<0,0,1>,0.9,PI);
}
}