AthenaStarfire 0 Posted December 10, 2012 Share Posted December 10, 2012 To string together texture animations (another starts when the one before it ends) Link to post Share on other sites
Nefertiti Nefarious 10 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 post Share on other sites
Helium Loon 28 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 post Share on other sites
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now