Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Changing texture anim rate and fade

Vi Shenley
Still Rezzing
Join date: 24 Oct 2006
Posts: 103
06-29-2008 14:19
Hi,

I have a simple animated texture:

CODE

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


What I would like to do is to change the texture animation rate from the current rate of 0.5 down to 0.1, and the transparency of the texture, from 0 to 100, both over 5 seconds.

I just can't think how to start to do this.

Vi
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
06-29-2008 14:29
you cant really change the rate on the fly, it will restart the animation every time

so would changing the transparency, prettymuch anything that counts as a pim change will reset the animation