Gaia Clary
mesh weaver
Join date: 30 May 2007
Posts: 884
|
10-18-2008 02:51
Hi;
Is it possible to receive an event every time, when my avatar changes its pose, so a script gets notified? e.g. while standing still, my avi changes from one standing pose to the next. So id like to get a "pose changed" event and a "getCurrentPose" function. Is that possible ? Is there some example script around ?
i was reading in the LSL portal, that i can get the list of currently available (active?) poses/animations, but i could not find anything more explicit. Maybe i am overlooking something ? Or it is just not possible ?
then would i need to go the other way around: Create my own AO and every time i change a pose from there, i send a notification ?
|
Galena Qi
Registered User
Join date: 9 Sep 2006
Posts: 249
|
10-18-2008 13:21
Yes, a pose is just a static animation. Although I haven't done it, you should be able to use a script with llGetAnimationList to detect which stand pose is playing. Use a variable to store the name of the current stand animation and use a timer to compare it against the one that is playing. Ask in the Scripting forum for more details.
To get a list of currently playing animations, select Character/Animation Info in the Advanced menu.
|
Gaia Clary
mesh weaver
Join date: 30 May 2007
Posts: 884
|
10-18-2008 16:11
Thanks again, Galena; That sounds promising for my project. I will forward to the scripts forums  thanks for the hint
|