Carlo Ghoststar
-
Posts
4 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by Carlo Ghoststar
-
-
Thank you! :matte-motes-big-grin-wink:
-
-
If someone could please help me, I need help changing the activation of a script. The speed and direction of the script is correct, I would like to change it to activate when an avatar sits on the object instead of on touch. Any help is much appreciated.
default
{
state_entry()
{
llSay(0, "Ready to for a spin!");
state still;
}
}
state still
{
touch_start(integer total_number)
{
llTargetOmega(<0,0,-0.4>,PI,1.0);
state rotating;
}
}
state rotating
{
touch_start(integer total_number)
{
llTargetOmega(<0,0,1>,0,1.0);
state still;
}
}
Help changing a script to activate on sit, please.
in LSL Scripting
Posted
Thank you! I don't really know what I'm doing. I used a script I found in a forum search as a guide.