Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

how to stop a script?

Hernan Gomez
Registered User
Join date: 21 Jul 2004
Posts: 37
08-04-2004 16:37
I put a script to animate a texture in a wall but I cant stop it.. how I stop it??

Thanks!
_____________________
Hernan Gomez
A vivir la vida loca!
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
08-04-2004 16:46
Stopping the script (which you can do by unchecking the Running box in the script window) because texture movement is asked of the prim which will keep on doing it until asked to stop.

What you really want is a script of
CODE

default {
touch_start(integer n) {
llSetTextureAnim(0, ALL_SIDES, 0, 0, 0, 0, 0);
llSay(0, "animation off");
}
}


Put that in a prim and touch the prim and the animation will stop. You can then remove the script.

What you really, really want is to know about the LSL Wiki which has much wisdom.
Hernan Gomez
Registered User
Join date: 21 Jul 2004
Posts: 37
08-04-2004 17:38
Thanks Malachi! And I know.. I have to look that page but I want to finish my building as soon as possible, and because I was trying to make a "fish tank" in lower floor I couldnt stop the texture.. so, thanks again!
_____________________
Hernan Gomez
A vivir la vida loca!