Jump to content
  • 0
CpChan

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

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

Share this post


Link to post
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 3
  • Thanks 1

Share this post


Link to post
Share on other sites
  • 0

Thank you so much! That did the trick, and I'm definintely saving a copy of this script for later. I've had plenty of projects ruined by an animated prim!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...