by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
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...
by Dadiella Nightwing | Oct 10, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
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...
by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
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...
by Dadiella Nightwing | Oct 10, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
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...
by Brayla Sana | Oct 10, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
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...
by Brayla Sana | Oct 15, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
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...