Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

HELP lol Loop Animation

Isabella Trezuguet
Registered User
Join date: 29 Dec 2008
Posts: 7
06-09-2009 05:47
Hi I bought a full perm animaion a whie ago, but I need to get it to repeat constantly... either by a script in a poseball or if possible (pref) using the MLP, any sugestions???
Or basicaly any way possible, but Id prefer the MLP..
Thanks
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
06-09-2009 10:28
I am open to correction here, but I think your best bet is to contact whoever made the animation and ask if they can make you a looped version.

The only other way I can think of -- and I have no idea how, if it all, it's possible to do this with MLPV2 -- is to time the animation and write/ask someone to help you write a timer routine to stop and restart the animation every n seconds, n being the number of seconds the anim runs for.

Unfortunately, LSL doesn't have a llLoopAnimation() function like it does llLoopSound(), and neither does it have a way of detecting for how long an animation lasts -- you have to time it and tell the script that.
Isabella Trezuguet
Registered User
Join date: 29 Dec 2008
Posts: 7
06-09-2009 15:51
From: Innula Zenovka
I am open to correction here, but I think your best bet is to contact whoever made the animation and ask if they can make you a looped version.

The only other way I can think of -- and I have no idea how, if it all, it's possible to do this with MLPV2 -- is to time the animation and write/ask someone to help you write a timer routine to stop and restart the animation every n seconds, n being the number of seconds the anim runs for.

Unfortunately, LSL doesn't have a llLoopAnimation() function like it does llLoopSound(), and neither does it have a way of detecting for how long an animation lasts -- you have to time it and tell the script that.


Thanks... now to find a scripter lol :D
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
06-09-2009 16:55
One way to do it is to be found here /52/fa/55835/1.html#post590854. That example starts and stops stuff on a very short timer (it's for keeping facial expressions going) but the principle is the same.