Jump to content
  • 0

How do I stop an animated texture? I removed the script, but it won't stop animating.


CpChan
 Share

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

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

Question

Hi all- Not sure this is the right area to ask, but I'm trying to figure out how to stop an animated texture from animating on a mesh body. I removed the animation script, but it continues to move. Anything I can put in to stop it?

 

Thank you in advance!

  • Thanks 1
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 2

There are a number of persistent prim properties that survive removal of the scripts that enable them. Here's a scrubber script that's overkill for your purpose...

http://wiki.secondlife.com/wiki/User:Toady_Nakamura/Scrubber_Script

I think you probably want to remove every line of that script except for llSetTextureAnim(FALSE,ALL_SIDES,1,1,0,0,0.0);

That would result in approximately...

default
{
    state_entry()
    {
        llSetTextureAnim(FALSE,ALL_SIDES,1,1,0,0,0.0);
        llOwnerSay("Prim Scrubbed Clean... ");
        llRemoveInventory( llGetScriptName() );
        // vanish without a trace...
    }
}

Place that script in the mesh you want to rid of the texture animation. When you rez it, it should clean itself and remove the script.

Edited by Madelaine McMasters
  • Like 4
  • Thanks 1
Link to comment
Share on other sites

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