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...
by Brayla Sana | Oct 15, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
integer llGetAttached() Returns the object’s attachment point (or 0 if not attached) to the avatar. Valid values are: 0 Not attached ATTACH_CHEST 1 chest (roughly the sternum) ATTACH_HEAD 2 top of head (skull)...