Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

NEWBIE found ANIMATION_ON where's of

RacerX Gullwing
Magic Rabbit
Join date: 18 Jun 2004
Posts: 371
07-28-2004 20:36
I've been using ping pong the wrong way. It seems to make it stop. If it was just on my pc I'd say good nuff. Thier must be a real way to stop the animation. I tried the logical ANIM_OFF but that would be to easy.
CODE
  if(message=="/spin")
{
llSetTexture("5x5b", -1);
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, ALL_SIDES,1,1,1.0, 1,0.5);
if(message=="/nospin")
{
llSetTexture("Clear", -1);
llSetTextureAnim(ANIM_ON | PING_PONG | LOOP, ALL_SIDES,1,1,1.0, 1,0.25);
}

Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
07-28-2004 23:19
Just pass 0, or any bitfield not containing ANIM_ON in the first parameter.