Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How to animate on just one side???

Caera Tyne
Registered User
Join date: 12 Jun 2005
Posts: 7
06-12-2005 18:07
Hi there, is there a script that can animate a texture on just one side of an object....needs to be easy to...i have no clue how to script :)

thanks
Dakota Callahan
Feisty Irish Lass
Join date: 21 Jul 2004
Posts: 783
06-12-2005 18:34
Here's a quick and dirty script that should do the job:

CODE

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


This will animate the texture on side 1 (for a cube, that's the top surface).

For more info, go to the LSL Wiki page for llSetTextureAnim
_____________________
Life is a Carnival

"...
every broken teleport makes a baby hippo cry." - Altruima Linden

"We're all pro wrestlers in the ring of Second Life." - Torley Linden

Dakota Callahan Designs
Callahans Isle (2,128, 502)

Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
06-12-2005 19:14
To figure out the numbers you need to make it draw on another side, check out this page.
_____________________
Need scripting help? Visit the LSL Wiki!
Omega Point - Catherine Omega's Blog
Thili Playfair
Registered User
Join date: 18 Aug 2004
Posts: 2,417
06-13-2005 06:50
check this thread - /15/a7/3309/1.htmlIt has a script + texture that make it very easy to figure out what side to set number to in script :)
Caera Tyne
Registered User
Join date: 12 Jun 2005
Posts: 7
06-13-2005 06:52
thanks everyone :)