A C D L S T

llAvatarOnSitTarget

key llAvatarOnSitTarget() If an avatar is sitting on the sit target, this function will return the avatar’s key; NULL_KEY otherwise. This will only detect avatars sitting on sit targets defined with llSitTarget. At some point prior to SL 1.6.5, it would apparently...

llDetachFromAvatar

llDetachFromAvatar() Detaches the scripted object from the avatar it’s attached to. Requires PERMISSION_ATTACH (via llRequestPermissions). After detaching, the attach() event hander is called with the value NULL_KEY. Calling this function from a child-prim will fail...

llGetAgentInfo

integer llGetAgentInfo(key id)  Returns a bitfield of id agent information: Constant Represents Value AGENT_FLYING Returned if agent is flying. 0x0001 AGENT_ATTACHMENTS Returned if agent has attachments. 0x0002 AGENT_SCRIPTED Returned if agent has scripted...

llGetAgentSize

vector llGetAgentSize(key id) If id is in the same sim region as the script calling this function, it returns a vector representing the size of the avatar. This is useful for approximating the height of the avatar. This function returns a ZERO_VECTOR when the key is...

llGetAnimation

string llGetAnimation(key id) Returns 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: Crouching Hovering Hovering...

llGetAnimationList

list llGetAnimationList(key id) Returns a list of keys of all playing animations for avatar id. llStopAnimation or llStartAnimation may be useful here. // stops all currently running animations when clicked default { touch_start(integer num_detected) {...