Jump to content

Carlo Ghoststar

Resident
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Carlo Ghoststar

  1. 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;

        }

    }

×
×
  • Create New...