Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

using built in facial expressions from script

Brendan Etzel
Registered User
Join date: 22 Jul 2007
Posts: 33
04-14-2009 12:12
I need pouted lips in a pose so I want to use the SL kiss animation.

From the Wiki it should be possible to use the UUID in a script since this bvh file is not in the download.

"These animations can be triggered by the simulator, viewer, or scripts."



I tried a number of UUID's but the script says it can't find the animation.
The script I use works fine with animations from the object's inventory.

llStartAnimation("1e8d90cc-a84e-e135-884c-7c82c8b03a14 ";);

The only thing I can think of is that the UUID is treated as a string and therefore not recognized. After hours of trying I really am at a loss here.
Does anyone know what I am doing wrong ?

Thanx
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
04-14-2009 12:14
From: Brendan Etzel
llStartAnimation("1e8d90cc-a84e-e135-884c-7c82c8b03a14 ";);

Have you tried doing "llStartAnimation ("express_kiss";);" instead?

edit: before you ask: no.. I don't know why the wiki gives the uuid values. I don't think they can actually be used for anything in scripts.
Cheree Bury
ChereeMotion Owner
Join date: 6 Jun 2007
Posts: 666
04-14-2009 12:21
From: Brendan Etzel
I need pouted lips in a pose so I want to use the SL kiss animation.

From the Wiki it should be possible to use the UUID in a script since this bvh file is not in the download.

"These animations can be triggered by the simulator, viewer, or scripts."



I tried a number of UUID's but the script says it can't find the animation.
The script I use works fine with animations from the object's inventory.

llStartAnimation("1e8d90cc-a84e-e135-884c-7c82c8b03a14 ";);

The only thing I can think of is that the UUID is treated as a string and therefore not recognized. After hours of trying I really am at a loss here.
Does anyone know what I am doing wrong ?

Thanx


Animations are never triggered by UUID. You must use the animation name. There are quite a few standard animations you can call by name including express_kiss.

Try this:

llStartAnimation("express_kiss";);


Also look here for a list of all the internal animations:

http://wiki.secondlife.com/wiki/Internal_Animations
_____________________
Visit ChereeMotion - Life's Best Pinup Poses
http://slurl.com/secondlife/Wild%20Rice/38/230/51