Script sample 4


ROTATE OBJECT - If you put this script into the contents of an object, it will make the object rotate.

 

//--------------------------------

//The third number in the parameter list controls the speed. If you replace '1' with '2', the object will

//rotate twice as fast.

default

{

    state_entry()

    {

       llTargetOmega(<0,0,1>,0.3,PI);

    }

 

}