I'm working on a roll-top door. I put it on LOOP and PING_PONG just to see it work and this works great:
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP | PING_PONG , ALL_SIDES, 2, 1, 0, 1, .1);
But I want to run the animation forwards just once to open the door:
llSetTextureAnim(ANIM_ON | SMOOTH , ALL_SIDES, 2, 1, 0, 1, .1);
or backwards to close it:
llSetTextureAnim(ANIM_ON | SMOOTH | REVERSE , ALL_SIDES, 2, 1, 0, 1,.1);
And these last two calls are not SMOOTH any more, they just slam the door all the way up or down. I could do better with a loop calling llOffsetTexture. Can TextureAnim run smoothly just once like I want?