Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSetTextureAnim for only selected sides

Weld Grayman
Registered User
Join date: 19 Sep 2009
Posts: 2
11-06-2009 19:44
How would I modify this line to have say sides 1 and 3 animated only? I have tried several changes and all I seem to do is cancel sides.

llSetTextureAnim (ANIM_ON | LOOP, 1, 4, 4, 0, 0, 15.0);

I know its not this:
llSetTextureAnim (ANIM_ON | LOOP, 1+3, 4, 4, 0, 0, 15.0);
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
11-06-2009 19:49
If you don't want ALL_SIDES, you have to call it separately for each face you want to set. All the texture, color, etc. functions work like that.
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
11-06-2009 19:49
You'll need to do a separate call for each side you want to animate..

edit: er.. yeah.. what she said.. :)
_____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!!
- Go here: https://jira.secondlife.com/browse/SVC-3895
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Weld Grayman
Registered User
Join date: 19 Sep 2009
Posts: 2
reply
11-06-2009 20:01
but when I call a second time it cancels the first call
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
11-06-2009 20:05
From: Weld Grayman
but when I call a second time it cancels the first call


Right, we only get only one texture animation per prim, one side at a time or all sides at once.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
11-06-2009 20:09
From: Viktoria Dovgal
Right, we only get only one texture animation per prim, one side at a time or all sides at once.

which is annoying, but "c'est la deuxième vie" (that is second life)
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
ab Vanmoer
Registered User
Join date: 28 Nov 2006
Posts: 131
11-08-2009 10:48
There was a seller on xstreet who claimed to have overcome the one texture animation per prim limitation. According to him, using his script one could have a different animation on each face.
If I recall correctly the script was full perm but quite expensive.
I just had a quick xstreet search but didn't find the script nor the the discussion regarding the script in the xstreet forum archives. I am sure that the discussion and perhaps the script would still be found if someone has the patience to search.
Cerise Sorbet
Registered User
Join date: 8 Jun 2008
Posts: 254
11-08-2009 12:54
From: ab Vanmoer
There was a seller on xstreet who claimed to have overcome the one texture animation per prim limitation. According to him, using his script one could have a different animation on each face.

LOL. I will guess it was llOffsetTexture in loops.