Jump to content

llSetScale conflig for grow slowly


You are about to reply to a thread that has been inactive for 1027 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Would someone be so kind to help me with this detail?

I need to create a ball that grows slowly for an experiment, someone could help me with the correct script line, I'm just using on rez: llSetScale

but basically from small it happens to big, and it does not work for me =( the effect u.u must be appreciated 

 

 

 

 

Link to post
Share on other sites

mebbbe something basic like....

vector startingSize;
integer tog;
default
{
    state_entry()
    {  startingSize = llGetScale();
    }
    touch_start(integer total_number)
    {
        if( tog = !tog )
        {  llSetTimerEvent(0.02);
        }
        else
        {  llSetTimerEvent(0.0);
           llSetScale(  startingSize );
        }       
    }
    timer() 
    {  llSetScale(  llGetScale() + <0.005, 0.005, 0.005> ); 
    }
}

 

  • Like 2
Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 1027 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...