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)...
by Brayla Sana | Feb 1, 2022 | Camera, Functions, LSL, OSSL, Wiki
vector llGetCameraPos() Returns the position of the camera of the user that granted the script PERMISSION_TRACK_CAMERA. If no user has granted the permission, it returns ZERO_VECTOR. Q: Is this in region coordinates? A: Yes. To determine...
by Brayla Sana | Feb 1, 2022 | Camera, Functions, LSL, OSSL, Wiki
rotation llGetCameraRot() Returns the rotation of the camera of the user who’s granted this script PERMISSION_TRACK_CAMERA. If no user has granted the permission, it returns ZERO_ROTATION. The key of the user whose camera is being...