Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llsettextureanim question

Corporal Candour
Registered User
Join date: 3 Sep 2005
Posts: 38
01-26-2006 13:45
Hello, I was wondering in what order the frames go in this script:

CODE

default
{
state_entry()
{
llSetTextureAnim (ANIM_ON | LOOP, ALL_SIDES, 4, 4, 0, 0, 15.0);
}
}


do they go like this?:

http://img374.imageshack.us/img374/9674/anim7uh.jpg
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
01-26-2006 13:50
The wiki page for this function has the answer to your question.

From: someone
frames are numbered from left to right, top to bottom, starting at 0


So:
CODE

0 1 2 3
4 5 6 7
8 9 10 11
12 13 14 15
Corporal Candour
Registered User
Join date: 3 Sep 2005
Posts: 38
01-27-2006 04:08
Ah, okay thanks. I didn't quite understand it, just needed clarification.