by Brayla Sana | Oct 15, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llStartAnimation(string anim); Triggers the animation anim. In order for this to work, the script must have the PERMISSION_TRIGGER_ANIMATION permission on an avatar. See llRequestPermissions and llGetPermissions for more information on permissions. Built-in animations...
by Brayla Sana | Oct 15, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llPointAt(vector pos) Depreciated in LSL. never implemented in OSSL. Makes the object owner’s avatar point towards position pos. Use llStopPointAt to stop pointing. Note: This function is still broken as of 1.6. It neither points nor faces pos. According to Kelly...
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) ATTACH_LSHOULDER 3 left shoulder ATTACH_RSHOULDER 4 right...
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 clicked default { touch_start(integer num_detected) {...
by Brayla Sana | Oct 11, 2017 | Camera, Functions, LSL, OSSL, Wiki
SL includes both first-person and third-person camera modes. By disconnecting the camera from the avatar (to around 50m max away [see Notes below]), a lot more can be done otherwise. Some uses of the camera functions are for vehicles and machinima. Functions Function...