Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Stand up check..

Mevo Syaka
Ganja Guru
Join date: 12 Dec 2006
Posts: 33
02-26-2007 06:04
Hi,
How can I check to see if an avatar has stood up so that I can stop an animation? My script uses more than one animation and a timer.

All help much appreciated.
_____________________
FourTwenty Headshop



Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
02-26-2007 08:30
From: Mevo Syaka
Hi,
How can I check to see if an avatar has stood up so that I can stop an animation? My script uses more than one animation and a timer.

All help much appreciated.



Standing up will generate a changed message with CHANGED_LINK set the same as sitting down. A call to llAvatarOnSitTarget will now return NULL_KEY
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
02-26-2007 10:57
Note, llAvatarOnSitTarget will always return NULL_KEY if no SitTarget has been specified for that prim. (and the SitTarget must vary, if by only a tiny degree, from ZERO_VECTOR and ZERO_ROTATION )