Jump to content
You are about to reply to a thread that has been inactive for 3002 days.

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

Recommended Posts

Texture animation - shows texture, moves it the offset, shows it again

So you should be able to do it by using  llSetTexture and then running through the animation offsets with llSetTextureAnim (without LOOP) then setting the next desired texture, animating it ... etc.

this has a 4x4 grid of animation poses, continuous loop ================

default
{
state_entry()
{
 llSetTextureAnim(ANIM_ON | LOOP, ALL_SIDES,4,4,0,0,14.0);
 }
  }

 

Link to post
Share on other sites

I think the question is can you have one animated texture play through, then a different one play through, and so on.

 

Yes, it's possible.  But it means you need to use a timer script.  llSetTextureAnim() has both length and rate, so your script will already know how 'long' the animation is.  Start it playing without looping, and set a timer for the total length.  In the timer, set it to the next animation (and reset the timer length to the new animations 'length'.)

 

If you have more than two, you can use a list of animations and parameters for them.  Then just have a counter to keep track of which one is currently playing.

 

Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 3002 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...