Public feed #887898

Anonymous

public text v1 · immutable
Raw Edit
·published 2008-02-01 18:18 UTC
rendered paste body
integer contatore = 0;

default
{
    state_entry()
    {
        llSetTimerEvent( 9.5 );  // create a "timer event" every x seconds.      
        contatore = contatore + 1;
    }

    timer()  // do these instructions every time the timer event occurs.
    {
        // a choose random number between 0. and 10 for use as a scale factor.
        llSetScale(< 7,10,(llFrand( 0.5 ) + 1.2) > ); // set object scale.

        contatore = contatore + 1;        
        if(contatore == 1000)
        {
            llResetScript();
        }

    }
}