AthenaStarfire Posted December 10, 2012 Share Posted December 10, 2012 To string together texture animations (another starts when the one before it ends) Link to comment Share on other sites More sharing options...
Nefertiti Nefarious Posted December 11, 2012 Share Posted December 11, 2012 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 More sharing options...
Helium Loon Posted December 11, 2012 Share Posted December 11, 2012 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 More sharing options...
Recommended Posts
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