string llGetAnimation(key id)
the current basic animation
state for avatar id
The basic animation states are the simplest description of the avatar's posture.
Here's a list of basic animations states returned by this function
Sitting This is returned even when the avatar is sitting on something that stopped the generic sit animation and plays its own instead.
Sitting on Ground
Standing Up After falling a long distance, the Landing animation state is skipped and the Standing Up state is used. -EyanaYohkoh
Note: This function does not return the specific animations
currently played with llStartAnimation
. See llGetAnimationList
This function may seem slow in updating animation states. For example, in things like animation overrides, waiting until llGetAnimation returns "Standing" can cause the walk animation to continue for a moment after the avatar has stopped. If this affects you, try checking llGetVel instead, to see if you have stopped moving.
This article wasn't helpful for you? Maybe the related article at the LSL Portal
is able to bring enlightenment.