Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

wearable object animation

Ikonn Giano
Registered User
Join date: 15 Dec 2007
Posts: 126
04-07-2009 15:34
Hello

I have been looking around for a script that will add an animation to an object I made that you wear in your hand I would like to just link to the animation using UUID. The animation is just a basic pose to hold the item up when walking or standing.

Thank you for you help
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
04-07-2009 16:48
You can't use animation UUID's to make an animation work, you have to physically have the animation in the object for it to animate an avatar.
Ikonn Giano
Registered User
Join date: 15 Dec 2007
Posts: 126
04-07-2009 17:07
ok I can do it that way but where can i find a script to do that?
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
04-07-2009 18:47
Take a look at to get a feel for how to script an animation. There's also a good example script at that you can study and build your script after.

If you are looking to buy a script that someone else has written, try posting in the Products Wanted forum.
Ikonn Giano
Registered User
Join date: 15 Dec 2007
Posts: 126
04-08-2009 09:40
OK thank you to everyone who helped me out 1 more question how can I overide an AO with the script?
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
04-08-2009 10:30
From: Ikonn Giano
OK thank you to everyone who helped me out 1 more question how can I overide an AO with the script?

You can't. Kinda. Without it telling the AO to turn off(Maybe possible, depends on the AO), the script itself can't force an override. However, using different animation priorities causes animations to override lower priority animations, so if your script uses a pri4 animation, and the AO is all pri3, it will play yours over anything that AO would do.
_____________________
Tutorials for Sculpties using Blender!
Http://www.youtube.com/user/BlenderSL
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
04-08-2009 10:39
From: Ikonn Giano
OK thank you to everyone who helped me out 1 more question how can I overide an AO with the script?

Make your animation priority 4, and restart an animation with holding part periodically to fight AO animations that might start at priority 4 afterward. This method will have a race built in, so you can expect some wackiness as the animations compete.

LuLu-compatible AOs can listen for the avatar's own objects on channel 1, and respond to "ao off" and "ao on". This feature isn't exactly universal, though :/