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 | 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 where the camera is pointing,...
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 tracked can be obtained...
by Brayla Sana | Feb 11, 2022 | Dataserver, Functions, LSL, OSSL, Wiki
key llGetNotecardLine(string name, integer line) This function fetches line number of notecard name and returns the data through the dataserver event. The line count starts at zero. If the requested line is past the end of the notecard, the dataserver event will...
by Brayla Sana | Feb 11, 2022 | Dataserver, Functions, LSL, OSSL, Wiki
key llGetNumberOfNotecardLines(string name) Returns number of lines in the notecard name via the dataserver event. (Cast the value returned by the dataserver to an integer.) The key returned is a query id for identifying the dataserver reply. If name is not a valid...
by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
integer llGetPermissions(); Returns which permissions have been granted. The return value will be a bitmask of the following values: Constant: Result Allows PERMISSION_DEBIT Permission to take money from agent’s account. Use of llGiveMoney. PERMISSION_TAKE_CONTROLS...