Jump to content

Is it possible..


AthenaStarfire
 Share

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

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