Jump to content

Change size in all prims


Ayane Philly
 Share

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

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

Recommended Posts

I have an object and i wanna change it in size. I was using a script like this, but i don´t wanna use one script to each piece because the object has many prims and to set each prim size because the object has diferent sizes(the childs) is a pain in the ass. How could i change it with only one script?...I want it  ONREZ, if anyone could help me with this...thanks.

 

 

default
{
    state_entry()
    {
        llSetLinkPrimitiveParamsFast(LINK_THIS, [
         PRIM_SIZE,<1.15009, 1.15009, 1.15009>]);
    
    }
    
        on_rez(integer param)
    {
           float time = 0.2;
        llSleep(time);

        
         llSetLinkPrimitiveParamsFast(LINK_THIS, [
         PRIM_SIZE,<5.12338, 5.12338, 5.12338>]);

  llSleep(time);

        
          llSetLinkPrimitiveParamsFast(LINK_THIS, [
         PRIM_SIZE,<6.76777, 6.76777, 6.76777>]);

 

...................ETC..
       

Edited by Ayane Philly
Link to comment
Share on other sites

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...