Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Animating only one face of a prim

Numberofthebeast Angelus
Registered User
Join date: 8 Dec 2004
Posts: 8
09-25-2009 09:30
ive been searching for a solution,

may someone please show me an example of animating only one face of a cube
so i can mod it to fit my needs

i know how to LOOP < PING_PONG > ECT. with Smooth Anim but scripting is
where i fail and i looked all over the library and tips for an example 1st or i
would not have asked here
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
09-25-2009 09:38
If you know how to do all of the LOOP | PING_PONG, etc. then you probably also know the syntax for .....

llSetTextureAnim(integer mode, integer side, integer x_frames, integer y_frames, float start, float length, float rate);

The "side" parameter is the side of the prim you want to animate. For a refresher, take a look at http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetTextureAnim.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Numberofthebeast Angelus
Registered User
Join date: 8 Dec 2004
Posts: 8
09-25-2009 10:26
default
{
state_entry()
{
llSetTextureAnim(ANIM_ON ,ALL_SIDES ,6,8,0,0,7.0);
}
}


Simply put change ( ALL SIDES ) to a number ( 4 ) and observe the results , thanks for the in-world help peoples

default
{
state_entry()
{
llSetTextureAnim(ANIM_ON ,4 ,6,8,0,0,7.0);
}
}
Now i understand what Rolig Loon told me