Jump to content

Texture reset to default


Edward Nussbaum
 Share

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

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

Recommended Posts

You'll have to stop llSetTextureAnim and then restart it (or vice versa).  Just use a regular light switch, as in........

 

i
integer gON;default{    touch_start(integer total_number)    {        if (gON)        {            llSetTextureAnim(ANIM_ON|SMOOTH|ROTATE|LOOP,ALL_SIDES, 1,1,0,PI*2,10*DEG_TO_RAD);        }        else        {            llSetTextureAnim(FALSE,ALL_SIDES, 1,1,0,0,0);        }        gON = !gON;    }}

 

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4225 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...