|
Krista Chaffe
Registered User
Join date: 16 Jun 2007
Posts: 96
|
08-31-2008 14:07
I managed to get a simple animation working, on a 3x1x0.2 box prim.
Same texture all sides, it was working great so I went off and started torturing the poor prim.
I looked up and the animation was broken. Now I've gone back to a simple prim and can't get the dang animation working again. This is driving me nuts, it was working yesterday, so I am obviously doing something stupid but I can't figure out what.
default { state_entry() { llSetTextureAnim(ANIM_ON|LOOP|SMOOTH, 10, 1, 0, 0, 0, 1.0); }
on_rez(integer start_param) { llResetScript(); } }
|
|
Krista Chaffe
Registered User
Join date: 16 Jun 2007
Posts: 96
|
08-31-2008 14:15
Now this got it working and I have no idea why
default { state_entry() { llSetTextureAnim(ANIM_ON|LOOP|SMOOTH, ALL_SIDES, 1, 10, 0, 0, 0.15); }
on_rez(integer start_param) { llResetScript(); } }
|
|
Vlad Bjornson
Virtual Gardener
Join date: 11 Nov 2005
Posts: 650
|
08-31-2008 15:23
That first script is not set to animate ALL_SIDES. Editing the prim probably caused the side numbering to change which would change which faces were animating. The first script was also set to animated side 10, which can never exist on a prim - only 0-8 are possible. My guess is that the first script used to say ALL_SIDES in place of the first 10 in the parameter list.
_____________________
I heart shiny ! http://www.shiny-life.com
|
|
Krista Chaffe
Registered User
Join date: 16 Jun 2007
Posts: 96
|
08-31-2008 22:13
grrr *&  )&^^&  (*_(*%*^%() dang it. I knew it had to be something stupid, wacks self on head. Thank you
|