Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

how do i stop a tex animation

Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
10-05-2006 07:39
I added a anim to a texture accidentally and it wont stop. I deleted the script. I deleted the prim. Had to get it back of course. Pull it out of inventory with no script and it still runs. whats the go here?
_____________________
SCOPE Homes, Bangu
-----------------------------------------------------------------
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
10-05-2006 08:10
Once a texture animation has been applied, it becomes a property of the object, just like size or color or any other property. It's just that there's no access to that particular property through the editor window, so it has to be adjusted via script.

To shut it off, you'll need to use a script, the same way you used a script to turn it on. Since you deleted the original script, simply put in a new texture animation script, and remove the ANIM_ON command.

For more info on how to use the texture animation commands, look here: http://rpgstats.com/wiki/index.php?title=LlSetTextureAnim
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
10-05-2006 08:32
Thanks for that.
I went over that wiki looking for an answer but it didn't gel with me. I need much help with scripting. GHM!
_____________________
SCOPE Homes, Bangu
-----------------------------------------------------------------
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
10-05-2006 08:36
From: Kornscope Komachi
I need much help with scripting.

Don't sweat it. So do I. I've absorbed a few simple things here and there over the years, but that's about it.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Johan Durant
Registered User
Join date: 7 Aug 2006
Posts: 1,657
10-05-2006 09:45
Gee, it's too bad this property isn't in the Edit view. This would be a great addition.
_____________________
(Aelin 184,194,22)

The Motion Merchant - an animation store specializing in two-person interactions
Psyra Extraordinaire
Corra Nacunda Chieftain
Join date: 24 Jul 2004
Posts: 1,533
10-05-2006 09:46
From: Kornscope Komachi
I added a anim to a texture accidentally and it wont stop. I deleted the script. I deleted the prim. Had to get it back of course. Pull it out of inventory with no script and it still runs. whats the go here?


CODE

default {
state_entry() {
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, ALL_SIDES, 0, 0, 0.0, 0.0, 0.0);
}
}


I think you can stick this into the prim so that the anim stops, and then delete the script once it stops.

I'm at work so can't test it. :D
_____________________
E-Mail Psyra at psyralbakor_at_yahoo_dot_com, Visit my Webpage at www.psyra.ca :)

Visit me in-world at the Avaria sims, in Grendel's Children! ^^
Alexander Hinkle
Registered User
Join date: 11 Sep 2006
Posts: 148
Good info
10-06-2006 20:29
Thanks for the post!

http://alexanderhinkle.blogspot.com/
Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
Yeah Thanks
10-06-2006 21:33
That did the trick. It was driving me craayzee
_____________________
SCOPE Homes, Bangu
-----------------------------------------------------------------
Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
10-07-2006 21:31
wrong section
_____________________

tired of XStreetSL? try those!
apez http://tinyurl.com/yfm9d5b
metalife http://tinyurl.com/yzm3yvw
metaverse exchange http://tinyurl.com/yzh7j4a
slapt http://tinyurl.com/yfqah9u
Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
10-08-2006 00:47
I wish the world was perfect
_____________________
SCOPE Homes, Bangu
-----------------------------------------------------------------