controls
types
float
tooltip
32 bit floating point value.\nThe range is 1.175494351E-38 to 3.402823466E+38
integer
tooltip
32 bit integer value.\n−2,147,483,648 and +2,147,483,647
key
tooltip
A 128 bit unique identifier (UUID)
list
tooltip
A collection of other data types. e.g. [0, 1, 2, 3, 4] or ["Yes", "No", "Perhaps"].
rotation
tooltip
The rotation as quaternion <x, y, z, s>
string
tooltip
Text data.\nThe editor accepts UTF-8 encoded text.
vector
tooltip
A vector <x, y, z, s>
constants
ACTIVE
type
integer
value
0x2
tooltip
Objects in world that are running a script or currently physically moving.
AGENT
type
integer
value
0x1
tooltip
Objects in world that are agents.
AGENT_ALWAYS_RUN
type
integer
value
0x1000
AGENT_ATTACHMENTS
type
integer
value
0x2
tooltip
The agent has attachments.
AGENT_AUTOPILOT
type
integer
value
0x2000
AGENT_AWAY
type
integer
value
0x40
AGENT_BUSY
type
integer
value
0x800
AGENT_BY_LEGACY_NAME
type
integer
value
0x1
AGENT_BY_USERNAME
type
integer
value
0x10
AGENT_CROUCHING
type
integer
value
0x400
AGENT_FLYING
type
integer
value
0x1
tooltip
The agent is flying.
AGENT_IN_AIR
type
integer
value
0x100
AGENT_LIST_PARCEL
type
integer
value
1
tooltip
Agents on the same parcel where the script is running
AGENT_LIST_PARCEL_OWNER
type
integer
value
2
tooltip
Agents on any parcel in the region where the parcel owner is the same as the owner of the parcel under the scripted object.
AGENT_LIST_REGION
type
integer
value
4
tooltip
All agents in the region
AGENT_LIST_EXCLUDENPC
type
integer
value
0x4000000
tooltip
Exclude NPCs
AGENT_MALE
type
integer
value
0x40000000
AGENT_MOUSELOOK
type
integer
value
0x8
AGENT_ON_OBJECT
type
integer
value
0x20
AGENT_SCRIPTED
type
integer
value
0x4
tooltip
The agent has scripted attachments
AGENT_SITTING
type
integer
value
0x10
AGENT_TYPING
type
integer
value
0x200
AGENT_WALKING
type
integer
value
0x80
ALL_SIDES
type
integer
value
-1
ANIM_ON
type
integer
value
0x1
tooltip
Texture animation is on.
ATTACH_AVATAR_CENTER
type
integer
value
40
tooltip
Attach to the avatar's geometric centre
ATTACH_BACK
type
integer
value
9
tooltip
Attach to the avatar's back
ATTACH_BELLY
type
integer
value
28
tooltip
Attach to the avatar's belly.
ATTACH_CHEST
type
integer
value
1
tooltip
Attach to the avatar's chest.
ATTACH_CHIN
type
integer
value
12
tooltip
Attach to the avatar's chin
ATTACH_HEAD
type
integer
value
2
tooltip
Attach to the avatar's head
ATTACH_HUD_BOTTOM
type
integer
value
37
ATTACH_HUD_BOTTOM_LEFT
type
integer
value
36
ATTACH_HUD_BOTTOM_RIGHT
type
integer
value
38
ATTACH_HUD_CENTER_1
type
integer
value
35
ATTACH_HUD_CENTER_2
type
integer
value
31
ATTACH_HUD_TOP_CENTER
type
integer
value
33
ATTACH_HUD_TOP_LEFT
type
integer
value
34
ATTACH_HUD_TOP_RIGHT
type
integer
value
32
ATTACH_LEAR
type
integer
value
13
tooltip
Attach to the avatar's left ear
ATTACH_LEFT_PEC
type
integer
value
29
tooltip
Attach to the avatar's left pectoral.
ATTACH_LEYE
type
integer
value
15
tooltip
Attach to the avatar's left eye.
ATTACH_LFOOT
type
integer
value
7
tooltip
Attach to the avatar's left foot
ATTACH_LHAND
type
integer
value
5
tooltip
Attach to the avatar's left hand.
ATTACH_LHIP
type
integer
value
25
tooltip
Attach to the avatar's left hip.
ATTACH_LLARM
type
integer
value
21
tooltip
Attach to the avatar's left lower arm
ATTACH_LLLEG
type
integer
value
27
tooltip
Attach to the avatar's lower left leg.
ATTACH_LPEC
deprecated
true
type
integer
value
30
tooltip
Attach to the avatar's right pectoral. (Deprecated, use ATTACH_RIGHT_PEC)
ATTACH_LSHOULDER
type
integer
value
3
tooltip
Attach to the avatar's left shoulder.
ATTACH_LUARM
type
integer
value
20
tooltip
Attach to the avatar's left upper arm
ATTACH_LULEG
type
integer
value
26
tooltip
Attach to the avatar's lower upper leg.
ATTACH_MOUTH
type
integer
value
11
tooltip
Attach to the avatar's mouth.
ATTACH_NECK
type
integer
value
39
tooltip
Attach to the avatar's neck
ATTACH_NOSE
type
integer
value
17
tooltip
Attach to the avatar's nose.
ATTACH_PELVIS
type
integer
value
10
tooltip
Attach to the avatar's pelvis.
ATTACH_REAR
type
integer
value
14
tooltip
Attach to the avatar's right ear.
ATTACH_REYE
type
integer
value
16
tooltip
Attach to the avatar's right eye
ATTACH_RFOOT
type
integer
value
8
tooltip
Attach to the avatar's right foot
ATTACH_RHAND
type
integer
value
6
tooltip
Attach to the avatar's right hand
ATTACH_RHIP
type
integer
value
22
tooltip
Attach to the avatar's right hip
ATTACH_RIGHT_PEC
type
integer
value
30
tooltip
Attach to the avatar's right pectoral.
ATTACH_RLARM
type
integer
value
19
tooltip
Attach to the avatar's right lower arm.
ATTACH_RLLEG
type
integer
value
24
tooltip
Attach to the avatar's right lower leg
ATTACH_RPEC
deprecated
true
type
integer
value
29
tooltip
Attach to the avatar's left pectoral. (deprecated, use ATTACH_LEFT_PEC)
ATTACH_RSHOULDER
type
integer
value
4
tooltip
Attach to the avatar's right shoulder
ATTACH_RUARM
type
integer
value
18
tooltip
Attach to the avatar's right upper arm
ATTACH_RULEG
type
integer
value
23
tooltip
Attach to the avatar's right upper leg
ATTACH_LHAND_RING1
type
integer
value
41
tooltip
Attach to the avatar's left ring finger
ATTACH_RHAND_RING1
type
integer
value
42
tooltip
Attach to the avatar's right ring finger
ATTACH_TAIL_BASE
type
integer
value
43
tooltip
Attach to the avatar's tail base
ATTACH_TAIL_TIP
type
integer
value
44
tooltip
Attach to the avatar's tail tip
ATTACH_LWING
type
integer
value
45
tooltip
Attach to the avatar's left wing
ATTACH_RWING
type
integer
value
46
tooltip
Attach to the avatar's right wing
ATTACH_FACE_JAW
type
integer
value
47
tooltip
Attach to the avatar's jaw.
ATTACH_FACE_LEAR
type
integer
value
48
tooltip
Attach to the avatar's left ear (extended)
ATTACH_FACE_REAR
type
integer
value
49
tooltip
Attach to the avatar's right ear
ATTACH_FACE_LEYE
type
integer
value
50
tooltip
Attach to the avatar's left eye (extended)
ATTACH_FACE_REYE
type
integer
value
51
tooltip
Attach to the avatar's right eye (extended)
ATTACH_FACE_TONGUE
type
integer
value
52
tooltip
Attach to the avatar's tongue
ATTACH_GROIN
type
integer
value
53
tooltip
Attach to the avatar's groin
ATTACH_HIND_LFOOT
type
integer
value
54
tooltip
Attach to the avatar's left hind foot
ATTACH_HIND_RFOOT
type
integer
value
55
tooltip
Attach to the avatar's right hind foot
CAMERA_ACTIVE
type
integer
value
12
CAMERA_BEHINDNESS_ANGLE
type
integer
value
8
CAMERA_BEHINDNESS_LAG
type
integer
value
9
CAMERA_DISTANCE
type
integer
value
7
CAMERA_FOCUS
type
integer
value
17
CAMERA_FOCUS_X
type
integer
value
18
CAMERA_FOCUS_Y
type
integer
value
19
CAMERA_FOCUS_Z
type
integer
value
19
CAMERA_FOCUS_LAG
type
integer
value
6
CAMERA_FOCUS_LOCKED
type
integer
value
22
CAMERA_FOCUS_OFFSET
type
integer
value
1
CAMERA_FOCUS_OFFSET_X
type
integer
value
2
CAMERA_FOCUS_OFFSET_Y
type
integer
value
3
CAMERA_FOCUS_OFFSET_Z
type
integer
value
4
CAMERA_FOCUS_THRESHOLD
type
integer
value
11
CAMERA_PITCH
type
integer
value
0
CAMERA_POSITION
type
integer
value
13
CAMERA_POSITION_X
type
integer
value
14
CAMERA_POSITION_Y
type
integer
value
15
CAMERA_POSITION_Z
type
integer
value
16
CAMERA_POSITION_LAG
type
integer
value
5
CAMERA_POSITION_LOCKED
type
integer
value
21
CAMERA_POSITION_THRESHOLD
type
integer
value
10
CHANGED_ALLOWED_DROP
type
integer
value
0x40
tooltip
The object inventory has changed because an item was added through the llAllowInventoryDrop interface.
CHANGED_ANIMATION
type
integer
value
0x4000
tooltip
The set of animations playing on the avatar to whom this object is attached has been changed.
CHANGED_COLOR
type
integer
value
0x2
tooltip
The object color has changed.
CHANGED_INVENTORY
type
integer
value
0x1
tooltip
The object inventory has changed.
CHANGED_LINK
type
integer
value
0x20
tooltip
The object has linked or its links were broken.
CHANGED_MEDIA
type
integer
value
0x800
CHANGED_OWNER
type
integer
value
0x80
CHANGED_REGION
type
integer
value
0x100
CHANGED_REGION_START
type
integer
value
0x400
tooltip
Parameter of changed event handler used to indicate the region has been restarted same as CHANGED_REGION_RESTART.
CHANGED_REGION_RESTART
type
integer
value
0x400
tooltip
Parameter of changed event handler used to indicate the region has been restarted same as CHANGED_REGION_START.
CHANGED_SCALE
type
integer
value
0x8
tooltip
The object scale (size) has changed.
CHANGED_SHAPE
type
integer
value
0x4
tooltip
The object base shape has changed, e.g., a box to a cylinder.
CHANGED_TELEPORT
type
integer
value
0x200
CHANGED_TEXTURE
type
integer
value
0x10
tooltip
The texture offset, scale rotation, or simply the object texture has changed.
CLICK_ACTION_BUY
type
integer
value
2
tooltip
When the prim is clicked, the buy dialog is opened.
CLICK_ACTION_NONE
type
integer
value
0
tooltip
Performs the default action: when the prim is clicked, touch events are triggered.
CLICK_ACTION_OPEN
type
integer
value
4
tooltip
When the prim is clicked, the object inventory dialog is opened.
CLICK_ACTION_OPEN_MEDIA
type
integer
value
6
tooltip
When the prim is touched, the web media dialog is opened.
CLICK_ACTION_PAY
type
integer
value
3
tooltip
When the prim is clicked, the pay dialog is opened.
CLICK_ACTION_PLAY
type
integer
value
5
tooltip
When the prim is clicked, html-on-a-prim is enabled?
CLICK_ACTION_SIT
type
integer
value
1
tooltip
When the prim is clicked, the avatar sits upon it.
CLICK_ACTION_TOUCH
type
integer
value
0
tooltip
When the prim is clicked, touch events are triggered.
CONTENT_TYPE_ATOM
type
integer
value
4
tooltip
"application/atom+xml"
CONTENT_TYPE_FORM
type
integer
value
7
tooltip
"application/x-www-form-urlencoded"
CONTENT_TYPE_HTML
type
integer
value
1
tooltip
"text/html", only valid for embedded browsers on content owned by the person viewing. Falls back to "text/plain" otherwise.
CONTENT_TYPE_JSON
type
integer
value
5
tooltip
"application/json"
CONTENT_TYPE_LLSD
type
integer
value
6
tooltip
"application/llsd+xml"
CONTENT_TYPE_RSS
type
integer
value
8
tooltip
"application/rss+xml"
CONTENT_TYPE_TEXT
type
integer
value
0
tooltip
"text/plain"
CONTENT_TYPE_XHTML
type
integer
value
3
tooltip
"application/xhtml+xml"
CONTENT_TYPE_XML
type
integer
value
2
tooltip
"application/xml"
CONTROL_BACK
type
integer
value
0x2
tooltip
Test for the avatar move back control.
CONTROL_DOWN
type
integer
value
0x20
tooltip
Test for the avatar move down control.
CONTROL_FWD
type
integer
value
0x1
tooltip
Test for the avatar move forward control.
CONTROL_LBUTTON
type
integer
value
0x10000000
tooltip
Test for the avatar left button control.
CONTROL_LEFT
type
integer
value
0x4
tooltip
Test for the avatar move left control.
CONTROL_ML_LBUTTON
type
integer
value
0x40000000
tooltip
Test for the avatar left button control while in mouse look.
CONTROL_RIGHT
type
integer
value
0x8
tooltip
Test for the avatar move right control.
CONTROL_ROT_LEFT
type
integer
value
0x100
tooltip
Test for the avatar rotate left control.
CONTROL_ROT_RIGHT
type
integer
value
0x200
tooltip
Test for the avatar rotate right control.
CONTROL_UP
type
integer
value
0x10
tooltip
Test for the avatar move up control.
DATA_BORN
type
integer
value
3
tooltip
The date the agent was born, returned in ISO 8601 format of YYYY-MM-DD.
DATA_NAME
type
integer
value
2
tooltip
The name of the agent.
DATA_ONLINE
type
integer
value
1
tooltip
TRUE for online, FALSE for offline.
DATA_PAYINFO
type
integer
value
8
DATA_SIM_POS
type
integer
value
5
DATA_SIM_RATING
type
integer
value
7
DATA_SIM_STATUS
type
integer
value
6
DEBUG_CHANNEL
type
integer
value
2147483647
tooltip
DEBUG_CHANNEL is an integer constant that, when passed to llSay, llWhisper, or llShout as a channel parameter, will print text to the Script Warning/Error Window.
DEG_TO_RAD
type
float
value
0.017453293
tooltip
0.017453293 - Number of radians per degree.
You can use this to convert degrees to radians by multiplying the degrees by this number.
DENSITY
type
integer
value
1
tooltip
Used with llSetPhysicsMaterial to enable the density value. Must be between 1.0 and 22587.0 (in Kg/m^3 -- see if you can figure out what 22587 represents)
EOF
type
string
value
\\n\\n\\n
tooltip
Indicates the last line of a notecard was read.
ERR_GENERIC
type
integer
value
-1
ERR_MALFORMED_PARAMS
type
integer
value
-3
ERR_PARCEL_PERMISSIONS
type
integer
value
-2
ERR_RUNTIME_PERMISSIONS
type
integer
value
-4
ERR_THROTTLED
type
integer
value
-5
ESTATE_ACCESS_ALLOWED_AGENT_ADD
type
integer
value
4
tooltip
Add the agent to this estate's Allowed Residents list.
ESTATE_ACCESS_ALLOWED_AGENT_REMOVE
type
integer
value
8
tooltip
Remove the agent from this estate's Allowed Residents list.
ESTATE_ACCESS_ALLOWED_GROUP_ADD
type
integer
value
16
tooltip
Add the group to this estate's Allowed groups list.
ESTATE_ACCESS_ALLOWED_GROUP_REMOVE
type
integer
value
32
tooltip
Remove the group from this estate's Allowed groups list.
ESTATE_ACCESS_BANNED_AGENT_ADD
type
integer
value
64
tooltip
Add the agent to this estate's Banned residents list.
ESTATE_ACCESS_BANNED_AGENT_REMOVE
type
integer
value
128
tooltip
Remove the agent from this estate's Banned residents list.
FALSE
type
integer
value
0
tooltip
An integer constant for boolean comparisons. Has the value '0'.
FRICTION
type
integer
value
2
tooltip
Used with llSetPhysicsMaterial to enable the friction value. Must be between 0.0 and 255.0
GRAVITY_MULTIPLIER
type
integer
value
8
tooltip
Used with llSetPhysicsMaterial to enable the gravity multiplier value. Must be between -1.0 and +28.0
HORIZONTAL
type
integer
value
1
HTTP_BODY_MAXLENGTH
type
integer
value
2
HTTP_BODY_TRUNCATED
type
integer
value
0
HTTP_CUSTOM_HEADER
type
integer
value
5
tooltip
Add an extra custom HTTP header to the request. The first string is the name of the parameter to change, e.g. "Pragma", and the second string is the value, e.g. "no-cache". Up to 8 custom headers may be configured per request. Note that certain headers, such as the default headers, are blocked for security reasons.
HTTP_METHOD
type
integer
value
0
HTTP_MIMETYPE
type
integer
value
1
HTTP_PRAGMA_NO_CACHE
type
integer
value
6
tooltip
Allows enabling/disbling of the "Pragma: no-cache" header.\nUsage: [HTTP_PRAGMA_NO_CACHE, integer SendHeader]. When SendHeader is TRUE, the "Pragma: no-cache" header is sent by the script. This matches the default behavior. When SendHeader is FALSE, no "Pragma" header is sent by the script.
HTTP_VERBOSE_THROTTLE
type
integer
value
4
HTTP_VERIFY_CERT
type
integer
value
3
INVENTORY_ALL
type
integer
value
-1
INVENTORY_ANIMATION
type
integer
value
20
INVENTORY_BODYPART
type
integer
value
13
INVENTORY_CLOTHING
type
integer
value
5
INVENTORY_GESTURE
type
integer
value
21
INVENTORY_LANDMARK
type
integer
value
3
INVENTORY_NONE
type
integer
value
-1
INVENTORY_NOTECARD
type
integer
value
7
INVENTORY_OBJECT
type
integer
value
6
INVENTORY_SCRIPT
type
integer
value
10
INVENTORY_SOUND
type
integer
value
1
INVENTORY_TEXTURE
type
integer
value
0
JSON_APPEND
type
integer
value
-1
JSON_ARRAY
type
string
value
U+FDD2
JSON_DELETE
type
string
value
U+FDD8
JSON_FALSE
type
string
value
U+FDD7
JSON_INVALID
type
string
value
U+FDD0
JSON_NULL
type
string
value
U+FDD5
JSON_NUMBER
type
string
value
U+FDD3
JSON_OBJECT
type
string
value
U+FDD1
JSON_STRING
type
string
value
U+FDD4
JSON_TRUE
type
string
value
U+FDD6
KFM_CMD_PAUSE
type
integer
value
2
tooltip
For use with KFM_COMMAND.
KFM_CMD_PLAY
type
integer
value
0
tooltip
For use with KFM_COMMAND.
KFM_CMD_STOP
type
integer
value
1
tooltip
For use with KFM_COMMAND.
KFM_COMMAND
type
integer
value
0
KFM_DATA
type
integer
value
2
KFM_FORWARD
type
integer
value
0
tooltip
For use with KFM_MODE.
KFM_LOOP
type
integer
value
1
tooltip
For use with KFM_MODE.
KFM_MODE
type
integer
value
1
KFM_PING_PONG
type
integer
value
2
tooltip
For use with KFM_MODE.
KFM_REVERSE
type
integer
value
3
tooltip
For use with KFM_MODE.
KFM_ROTATION
type
integer
value
1
tooltip
For use with KFM_DATA.
KFM_TRANSLATION
type
integer
value
2
tooltip
For use with KFM_DATA.
LAND_LARGE_BRUSH
type
integer
value
3
tooltip
Use a large brush size.\nNOTE: This value is incorrect, a large brush should be 2.
LAND_LEVEL
type
integer
value
0
tooltip
Action to level the land.
LAND_LOWER
type
integer
value
2
tooltip
Action to lower the land.
LAND_MEDIUM_BRUSH
type
integer
value
2
tooltip
Use a medium brush size.\nNOTE: This value is incorrect, a medium brush should be 1.
LAND_NOISE
type
integer
value
4
LAND_RAISE
type
integer
value
1
tooltip
Action to raise the land.
LAND_REVERT
type
integer
value
5
LAND_SMALL_BRUSH
type
integer
value
1
tooltip
Use a small brush size.\nNOTE: This value is incorrect, a small brush should be 0.
LAND_SMOOTH
type
integer
value
3
LINK_ALL_CHILDREN
type
integer
value
-3
tooltip
This targets every object except the root in the linked set.
LINK_ALL_OTHERS
type
integer
value
-2
tooltip
This targets every object in the linked set except the object with the script.
LINK_ROOT
type
integer
value
1
tooltip
This targets the root of the linked set.
LINK_SET
type
integer
value
-1
tooltip
This targets every object in the linked set.
LINK_THIS
type
integer
value
-4
tooltip
The link number of the prim containing the script.
LIST_STAT_GEOMETRIC_MEAN
type
integer
value
9
tooltip
Returns the geometric mean of a list of numbers
LIST_STAT_HARMONIC_MEAN
type
integer
value
100
tooltip
Returns the harmonic mean of a list of numbers
LIST_STAT_MAX
type
integer
value
2
LIST_STAT_MEAN
type
integer
value
3
LIST_STAT_MEDIAN
type
integer
value
4
LIST_STAT_MIN
type
integer
value
1
LIST_STAT_NUM_COUNT
type
integer
value
8
LIST_STAT_RANGE
type
integer
value
0
LIST_STAT_STD_DEV
type
integer
value
5
LIST_STAT_SUM
type
integer
value
6
LIST_STAT_SUM_SQUARES
type
integer
value
7
LOOP
type
integer
value
0x2
tooltip
Loop the texture animation.
MASK_BASE
type
integer
value
0
MASK_EVERYONE
type
integer
value
3
MASK_GROUP
type
integer
value
2
MASK_NEXT
type
integer
value
4
MASK_OWNER
type
integer
value
1
NPC
type
integer
value
0x20
NULL_KEY
type
string
value
00000000-0000-0000-0000-000000000000
OBJECT_ATTACHED_POINT
type
integer
value
19
tooltip
Gets the attachment point to which the object is attached.\nReturns 0 if the object is not an attachment (or is an avatar, etc).
OBJECT_BODY_SHAPE_TYPE
type
integer
value
26
tooltip
This is a flag used with llGetObjectDetails to get the body type of the avatar, based on shape data.\nIf no data is available, -1.0 is returned.\nThis is normally between 0 and 1.0, with 0.5 and larger considered 'male'
OBJECT_CLICK_ACTION
type
integer
value
28
tooltip
This is a flag used with llGetObjectDetails to get the click action.\nThe default is 0
OBJECT_CREATOR
type
integer
value
8
tooltip
Gets the object's creator key. If id is an avatar, a NULL_KEY is returned.
OBJECT_DESC
type
integer
value
2
tooltip
Gets the object's description. If id is an avatar, an empty string is returned.
OBJECT_GROUP
type
integer
value
7
tooltip
Gets the prims's group key. If id is an avatar, a NULL_KEY is returned.
OBJECT_HOVER_HEIGHT
type
integer
value
25
tooltip
This is a flag used with llGetObjectDetails to get hover height of the avatar\nIf no data is available, 0.0 is returned.
OBJECT_LAST_OWNER_ID
type
integer
value
27
tooltip
Gets the object's last owner ID.
OBJECT_NAME
type
integer
value
1
tooltip
Gets the object's name.
OBJECT_OMEGA
type
integer
value
29
tooltip
Gets an object's angular velocity.
OBJECT_OWNER
type
integer
value
6
tooltip
Gets an object's owner's key. If id is group owned, a NULL_KEY is returned.
OBJECT_PRIM_COUNT
type
integer
value
30
tooltip
Gets the prim count of the object. The script and target object must be owned by the same owner
OBJECT_PHANTOM
type
integer
value
22
tooltip
Returns boolean, detailing if phantom is enabled or disabled on the object.\nIf id is an avatar or attachment, 0 is returned.
OBJECT_PHYSICS
type
integer
value
21
tooltip
Returns boolean, detailing if physics is enabled or disabled on the object.\nIf id is an avatar or attachment, 0 is returned.
OBJECT_PHYSICS_COST
type
integer
value
16
OBJECT_POS
type
integer
value
3
tooltip
Gets the object's position in region coordinates.
OBJECT_PRIM_EQUIVALENCE
type
integer
value
13
OBJECT_RENDER_WEIGHT
type
integer
value
24
tooltip
This is a flag used with llGetObjectDetails to get the Avatar_Rendering_Cost of an avatar, based on values reported by nearby viewers.\nIf no data is available, -1 is returned.\nThe maximum render weight stored by the simulator is 500000. When called against an object, 0 is returned.
OBJECT_RETURN_PARCEL
type
integer
value
1
OBJECT_RETURN_PARCEL_OWNER
type
integer
value
2
OBJECT_RETURN_REGION
type
integer
value
4
OBJECT_REZZER_KEY
type
integer
value
32
OBJECT_ROOT
type
integer
value
18
tooltip
Gets the id of the root prim of the object requested.\nIf id is an avatar, return the id of the root prim of the linkset the avatar is sitting on (or the avatar's own id if the avatar is not sitting on an object within the region).
OBJECT_ROT
type
integer
value
4
tooltip
Gets the object's rotation.
OBJECT_RUNNING_SCRIPT_COUNT
type
integer
value
9
OBJECT_SCRIPT_MEMORY
type
integer
value
11
OBJECT_SCRIPT_TIME
type
integer
value
12
OBJECT_SERVER_COST
type
integer
value
14
OBJECT_STREAMING_COST
type
integer
value
15
OBJECT_TEMP_ON_REZ
type
integer
value
23
tooltip
Returns boolean, detailing if temporary is enabled or disabled on the object.
OBJECT_TOTAL_INVENTORY_COUNT
type
integer
value
31
tooltip
Gets the total inventory count of the object. The script and target object must be owned by the same owner
OBJECT_TOTAL_SCRIPT_COUNT
type
integer
value
10
OBJECT_UNKNOWN_DETAIL
type
integer
value
-1
OBJECT_VELOCITY
type
integer
value
5
tooltip
Gets the object's velocity.
OS_ATTACH_MSG_ALL
type
integer
value
-65535
tooltip
Send the message to attachments on every point.
OS_ATTACH_MSG_INVERT_POINTS
type
integer
value
1
tooltip
Invert how the attachment points list should be treated.
OS_ATTACH_MSG_OBJECT_CREATOR
type
integer
value
2
tooltip
Send only to those have the same CreatorID with host object CreatorID.
OS_LISTEN_REGEX_NAME
type
integer
value
0x1
tooltip
Process name parameter as regex
OS_LISTEN_REGEX_MESSAGE
type
integer
value
0x2
tooltip
Process message parameter as regex
OS_ATTACH_MSG_SCRIPT_CREATOR
type
integer
value
4
tooltip
Send only to those have the same CreatorID with sender script CreatorID.
OS_NPC
type
integer
value
0x20
tooltip
Same as NPC
OS_NPC_FLY
type
integer
value
0
OS_NPC_NO_FLY
type
integer
value
1
OS_NPC_LAND_AT_TARGET
type
integer
value
2
OS_NPC_SIT_NOW
type
integer
value
0
OS_NPC_CREATOR_OWNED
type
integer
value
0x1
OS_NPC_NOT_OWNED
type
integer
value
0x2
OS_NPC_SENSE_AS_AGENT
type
integer
value
0x4
OS_NPC_OBJECT_GROUP
type
integer
value
0x8
OS_NPC_RUNNING
type
integer
value
4
OSTPOBJ_NONE
type
integer
value
0x0
tooltip
osTeleportObject flag
OSTPOBJ_STOPATTARRGET
type
integer
value
0x1
tooltip
osTeleportObject flag: object is stopped at destination
OSTPOBJ_STOPONFAIL
type
integer
value
0x2
tooltip
osTeleportObject flag: object stops at start point if tp fails
OSTPOBJ_SETROT
type
integer
value
0x2
tooltip
osTeleportObject flag: the rotation is the final object rotation, otherwise is a added rotation
PARCEL_COUNT_GROUP
type
integer
value
2
PARCEL_COUNT_OTHER
type
integer
value
3
PARCEL_COUNT_OWNER
type
integer
value
1
PARCEL_COUNT_SELECTED
type
integer
value
4
PARCEL_COUNT_TEMP
type
integer
value
5
PARCEL_COUNT_TOTAL
type
integer
value
0
PARCEL_DETAILS_AREA
type
integer
value
4
tooltip
The parcel's area, in square meters. (5 chars.).
PARCEL_DETAILS_CLAIMDATE
type
integer
value
10
tooltip
Set parcel claim date.
PARCEL_DETAILS_DESC
type
integer
value
1
tooltip
The description of the parcel. (127 chars).
PARCEL_DETAILS_GROUP
type
integer
value
3
tooltip
The parcel group's key. (36 chars.).
PARCEL_DETAILS_ID
type
integer
value
5
tooltip
The parcel's key. (36 chars.).
PARCEL_DETAILS_NAME
type
integer
value
0
tooltip
The name of the parcel. (63 chars.).
PARCEL_DETAILS_OWNER
type
integer
value
2
tooltip
The parcel owner's key. (36 chars.).
PARCEL_DETAILS_SEE_AVATARS
type
integer
value
6
tooltip
The parcel's avatar visibility setting. (1 char.).
PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY
type
integer
value
0x08000000
PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS
type
integer
value
0x4000000
PARCEL_FLAG_ALLOW_CREATE_OBJECTS
type
integer
value
0x40
PARCEL_FLAG_ALLOW_DAMAGE
type
integer
value
0x20
PARCEL_FLAG_ALLOW_FLY
type
integer
value
0x1
PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY
type
integer
value
0x10000000
PARCEL_FLAG_ALLOW_GROUP_SCRIPTS
type
integer
value
0x2000000
PARCEL_FLAG_ALLOW_LANDMARK
type
integer
value
0x8
PARCEL_FLAG_ALLOW_SCRIPTS
type
integer
value
0x2
PARCEL_FLAG_ALLOW_TERRAFORM
type
integer
value
0x10
PARCEL_FLAG_LOCAL_SOUND_ONLY
type
integer
value
0x8000
PARCEL_FLAG_RESTRICT_PUSHOBJECT
type
integer
value
0x200000
PARCEL_FLAG_USE_ACCESS_GROUP
type
integer
value
0x100
PARCEL_FLAG_USE_ACCESS_LIST
type
integer
value
0x200
PARCEL_FLAG_USE_BAN_LIST
type
integer
value
0x400
PARCEL_FLAG_USE_LAND_PASS_LIST
type
integer
value
0x800
PARCEL_MEDIA_COMMAND_AGENT
type
integer
value
7
PARCEL_MEDIA_COMMAND_AUTO_ALIGN
type
integer
value
9
PARCEL_MEDIA_COMMAND_DESC
type
integer
value
12
tooltip
Use this to get or set the parcel media description.
PARCEL_MEDIA_COMMAND_LOOP
type
integer
value
3
PARCEL_MEDIA_COMMAND_LOOP_SET
type
integer
value
13
tooltip
Used to get or set the parcel's media looping variable.
PARCEL_MEDIA_COMMAND_PAUSE
type
integer
value
1
PARCEL_MEDIA_COMMAND_PLAY
type
integer
value
2
PARCEL_MEDIA_COMMAND_SIZE
type
integer
value
11
tooltip
Use this to get or set the parcel media pixel resolution.
PARCEL_MEDIA_COMMAND_STOP
type
integer
value
0
PARCEL_MEDIA_COMMAND_TEXTURE
type
integer
value
4
PARCEL_MEDIA_COMMAND_TIME
type
integer
value
6
PARCEL_MEDIA_COMMAND_TYPE
type
integer
value
10
tooltip
Use this to get or set the parcel media MIME type (e.g. "text/html").
PARCEL_MEDIA_COMMAND_UNLOAD
type
integer
value
8
PARCEL_MEDIA_COMMAND_URL
type
integer
value
5
PASS_ALWAYS
type
integer
value
1
tooltip
Always pass the event.
PASS_NEVER
type
integer
value
2
tooltip
Always pass the event.
PASS_IF_NOT_HANDLED
type
integer
value
0
tooltip
Pass the event if there is no script handling the event in the prim.
PASSIVE
type
integer
value
0x4
tooltip
Static in-world objects.
PAY_DEFAULT
type
integer
value
-2
PAY_HIDE
type
integer
value
-1
PAYMENT_INFO_ON_FILE
type
integer
value
1
PAYMENT_INFO_USED
type
integer
value
2
PERM_ALL
type
integer
value
0x7FFFFFFF
PERM_COPY
type
integer
value
0x8000
PERM_MODIFY
type
integer
value
0x4000
PERM_MOVE
type
integer
value
0x80000
PERM_TRANSFER
type
integer
value
0x2000
PERMISSION_ATTACH
type
integer
value
0x20
tooltip
If this permission is enabled, the object can successfully call llAttachToAvatar to attach to the given avatar.
PERMISSION_CHANGE_LINKS
type
integer
value
0x80
tooltip
If this permission is enabled, the object can successfully call llCreateLink, llBreakLink, and llBreakAllLinks to change links to other objects.
PERMISSION_CHANGE_PERMISSIONS
type
integer
value
0x200
tooltip
(not yet implemented)
PERMISSION_CONTROL_CAMERA
type
integer
value
0x800
PERMISSION_DEBIT
type
integer
value
0x2
tooltip
If this permission is enabled, the object can successfully call llGiveMoney or llTransferLindenDollars to debit the owners account.
PERMISSION_OVERRIDE_ANIMATIONS
type
integer
value
0x8000
tooltip
Permission to override default animations.
PERMISSION_RELEASE_OWNERSHIP
type
integer
value
0x40
tooltip
(not yet implemented)
PERMISSION_REMAP_CONTROLS
type
integer
value
0x8
tooltip
(not yet implemented)
PERMISSION_RETURN_OBJECTS
type
integer
value
65536
PERMISSION_SILENT_ESTATE_MANAGEMENT
type
integer
value
0x4000
tooltip
A script with this permission does not notify the object owner when it modifies estate access rules via llManageEstateAccess.
PERMISSION_TAKE_CONTROLS
type
integer
value
0x4
tooltip
If this permission enabled, the object can successfully call the llTakeControls libray call.
PERMISSION_TELEPORT
type
integer
value
0x1000
PERMISSION_TRACK_CAMERA
type
integer
value
0x400
PERMISSION_TRIGGER_ANIMATION
type
integer
value
0x10
tooltip
If this permission is enabled, the object can successfully call llStartAnimation for the avatar that owns this.
PI
type
float
value
3.14159265
tooltip
3.14159265 - The number of radians in a semi-circle.
PI_BY_TWO
type
float
value
1.57079633
tooltip
1.57079633 - The number of radians in a quarter circle.
PING_PONG
type
integer
value
0x8
tooltip
Play animation going forwards, then backwards.
PRIM_ALPHA_MODE
type
integer
value
38
tooltip
Prim parameter for materials using integer face, integer alpha_mode, integer alpha_cutoff.\nDefines how the alpha channel of the diffuse texture should be rendered.\nValid options for alpha_mode are PRIM_ALPHA_MODE_BLEND, _NONE, _MASK, and _EMISSIVE.\nalpha_cutoff is used only for PRIM_ALPHA_MODE_MASK.
PRIM_ALPHA_MODE_NONE
type
integer
value
0
tooltip
Prim parameter setting for PRIM_ALPHA_MODE.\nIndicates that the diffuse texture's alpha channel should be ignored.
PRIM_ALPHA_MODE_BLEND
type
integer
value
1
tooltip
Prim parameter setting for PRIM_ALPHA_MODE.\nIndicates that the diffuse texture's alpha channel should be rendered as alpha-blended.
PRIM_ALPHA_MODE_MASK
type
integer
value
2
tooltip
Prim parameter setting for PRIM_ALPHA_MODE.\nIndicates that the diffuse texture's alpha channel should be rendered as fully opaque for alpha values above alpha_cutoff and fully transparent otherwise.
PRIM_ALPHA_MODE_EMISSIVE
type
integer
value
3
tooltip
Prim parameter setting for PRIM_ALPHA_MODE.\nIndicates that the diffuse texture's alpha channel should be rendered as an emissivity mask.
PRIM_BUMP_BARK
type
integer
value
4
PRIM_BUMP_BLOBS
type
integer
value
12
PRIM_BUMP_BRICKS
type
integer
value
5
PRIM_BUMP_BRIGHT
type
integer
value
1
PRIM_BUMP_CHECKER
type
integer
value
6
PRIM_BUMP_CONCRETE
type
integer
value
7
PRIM_BUMP_DARK
type
integer
value
2
PRIM_BUMP_DISKS
type
integer
value
10
PRIM_BUMP_GRAVEL
type
integer
value
11
PRIM_BUMP_LARGETILE
type
integer
value
14
PRIM_BUMP_NONE
type
integer
value
0
PRIM_BUMP_SHINY
type
integer
value
19
PRIM_BUMP_SIDING
type
integer
value
13
PRIM_BUMP_STONE
type
integer
value
9
PRIM_BUMP_STUCCO
type
integer
value
15
PRIM_BUMP_SUCTION
type
integer
value
16
PRIM_BUMP_TILE
type
integer
value
8
PRIM_BUMP_WEAVE
type
integer
value
17
PRIM_BUMP_WOOD
type
integer
value
3
PRIM_CAST_SHADOWS
deprecated
true
type
integer
value
24
PRIM_COLOR
type
integer
value
18
PRIM_DESC
type
integer
value
28
PRIM_FLEXIBLE
type
integer
value
21
PRIM_FULLBRIGHT
type
integer
value
20
PRIM_GLOW
type
integer
value
25
tooltip
PRIM_GLOW is used to get or set the glow status of the face.
PRIM_HOLE_CIRCLE
type
integer
value
0x10
PRIM_HOLE_DEFAULT
type
integer
value
0x00
PRIM_HOLE_SQUARE
type
integer
value
0x20
PRIM_HOLE_TRIANGLE
type
integer
value
0x30
PRIM_LINK_TARGET
type
integer
value
34
PRIM_MATERIAL
type
integer
value
2
PRIM_MATERIAL_FLESH
type
integer
value
4
PRIM_MATERIAL_GLASS
type
integer
value
2
PRIM_MATERIAL_LIGHT
type
integer
value
7
PRIM_MATERIAL_METAL
type
integer
value
1
PRIM_MATERIAL_PLASTIC
type
integer
value
5
PRIM_MATERIAL_RUBBER
type
integer
value
6
PRIM_MATERIAL_STONE
type
integer
value
0
PRIM_MATERIAL_WOOD
type
integer
value
3
PRIM_MEDIA_ALT_IMAGE_ENABLE
type
integer
value
0
tooltip
Boolean. Gets/Sets the default image state (the image that the user sees before a piece of media is active) for the chosen face. The default image is specified by Second Life's server for that media type.
PRIM_MEDIA_AUTO_LOOP
type
integer
value
4
tooltip
Boolean. Gets/Sets whether auto-looping is enabled.
PRIM_MEDIA_AUTO_PLAY
type
integer
value
5
tooltip
Boolean. Gets/Sets whether the media auto-plays when a Resident can view it.
PRIM_MEDIA_AUTO_SCALE
type
integer
value
6
tooltip
Boolean. Gets/Sets whether auto-scaling is enabled. Auto-scaling forces the media to the full size of the texture.
PRIM_MEDIA_AUTO_ZOOM
type
integer
value
7
tooltip
Boolean. Gets/Sets whether clicking the media triggers auto-zoom and auto-focus on the media.
PRIM_MEDIA_CONTROLS
type
integer
value
1
tooltip
Integer. Gets/Sets the style of controls. Can be either PRIM_MEDIA_CONTROLS_STANDARD or PRIM_MEDIA_CONTROLS_MINI.
PRIM_MEDIA_CONTROLS_MINI
type
integer
value
1
tooltip
Mini web navigation controls; does not include an address bar.
PRIM_MEDIA_CONTROLS_STANDARD
type
integer
value
0
tooltip
Standard web navigation controls.
PRIM_MEDIA_CURRENT_URL
type
integer
value
2
tooltip
String. Gets/Sets the current url displayed on the chosen face. Changing this URL causes navigation. 1024 characters Maximum.
PRIM_MEDIA_FIRST_CLICK_INTERACT
type
integer
value
8
tooltip
Boolean. Gets/Sets whether the first click interaction is enabled.
PRIM_MEDIA_HEIGHT_PIXELS
type
integer
value
10
tooltip
Integer. Gets/Sets the height of the media in pixels.
PRIM_MEDIA_HOME_URL
type
integer
value
3
tooltip
String. Gets/Sets the home URL for the chosen face. 1024 characters maximum.
PRIM_MEDIA_MAX_HEIGHT_PIXELS
type
integer
value
2048
PRIM_MEDIA_MAX_URL_LENGTH
type
integer
value
1024
PRIM_MEDIA_MAX_WHITELIST_COUNT
type
integer
value
64
PRIM_MEDIA_MAX_WHITELIST_SIZE
type
integer
value
1024
PRIM_MEDIA_MAX_WIDTH_PIXELS
type
integer
value
2048
PRIM_MEDIA_PARAM_MAX
type
integer
value
14
PRIM_MEDIA_PERM_ANYONE
type
integer
value
4
PRIM_MEDIA_PERM_GROUP
type
integer
value
2
PRIM_MEDIA_PERM_NONE
type
integer
value
0
PRIM_MEDIA_PERM_OWNER
type
integer
value
1
PRIM_MEDIA_PERMS_CONTROL
type
integer
value
14
tooltip
Integer. Gets/Sets the permissions mask that control who can see the media control bar above the object:: PRIM_MEDIA_PERM_ANYONE, PRIM_MEDIA_PERM_GROUP, PRIM_MEDIA_PERM_NONE, PRIM_MEDIA_PERM_OWNER
PRIM_MEDIA_PERMS_INTERACT
type
integer
value
13
tooltip
Integer. Gets/Sets the permissions mask that control who can interact with the object: PRIM_MEDIA_PERM_ANYONE, PRIM_MEDIA_PERM_GROUP, PRIM_MEDIA_PERM_NONE, PRIM_MEDIA_PERM_OWNER
PRIM_MEDIA_WHITELIST
type
integer
value
12
tooltip
String. Gets/Sets the white-list as a string of escaped, comma-separated URLs. This string can hold up to 64 URLs or 1024 characters, whichever comes first.
PRIM_MEDIA_WHITELIST_ENABLE
type
integer
value
11
tooltip
Boolean. Gets/Sets whether navigation is restricted to URLs in PRIM_MEDIA_WHITELIST.
PRIM_MEDIA_WIDTH_PIXELS
type
integer
value
9
tooltip
Integer. Gets/Sets the width of the media in pixels.
PRIM_NAME
type
integer
value
27
PRIM_NORMAL
type
integer
value
37
tooltip
Prim parameter for materials using integer face, string texture, vector repeats, vector offsets, float rotation_in_radians
PRIM_OMEGA
type
integer
value
32
PRIM_PHANTOM
type
integer
value
5
PRIM_PHYSICS
type
integer
value
3
PRIM_PHYSICS_SHAPE_CONVEX
type
integer
value
2
tooltip
Use the convex hull of the prim shape for physics (this is the default for mesh objects).
PRIM_PHYSICS_SHAPE_NONE
type
integer
value
1
tooltip
Ignore this prim in the physics shape. NB: This cannot be applied to the root prim.
PRIM_PHYSICS_SHAPE_PRIM
type
integer
value
0
tooltip
Use the normal prim shape for physics (this is the default for all non-mesh objects).
PRIM_PHYSICS_SHAPE_TYPE
type
integer
value
30
tooltip
Allows you to set the physics shape type of a prim via lsl. Permitted values are:
PRIM_PHYSICS_SHAPE_NONE, PRIM_PHYSICS_SHAPE_PRIM, PRIM_PHYSICS_SHAPE_CONVEX
PRIM_POINT_LIGHT
type
integer
value
23
PRIM_POS_LOCAL
type
integer
value
33
PRIM_POSITION
type
integer
value
6
PRIM_ROT_LOCAL
type
integer
value
29
PRIM_ROTATION
type
integer
value
8
PRIM_SCULPT_FLAG_INVERT
type
integer
value
64
tooltip
Render inside out (inverts the normals).
PRIM_SCULPT_FLAG_MIRROR
type
integer
value
128
tooltip
Render an X axis mirror of the sculpty.
PRIM_SCULPT_TYPE_CYLINDER
type
integer
value
4
PRIM_SCULPT_TYPE_MASK
type
integer
value
7
PRIM_SCULPT_TYPE_PLANE
type
integer
value
3
PRIM_SCULPT_TYPE_SPHERE
type
integer
value
1
PRIM_SCULPT_TYPE_TORUS
type
integer
value
2
PRIM_SHINY_HIGH
type
integer
value
3
PRIM_SHINY_LOW
type
integer
value
1
PRIM_SHINY_MEDIUM
type
integer
value
2
PRIM_SHINY_NONE
type
integer
value
0
PRIM_SIZE
type
integer
value
7
PRIM_SLICE
type
integer
value
35
PRIM_SPECULAR
type
integer
value
36
tooltip
Prim parameter for materials using integer face, string texture, vector repeats, vector offsets, float rotation_in_radians, vector color, integer glossy, integer environment
PRIM_TEMP_ON_REZ
type
integer
value
4
PRIM_TEXGEN
type
integer
value
22
PRIM_TEXGEN_DEFAULT
type
integer
value
0
PRIM_TEXGEN_PLANAR
type
integer
value
1
PRIM_TEXT
type
integer
value
26
PRIM_TEXTURE
type
integer
value
17
PRIM_TYPE
type
integer
value
9
PRIM_TYPE_BOX
type
integer
value
0
PRIM_TYPE_CYLINDER
type
integer
value
1
PRIM_TYPE_PRISM
type
integer
value
2
PRIM_TYPE_RING
type
integer
value
6
PRIM_TYPE_SCULPT
type
integer
value
7
PRIM_TYPE_SPHERE
type
integer
value
3
PRIM_TYPE_TORUS
type
integer
value
4
PRIM_TYPE_TUBE
type
integer
value
5
PROFILE_NONE
type
integer
value
0
tooltip
Disables profiling
PROFILE_SCRIPT_MEMORY
type
integer
value
1
tooltip
Enables memory profiling
PSYS_PART_BF_DEST_COLOR
type
integer
value
2
PSYS_PART_BF_ONE
type
integer
value
0
PSYS_PART_BF_ONE_MINUS_DEST_COLOR
type
integer
value
4
PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR
type
integer
value
5
PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA
type
integer
value
9
PSYS_PART_BF_SOURCE_ALPHA
type
integer
value
7
PSYS_PART_BF_SOURCE_COLOR
type
integer
value
3
PSYS_PART_BF_ZERO
type
integer
value
1
PSYS_PART_BLEND_FUNC_DEST
type
integer
value
25
PSYS_PART_BLEND_FUNC_SOURCE
type
integer
value
24
PSYS_PART_BOUNCE_MASK
type
integer
value
0x4
tooltip
Particles bounce off of a plane at the objects Z height.
PSYS_PART_EMISSIVE_MASK
type
integer
value
0x100
tooltip
The particle glows.
PSYS_PART_END_ALPHA
type
integer
value
4
tooltip
A float which determines the ending alpha of the object.
PSYS_PART_END_COLOR
type
integer
value
3
tooltip
A vector <r, g, b> which determines the ending color of the object.
PSYS_PART_END_GLOW
type
integer
value
27
PSYS_PART_END_SCALE
type
integer
value
6
tooltip
A vector <sx, sy, z>, which is the ending size of the particle billboard in meters (z is ignored).
PSYS_PART_FLAGS
type
integer
value
0
tooltip
Each particle that is emitted by the particle system is simulated based on the following flags. To use multiple flags, bitwise or (|) them together.
PSYS_PART_FOLLOW_SRC_MASK
type
integer
value
0x10
tooltip
The particle position is relative to the source objects position.
PSYS_PART_FOLLOW_VELOCITY_MASK
type
integer
value
0x20
tooltip
The particle orientation is rotated so the vertical axis faces towards the particle velocity.
PSYS_PART_INTERP_COLOR_MASK
type
integer
value
0x1
tooltip
Interpolate both the color and alpha from the start value to the end value.
PSYS_PART_INTERP_SCALE_MASK
type
integer
value
0x2
tooltip
Interpolate the particle scale from the start value to the end value.
PSYS_PART_MAX_AGE
type
integer
value
7
tooltip
Age in seconds of a particle at which it dies.
PSYS_PART_RIBBON_MASK
type
integer
value
0x400
PSYS_PART_START_ALPHA
type
integer
value
2
tooltip
A float which determines the starting alpha of the object.
PSYS_PART_START_COLOR
type
integer
value
1
tooltip
A vector <r.r, g.g, b.b> which determines the starting color of the object.
PSYS_PART_START_GLOW
type
integer
value
26
PSYS_PART_START_SCALE
type
integer
value
5
tooltip
A vector <sx, sy, z>, which is the starting size of the particle billboard in meters (z is ignored).
PSYS_PART_TARGET_LINEAR_MASK
type
integer
value
0x80
PSYS_PART_TARGET_POS_MASK
type
integer
value
0x40
tooltip
The particle heads towards the location of the target object as defined by PSYS_SRC_TARGET_KEY.
PSYS_PART_WIND_MASK
type
integer
value
0x8
tooltip
Particles have their velocity damped towards the wind velocity.
PSYS_SRC_ACCEL
type
integer
value
8
tooltip
A vector <x, y, z> which is the acceleration to apply on particles.
PSYS_SRC_ANGLE_BEGIN
type
integer
value
22
tooltip
Area in radians specifying where particles will NOT be created (for ANGLE patterns)
PSYS_SRC_ANGLE_END
type
integer
value
23
tooltip
Area in radians filled with particles (for ANGLE patterns) (if lower than PSYS_SRC_ANGLE_BEGIN, acts as PSYS_SRC_ANGLE_BEGIN itself, and PSYS_SRC_ANGLE_BEGIN acts as PSYS_SRC_ANGLE_END).
PSYS_SRC_BURST_PART_COUNT
type
integer
value
15
tooltip
How many particles to release in a burst.
PSYS_SRC_BURST_RADIUS
type
integer
value
16
tooltip
What distance from the center of the object to create the particles.
PSYS_SRC_BURST_RATE
type
integer
value
13
tooltip
How often to release a particle burst (float seconds).
PSYS_SRC_BURST_SPEED_MAX
type
integer
value
18
tooltip
Maximum speed that a particle should be moving.
PSYS_SRC_BURST_SPEED_MIN
type
integer
value
17
tooltip
Minimum speed that a particle should be moving.
PSYS_SRC_INNERANGLE
type
integer
value
10
tooltip
Specifies the inner angle of the arc created by the PSYS_SRC_PATTERN_ANGLE or PSYS_SRC_PATTERN_ANGLE_CONE source pattern.
The area specified will NOT have particles in it.
PSYS_SRC_MAX_AGE
type
integer
value
19
tooltip
How long this particle system should last, 0.0 means forever.
PSYS_SRC_OMEGA
type
integer
value
21
tooltip
Sets the angular velocity to rotate the axis that SRC_PATTERN_ANGLE and SRC_PATTERN_ANGLE_CONE use.
PSYS_SRC_OUTERANGLE
type
integer
value
11
tooltip
Specifies the outer angle of the arc created by the PSYS_SRC_PATTERN_ANGLE or PSYS_SRC_PATTERN_ANGLE_CONE source pattern.The area between the outer and inner angle will be filled with particles.
PSYS_SRC_PATTERN
type
integer
value
9
tooltip
The pattern which is used to generate particles. Use one of the following values: PSYS_SRC_PATTERN Values.
PSYS_SRC_PATTERN_ANGLE
type
integer
value
0x04
tooltip
Shoot particles across a 2 dimensional area defined by the arc created from PSYS_SRC_OUTERANGLE. There will be an open area defined by PSYS_SRC_INNERANGLE within the larger arc.
PSYS_SRC_PATTERN_ANGLE_CONE
type
integer
value
0x08
tooltip
Shoot particles out in a 3 dimensional cone with an outer arc of PSYS_SRC_OUTERANGLE and an inner open area defined by PSYS_SRC_INNERANGLE.
PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY
type
integer
value
0x10
PSYS_SRC_PATTERN_DROP
type
integer
value
0x01
tooltip
Drop particles at the source position.
PSYS_SRC_PATTERN_EXPLODE
type
integer
value
0x02
tooltip
Shoot particles out in all directions, using the burst parameters.
PSYS_SRC_TARGET_KEY
type
integer
value
20
tooltip
The key of a target object to move towards if PSYS_PART_TARGET_POS_MASK is enabled.
PSYS_SRC_TEXTURE
type
integer
value
12
tooltip
An asset name for the texture to use for the particles.
PUBLIC_CHANNEL
type
integer
value
0
tooltip
PUBLIC_CHANNEL is an integer constant that, when passed to llSay, llWhisper, or llShout as a channel parameter, will print text to the publicly heard chat channel.
RAD_TO_DEG
type
float
value
57.2957795
tooltip
57.2957795 - Number of degrees per radian. You can use this number to convert radians to degrees by multiplying the radians by this number.
RC_DATA_FLAGS
type
integer
value
2
RC_DETECT_PHANTOM
type
integer
value
1
RC_GET_LINK_NUM
type
integer
value
4
RC_GET_NORMAL
type
integer
value
1
RC_GET_ROOT_KEY
type
integer
value
2
RC_MAX_HITS
type
integer
value
3
RC_REJECT_AGENTS
type
integer
value
1
RC_REJECT_LAND
type
integer
value
8
RC_REJECT_NONPHYSICAL
type
integer
value
4
RC_REJECT_PHYSICAL
type
integer
value
2
RC_REJECT_TYPES
type
integer
value
0
RCERR_CAST_TIME_EXCEEDED
type
integer
value
-3
RCERR_SIM_PERF_LOW
type
integer
value
-2
RCERR_UNKNOWN
type
integer
value
-1
REGION_FLAG_ALLOW_DAMAGE
type
integer
value
0x1
REGION_FLAG_ALLOW_DIRECT_TELEPORT
type
integer
value
0x100000
REGION_FLAG_BLOCK_FLY
type
integer
value
0x80000
REGION_FLAG_BLOCK_FLYOVER
type
integer
value
0x8000000
REGION_FLAG_BLOCK_TERRAFORM
type
integer
value
0x40
REGION_FLAG_DISABLE_COLLISIONS
type
integer
value
0x1000
REGION_FLAG_DISABLE_PHYSICS
type
integer
value
0x4000
REGION_FLAG_FIXED_SUN
type
integer
value
0x10
REGION_FLAG_RESTRICT_PUSHOBJECT
type
integer
value
0x400000
REGION_FLAG_SANDBOX
type
integer
value
0x100
REMOTE_DATA_CHANNEL
type
integer
value
1
REMOTE_DATA_REPLY
type
integer
value
3
REMOTE_DATA_REQUEST
type
integer
value
2
REQUIRE_LINE_OF_SIGHT
type
integer
value
2
tooltip
Define whether the character needs a line-of-sight to give chase.
RESTITUTION
type
integer
value
4
tooltip
Used with llSetPhysicsMaterial to enable the density value. Must be between 0.0 and 1.0
REVERSE
type
integer
value
0x4
tooltip
Play animation in reverse direction.
ROTATE
type
integer
value
0x20
tooltip
Animate texture rotation.
SCALE
type
integer
value
0x40
tooltip
Animate the texture scale.
SCRIPTED
type
integer
value
0x8
tooltip
Scripted in-world objects.
SMOOTH
type
integer
value
0x10
tooltip
Slide in the X direction, instead of playing separate frames.
SQRT2
type
float
value
1.41421356
tooltip
1.41421356 - The square root of 2.
STATUS_BLOCK_GRAB
type
integer
value
0x40
tooltip
Controls whether the object can be grabbed.\nA grab is the default action when in third person, and is available as the hand tool in build mode. This is useful for physical objects that you don't want other people to be able to trivially disturb. The default is FALSE
STATS_TIME_DILATION
type
integer
value
0
tooltip
osGetRegionStats Time Dilation
STATS_SIM_FPS
type
integer
value
1
tooltip
osGetRegionStats Sim FPS
STATS_PHYSICS_FPS
type
integer
value
2
tooltip
osGetRegionStats Physics FPS
STATS_AGENT_UPDATES
type
integer
value
3
tooltip
osGetRegionStats Agent Updates/Sec
STATS_ROOT_AGENTS
type
integer
value
4
tooltip
osGetRegionStats Main Agents
STATS_CHILD_AGENTS
type
integer
value
5
tooltip
osGetRegionStats Child Agents
STATS_TOTAL_PRIMS
type
integer
value
6
tooltip
osGetRegionStats Objects
STATS_ACTIVE_PRIMS
type
integer
value
7
tooltip
osGetRegionStats Active Objects
STATS_FRAME_MS
type
integer
value
8
tooltip
osGetRegionStats Total Frame Time
STATS_NET_MS
type
integer
value
9
tooltip
osGetRegionStats Net Time
STATS_PHYSICS_MS
type
integer
value
10
tooltip
osGetRegionStats Physics Time
STATS_IMAGE_MS
type
integer
value
11
tooltip
osGetRegionStats Image Time
STATS_OTHER_MS
type
integer
value
12
tooltip
osGetRegionStats Other Time
STATS_IN_PACKETS_PER_SECOND
type
integer
value
13
tooltip
osGetRegionStats Packets in
STATS_OUT_PACKETS_PER_SECOND
type
integer
value
14
tooltip
osGetRegionStats Packets out
STATS_UNACKED_BYTES
type
integer
value
15
tooltip
osGetRegionStats Total Unacked Bytes
STATS_AGENT_MS
type
integer
value
16
tooltip
osGetRegionStats Agent Time
STATS_PENDING_DOWNLOADS
type
integer
value
17
tooltip
osGetRegionStats Pending Downloads
STATS_PENDING_UPLOADS
type
integer
value
18
tooltip
osGetRegionStats Pending Uploads
STATS_ACTIVE_SCRIPTS
type
integer
value
19
tooltip
osGetRegionStats Active Scripts
STATS_SCRIPT_LPS
type
integer
value
20
tooltip
osGetRegionStats Script Line Per Second
STATUS_BLOCK_GRAB_OBJECT
type
integer
value
0x400
tooltip
Prevent click-and-drag movement on all prims in the object.
STATUS_BOUNDS_ERROR
type
integer
value
1002
tooltip
Argument(s) passed to function had a bounds error.
STATUS_CAST_SHADOWS
type
integer
value
0x200
STATUS_DIE_AT_EDGE
type
integer
value
0x80
tooltip
Controls whether the object is returned to the owners inventory if it wanders off the edge of the world.\nIt is useful to set this status TRUE for things like bullets or rockets. The default is TRUE
STATUS_INTERNAL_ERROR
type
integer
value
1999
tooltip
An internal error occurred.
STATUS_MALFORMED_PARAMS
type
integer
value
1000
tooltip
Function was called with malformed parameters.
STATUS_NOT_FOUND
type
integer
value
1003
tooltip
Object or other item was not found.
STATUS_NOT_SUPPORTED
type
integer
value
1004
tooltip
Feature not supported.
STATUS_OK
type
integer
value
0
tooltip
Result of function call was a success.
STATUS_PHANTOM
type
integer
value
0x10
tooltip
Controls/indicates whether the object collides or not.\nSetting the value to TRUE makes the object non-colliding with all objects. It is a good idea to use this for most objects that move or rotate, but are non-physical. It is also useful for simulating volumetric lighting. The default is FALSE.
STATUS_PHYSICS
type
integer
value
0x1
tooltip
Controls/indicates whether the object moves physically.\nThis controls the same flag that the UI check-box for Physical controls. The default is FALSE.
STATUS_RETURN_AT_EDGE
type
integer
value
0x100
STATUS_ROTATE_X
type
integer
value
0x2
tooltip
enable (TRUE) or disable (FALSE) rotation around Y axis of physical objects
STATUS_ROTATE_Y
type
integer
value
0x4
tooltip
enable (TRUE) or disable (FALSE) rotation around Y axis of physical objects
STATUS_ROTATE_Z
type
integer
value
0x8
tooltip
enable (TRUE) or disable (FALSE) rotation around Z axis of physical objects
STATUS_SANDBOX
type
integer
value
0x20
tooltip
Controls/indicates whether the object can cross region boundaries and move more than 20 meters from its creation point. The default if FALSE.
STATUS_TYPE_MISMATCH
type
integer
value
1001
tooltip
Argument(s) passed to function had a type mismatch.
STATUS_WHITELIST_FAILED
type
integer
value
2001
tooltip
Whitelist Failed.
STRING_TRIM
type
integer
value
0x03
STRING_TRIM_HEAD
type
integer
value
0x01
STRING_TRIM_TAIL
type
integer
value
0x02
TEXTURE_BLANK
type
string
value
5748decc-f629-461c-9a36-a35a221fe21f
TEXTURE_DEFAULT
type
string
value
89556747-24cb-43ed-920b-47caed15465f
TEXTURE_MEDIA
type
string
value
8b5fec65-8d8d-9dc5-cda8-8fdf2716e361
TEXTURE_PLYWOOD
type
string
value
89556747-24cb-43ed-920b-47caed15465f
TEXTURE_TRANSPARENT
type
string
value
8dcd4a48-2d37-4909-9f78-f7a9eb4ef903
TOUCH_INVALID_FACE
type
integer
value
0xFFFFFFFF
TOUCH_INVALID_TEXCOORD
type
vector
value
<-1.0, -1.0, 0.0>
TOUCH_INVALID_VECTOR
type
vector
value
<0.0, 0.0, 0.0>
TRUE
type
integer
value
1
tooltip
An integer constant for boolean comparisons. Has the value '1'.
TWO_PI
type
float
value
6.28318530
tooltip
6.28318530 - The radians of a circle.
TYPE_FLOAT
type
integer
value
2
tooltip
The list entry is a float.
TYPE_INTEGER
type
integer
value
1
tooltip
The list entry is an integer.
TYPE_INVALID
type
integer
value
0
tooltip
The list entry is invalid.
TYPE_KEY
type
integer
value
4
tooltip
The list entry is a key.
TYPE_ROTATION
type
integer
value
6
tooltip
The list entry is a rotation.
TYPE_STRING
type
integer
value
3
tooltip
The list entry is a string.
TYPE_VECTOR
type
integer
value
5
tooltip
The list entry is a vector.
URL_REQUEST_DENIED
type
string
value
URL_REQUEST_DENIED
URL_REQUEST_GRANTED
type
string
value
URL_REQUEST_GRANTED
VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY
type
integer
value
32
tooltip
A slider between minimum (0.0) and maximum (1.0) deflection of angular orientation. That is, its a simple scalar for modulating the strength of angular deflection such that the vehicles preferred axis of motion points toward its real velocity.
VEHICLE_ANGULAR_DEFLECTION_TIMESCALE
type
integer
value
33
tooltip
The time-scale for exponential success of linear deflection deflection. Its another way to specify the strength of the vehicles tendency to reorient itself so that its preferred axis of motion agrees with its true velocity.
VEHICLE_ANGULAR_FRICTION_TIMESCALE
type
integer
value
17
tooltip
A vector of timescales for exponential decay of the vehicles angular velocity about its preferred axes of motion (at, left, up).
Range = [0.07, inf) seconds for each element of the vector.
VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE
type
integer
value
35
tooltip
The timescale for exponential decay of the angular motors magnitude.
VEHICLE_ANGULAR_MOTOR_DIRECTION
type
integer
value
19
tooltip
The direction and magnitude (in preferred frame) of the vehicles angular motor.The vehicle will accelerate (or decelerate if necessary) to match its velocity to its motor.
VEHICLE_ANGULAR_MOTOR_TIMESCALE
type
integer
value
34
tooltip
The timescale for exponential approach to full angular motor velocity.
VEHICLE_BANKING_EFFICIENCY
type
integer
value
38
tooltip
A slider between anti (-1.0), none (0.0), and maxmum (1.0) banking strength.
VEHICLE_BANKING_MIX
type
integer
value
39
tooltip
A slider between static (0.0) and dynamic (1.0) banking. "Static" means the banking scales only with the angle of roll, whereas "dynamic" is a term that also scales with the vehicles linear speed.
VEHICLE_BANKING_TIMESCALE
type
integer
value
40
tooltip
The timescale for banking to exponentially approach its maximum effect. This is another way to scale the strength of the banking effect, however it affects the term that is proportional to the difference between what the banking behavior is trying to do, and what the vehicle is actually doing.
VEHICLE_BUOYANCY
type
integer
value
27
tooltip
A slider between minimum (0.0) and maximum anti-gravity (1.0).
VEHICLE_FLAG_CAMERA_DECOUPLED
type
integer
value
0x200
VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT
type
integer
value
0x10
tooltip
Hover at global height.
VEHICLE_FLAG_HOVER_TERRAIN_ONLY
type
integer
value
0x8
tooltip
Ignore water height when hovering.
VEHICLE_FLAG_HOVER_UP_ONLY
type
integer
value
0x20
tooltip
Hover does not push down. Use this flag for hovering vehicles that should be able to jump above their hover height.
VEHICLE_FLAG_HOVER_WATER_ONLY
type
integer
value
0x4
tooltip
Ignore terrain height when hovering.
VEHICLE_FLAG_LIMIT_MOTOR_UP
type
integer
value
0x40
tooltip
Prevents ground vehicles from motoring into the sky.
VEHICLE_FLAG_LIMIT_ROLL_ONLY
type
integer
value
0x2
tooltip
For vehicles with vertical attractor that want to be able to climb/dive, for instance, aeroplanes that want to use the banking feature.
VEHICLE_FLAG_MOUSELOOK_BANK
type
integer
value
0x100
VEHICLE_FLAG_MOUSELOOK_STEER
type
integer
value
0x80
VEHICLE_FLAG_NO_DEFLECTION_UP
type
integer
value
0x1
tooltip
This flag prevents linear deflection parallel to world z-axis. This is useful for preventing ground vehicles with large linear deflection, like bumper cars, from climbing their linear deflection into the sky.
VEHICLE_FLAG_NO_FLY_UP
deprecated
true
type
integer
value
0x1
tooltip
Old, changed to VEHICLE_FLAG_NO_DEFLECTION_UP
VEHICLE_HOVER_EFFICIENCY
type
integer
value
25
tooltip
A slider between minimum (0.0 = bouncy) and maximum (1.0 = fast as possible) damped motion of the hover behavior.
VEHICLE_HOVER_HEIGHT
type
integer
value
24
tooltip
The height (above the terrain or water, or global) at which the vehicle will try to hover.
VEHICLE_HOVER_TIMESCALE
type
integer
value
26
tooltip
Period of time (in seconds) for the vehicle to achieve its hover height.
VEHICLE_LINEAR_DEFLECTION_EFFICIENCY
type
integer
value
28
tooltip
A slider between minimum (0.0) and maximum (1.0) deflection of linear velocity. That is, its a simple scalar for modulating the strength of linear deflection.
VEHICLE_LINEAR_DEFLECTION_TIMESCALE
type
integer
value
29
tooltip
The timescale for exponential success of linear deflection deflection. It is another way to specify how much time it takes for the vehicles linear velocity to be redirected to its preferred axis of motion.
VEHICLE_LINEAR_FRICTION_TIMESCALE
type
integer
value
16
tooltip
A vector of timescales for exponential decay of the vehicles linear velocity along its preferred axes of motion (at, left, up).
Range = [0.07, inf) seconds for each element of the vector.
VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE
type
integer
value
31
tooltip
The timescale for exponential decay of the linear motors magnitude.
VEHICLE_LINEAR_MOTOR_DIRECTION
type
integer
value
18
tooltip
The direction and magnitude (in preferred frame) of the vehicles linear motor. The vehicle will accelerate (or decelerate if necessary) to match its velocity to its motor.
Range of magnitude = [0, 30] meters/second.
VEHICLE_LINEAR_MOTOR_OFFSET
type
integer
value
20
VEHICLE_LINEAR_MOTOR_TIMESCALE
type
integer
value
30
tooltip
The timescale for exponential approach to full linear motor velocity.
VEHICLE_REFERENCE_FRAME
type
integer
value
44
tooltip
A rotation of the vehicles preferred axes of motion and orientation (at, left, up) with respect to the vehicles local frame (x, y, z).
VEHICLE_TYPE_AIRPLANE
type
integer
value
4
tooltip
Uses linear deflection for lift, no hover, and banking to turn.\nSee http://wiki.secondlife.com/wiki/VEHICLE_TYPE_AIRPLANE
VEHICLE_TYPE_BALLOON
type
integer
value
5
tooltip
Hover, and friction, but no deflection.\nSee http://wiki.secondlife.com/wiki/VEHICLE_TYPE_BALLOON
VEHICLE_TYPE_BOAT
type
integer
value
3
tooltip
Hovers over water with lots of friction and some anglar deflection.\nSee http://wiki.secondlife.com/wiki/VEHICLE_TYPE_BOAT
VEHICLE_TYPE_CAR
type
integer
value
2
tooltip
Another vehicle that bounces along the ground but needs the motors to be driven from external controls or timer events.\nSee http://wiki.secondlife.com/wiki/VEHICLE_TYPE_CAR
VEHICLE_TYPE_NONE
type
integer
value
0
VEHICLE_TYPE_SLED
type
integer
value
1
tooltip
Simple vehicle that bumps along the ground, and likes to move along its local x-axis.\nSee http://wiki.secondlife.com/wiki/VEHICLE_TYPE_SLED
VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY
type
integer
value
36
tooltip
A slider between minimum (0.0 = wobbly) and maximum (1.0 = firm as possible) stability of the vehicle to keep itself upright.
VEHICLE_VERTICAL_ATTRACTION_TIMESCALE
type
integer
value
37
tooltip
The period of wobble, or timescale for exponential approach, of the vehicle to rotate such that its preferred "up" axis is oriented along the worlds "up" axis.
VERTICAL
type
integer
value
0
WL_WATER_COLOR
type
integer
value
0
WL_WATER_FOG_DENSITY_EXPONENT
type
integer
value
1
WL_UNDERWATER_FOG_MODIFIER
type
integer
value
2
WL_REFLECTION_WAVELET_SCALE
type
integer
value
3
WL_FRESNEL_SCALE
type
integer
value
4
WL_FRESNEL_OFFSET
type
integer
value
5
WL_REFRACT_SCALE_ABOVE
type
integer
value
6
WL_REFRACT_SCALE_BELOW
type
integer
value
7
WL_BLUR_MULTIPLIER
type
integer
value
8
WL_BIG_WAVE_DIRECTION
type
integer
value
9
WL_LITTLE_WAVE_DIRECTION
type
integer
value
10
WL_NORMAL_MAP_TEXTURE
type
integer
value
11
WL_HORIZON
type
integer
value
12
WL_HAZE_HORIZON
type
integer
value
13
WL_BLUE_DENSITY
type
integer
value
14
WL_HAZE_DENSITY
type
integer
value
15
WL_DENSITY_MULTIPLIER
type
integer
value
16
WL_DISTANCE_MULTIPLIER
type
integer
value
17
WL_MAX_ALTITUDE
type
integer
value
18
WL_SUN_MOON_COLOR
type
integer
value
19
WL_AMBIENT
type
integer
value
20
WL_EAST_ANGLE
type
integer
value
21
WL_SUN_GLOW_FOCUS
type
integer
value
22
WL_SUN_GLOW_SIZE
type
integer
value
23
WL_SCENE_GAMMA
type
integer
value
24
WL_STAR_BRIGHTNESS
type
integer
value
25
WL_CLOUD_COLOR
type
integer
value
26
WL_CLOUD_XY_DENSITY
type
integer
value
27
WL_CLOUD_COVERAGE
type
integer
value
28
WL_CLOUD_SCALE
type
integer
value
29
WL_CLOUD_DETAIL_XY_DENSITY
type
integer
value
30
WL_CLOUD_SCROLL_X
type
integer
value
31
WL_CLOUD_SCROLL_Y
type
integer
value
32
WL_CLOUD_SCROLL_Y_LOCK
type
integer
value
33
WL_CLOUD_SCROLL_X_LOCK
type
integer
value
34
WL_DRAW_CLASSIC_CLOUDS
type
integer
value
35
WL_SUN_MOON_POSITION
type
integer
value
36
ZERO_ROTATION
type
rotation
value
<0.0, 0.0, 0.0, 1.0>
ZERO_VECTOR
type
vector
value
<0.0, 0.0, 0.0>
default
tooltip
All scripts must have a default state, which is the first state entered when the script starts.\nIf another state is defined before the default state, the compiler will report a syntax error.
events
at_rot_target
arguments
TargetNumber
type
integer
TargetRotation
type
rotation
CurrentRotation
type
rotation
tooltip
This event is triggered when a script comes within a defined angle of a target rotation. The range and rotation, are set by a call to llRotTarget.
at_target
arguments
TargetNumber
type
integer
TargetPosition
type
vector
CurrentPosition
type
vector
tooltip
This event is triggered when the scripted object comes within a defined range of the target position, defined by the llTarget function call.
attach
arguments
AvatarID
type
key
tooltip
This event is triggered whenever an object is attached or detached from an avatar. If it is attached, the key of the avatar it is attached to is passed in, otherwise NULL_KEY is.
changed
arguments
Changed
type
integer
tooltip
Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants.
collision
arguments
NumberOfCollisions
type
integer
tooltip
This event is raised while another object, or avatar, is colliding with the object the script is attached to.
The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* functions.
collision_end
arguments
NumberOfCollisions
type
integer
tooltip
This event is raised when another object, or avatar, stops colliding with the object the script is attached to.
The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* library functions.
collision_start
arguments
NumberOfCollisions
type
integer
tooltip
This event is raised when another object, or avatar, starts colliding with the object the script is attached to.
The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* library functions.
control
arguments
AvatarID
type
key
Levels
type
integer
Edges
type
integer
tooltip
Once a script has the ability to grab control inputs from the avatar, this event will be used to pass the commands into the script.
The levels and edges are bit-fields of control constants.
dataserver
arguments
RequestID
type
key
Data
type
string
tooltip
This event is triggered when the requested data is returned to the script.
Data may be requested by the llRequestAgentData, llRequestInventoryData, and llGetNotecardLine function calls, for example.
email
arguments
Time
type
string
Address
type
string
Subject
type
string
Body
type
string
NumberRemaining
type
integer
tooltip
This event is triggered when an email sent to this script arrives.
The number remaining tells how many more emails are known to be still pending.
http_request
arguments
HTTPRequestID
type
key
HTTPMethod
type
string
Body
type
string
tooltip
Triggered when task receives an HTTP request.
http_response
arguments
HTTPRequestID
type
key
Status
type
integer
Metadata
type
list
Body
type
string
tooltip
This event handler is invoked when an HTTP response is received for a pending llHTTPRequest request or if a pending request fails or times out.
land_collision
arguments
Position
type
vector
tooltip
This event is raised when the object the script is attached to is colliding with the ground.
land_collision_end
arguments
Position
type
vector
tooltip
This event is raised when the object the script is attached to stops colliding with the ground.
land_collision_start
arguments
Position
type
vector
tooltip
This event is raised when the object the script is attached to begins to collide with the ground.
link_message
arguments
SendersLink
type
integer
Value
type
integer
Text
type
string
ID
type
key
tooltip
Triggered when object receives a link message via llMessageLinked function call.
listen
arguments
Channel
type
integer
Name
type
string
ID
type
key
Text
type
string
tooltip
This event is raised whenever a chat message matching the constraints set in the llListen command is received. The name and ID of the speaker, as well as the message, are passed in as parameters.
Channel 0 is the public chat channel that all avatars see as chat text. Channels 1 through 2,147,483,648 are private channels that are not sent to avatars but other scripts can listen on those channels.
money
arguments
Payer
type
key
Amount
type
integer
tooltip
This event is triggered when a resident has given an amount of Linden dollars to the object.
moving_end
arguments
tooltip
Triggered whenever an object with this script stops moving.
moving_start
arguments
tooltip
Triggered whenever an object with this script starts moving.
no_sensor
arguments
tooltip
This event is raised when sensors are active, via the llSensor function call, but are not sensing anything.
not_at_rot_target
arguments
tooltip
When a target is set via the llRotTarget function call, but the script is outside the specified angle this event is raised.
not_at_target
arguments
tooltip
When a target is set via the llTarget library call, but the script is outside the specified range this event is raised.
object_rez
arguments
RezzedObjectsID
type
key
tooltip
Triggered when an object rezzes another object from its inventory via the llRezObject, or similar, functions. The id is the globally unique key for the object rezzed.
on_rez
arguments
StartParameter
type
integer
tooltip
Triggered whenever an object is rezzed from inventory or by another object. The start parameter is passed in from the llRezObject call, or zero if from inventory.
remote_data
arguments
EventType
type
integer
ChannelID
type
key
MessageID
type
key
Sender
type
string
Data
type
integer
Data
type
string
tooltip
Triggered by various XML-RPC calls with event_type specifying the type of data.
run_time_permissions
arguments
PermissionFlags
type
integer
tooltip
Scripts need permission from either the owner or the avatar they wish to act on before they may perform certain functions, such as debiting money from their owners account, triggering an animation on an avatar, or capturing control inputs. The llRequestPermissions library function is used to request these permissions and the various permissions integer constants can be supplied.
The integer returned to this event handler contains the current set of permissions flags, so if permissions equal 0 then no permissions are set.
sensor
arguments
NumberDetected
type
integer
tooltip
This event is raised whenever objects matching the constraints of the llSensor command are detected.
The number of detected objects is passed to the script in the parameter. Information on those objects may be gathered via the llDetected* functions.
state_entry
arguments
tooltip
The state_entry event occurs whenever a new state is entered, including at program start, and is always the first event handled.
state_exit
arguments
tooltip
The state_exit event occurs whenever the state command is used to transition to another state. It is handled before the new states state_entry event.
timer
arguments
tooltip
This event is raised at regular intervals set by the llSetTimerEvent library function.
touch
arguments
NumberOfTouches
type
integer
tooltip
This event is raised while a user is touching the object the script is attached to.
The number of touching objects is passed to the script in the parameter.
Information on those objects may be gathered via the llDetected* library functions.
touch_end
arguments
NumberOfTouches
type
integer
tooltip
This event is raised when a user stops touching the object the script is attached to. The number of touches is passed to the script in the parameter.
Information on those objects may be gathered via the llDetected* library functions.
touch_start
arguments
NumberOfTouches
type
integer
tooltip
This event is raised when a user first touches the object the script is attached to. The number of touches is passed to the script in the parameter.
Information on those objects may be gathered via the llDetected() library functions.
transaction_result
arguments
RequestID
type
key
Success
type
integer
Message
type
string
tooltip
Triggered by llTransferMoney() function.
functions
llAbs
return
integer
arguments
Value
type
integer
tooltip
An integer value.
tooltip
Returns the absolute (positive) version of Value.
llAcos
return
float
arguments
Value
type
float
tooltip
A floating-point value.
tooltip
Returns the arc-cosine of Value, in radians.
llAddToLandBanList
arguments
ID
type
key
tooltip
Agent UUID to add to ban-list.
Hours
type
float
tooltip
Period, in hours, to ban the avatar for.
tooltip
Add avatar ID to the parcel ban list for the specified number of Hours.\nA value of 0 for Hours will add the agent indefinitely.\nThe smallest value that Hours will accept is 0.01; anything smaller will be seen as 0.\nWhen values that small are used, it seems the function bans in approximately 30 second increments (Probably 36 second increments, as 0.01 of an hour is 36 seconds).\nResidents teleporting to a parcel where they are banned will be redirected to a neighbouring parcel.
llAddToLandPassList
sleep
0.1
arguments
ID
type
key
tooltip
Agent UUID to add to pass-list.
Hours
type
float
tooltip
Period, in hours, to allow the avatar for.
tooltip
Add avatar ID to the land pass list, for a duration of Hours.
llAdjustSoundVolume
sleep
0.1
arguments
Volume
type
float
tooltip
The volume to set.
tooltip
Adjusts the volume (0.0 - 1.0) of the currently playing attached sound.\nThis function has no effect on sounds started with llTriggerSound.
llAllowInventoryDrop
arguments
Flag
type
integer
tooltip
Boolean, If TRUE allows anyone to drop inventory on prim, FALSE revokes.
tooltip
If Flag == TRUE, users without object modify permissions can still drop inventory items into the object.
llAngleBetween
return
float
arguments
Rot1
type
rotation
tooltip
First rotation.
Rot2
type
rotation
tooltip
Second rotation.
tooltip
Returns the angle, in radians, between rotations Rot1 and Rot2.
llApplyImpulse
arguments
Force
type
vector
tooltip
Amount of impulse force to apply.
Local
type
integer
tooltip
Boolean, if TRUE, force is treated as a local directional vector instead of region directional vector.
tooltip
Applies impulse to the object.\nIf Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\nThis function only works on physical objects.
llApplyRotationalImpulse
arguments
Force
type
vector
tooltip
Amount of impulse force to apply.
Local
type
integer
tooltip
Boolean, if TRUE, uses local axis, if FALSE, uses region axis.
tooltip
Applies rotational impulse to the object.\nIf Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\nThis function only works on physical objects.
llAsin
return
float
arguments
Value
type
float
tooltip
Returns the arc-sine, in radians, of Value.
llAtan2
return
float
arguments
y
type
float
x
type
float
tooltip
Returns the arc-tangent2 of y, x.
llAttachToAvatar
arguments
AttachmentPoint
type
integer
tooltip
Attach to avatar at point AttachmentPoint.\nRequires the PERMISSION_ATTACH runtime permission.
llAttachToAvatarTemp
arguments
AttachPoint
type
integer
tooltip
Valid attachment point or ATTACH_* constant.
tooltip
Follows the same convention as llAttachToAvatar, with the exception that the object will not create new inventory for the user, and will disappear on detach or disconnect.
llAvatarOnLinkSitTarget
return
key
arguments
LinkNumber
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.
tooltip
If an avatar is sitting on the link's sit target, return the avatar's key, NULL_KEY otherwise.\nReturns a key that is the UUID of the user seated on the specified link's prim.
llAvatarOnSitTarget
return
key
arguments
tooltip
If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY.\nThis only will detect avatars sitting on sit targets defined with llSitTarget.
llAxes2Rot
return
rotation
arguments
Forward
type
vector
tooltip
Forward/Back part of rotation.
Left
type
vector
tooltip
Left/Right part of rotation.
Up
type
vector
tooltip
Up/Down part of rotation.
tooltip
Returns the rotation represented by coordinate axes Forward, Left, and Up.
llAxisAngle2Rot
return
rotation
arguments
Axis
type
vector
tooltip
Axis.
Angle
type
float
tooltip
Angle in radians.
tooltip
Returns the rotation that is a generated Angle about Axis.
llBase64ToInteger
return
integer
arguments
Text
type
string
tooltip
Returns an integer that is the Text, Base64 decoded as a big endian integer.\nReturns zero if Text is longer then 8 characters. If Text contains fewer then 6 characters, the return value is unpredictable.
llBase64ToString
return
string
arguments
Text
type
string
tooltip
Converts a Base64 string to a conventional string.\nIf the conversion creates any unprintable characters, they are converted to question marks.
llBreakAllLinks
arguments
tooltip
De-links all prims in the link set (requires permission PERMISSION_CHANGE_LINKS be set).
llBreakLink
arguments
LinkNumber
type
integer
tooltip
De-links the prim with the given link number (requires permission PERMISSION_CHANGE_LINKS be set).
llCastRay
return
list
arguments
Start
type
vector
End
type
vector
Options
type
list
tooltip
Casts a ray into the physics world from 'start' to 'end' and returns data according to details in Options.\nReports collision data for intersections with objects.\nReturn value: [UUID_1, {link_number_1}, hit_position_1, {hit_normal_1}, UUID_2, {link_number_2}, hit_position_2, {hit_normal_2}, ... , status_code] where {} indicates optional data.
llCeil
return
integer
arguments
Value
type
float
tooltip
Returns smallest integer value >= Value.
llClearCameraParams
arguments
tooltip
Resets all camera parameters to default values and turns off scripted camera control.
llClearLinkMedia
return
integer
arguments
Link
type
integer
Face
type
integer
tooltip
Clears (deletes) the media and all parameters from the given Face on the linked prim.\nReturns an integer that is a STATUS_* flag, which details the success/failure of the operation.
llClearPrimMedia
sleep
0.1
return
integer
arguments
Face
type
integer
tooltip
Number of side to clear.
tooltip
Clears (deletes) the media and all parameters from the given Face.\nReturns an integer that is a STATUS_* flag which details the success/failure of the operation.
llCloseRemoteDataChannel
sleep
1.0
arguments
ChannelID
type
key
tooltip
Closes the specified XML-RPC channel.
llCloud
return
float
arguments
Offset
type
vector
tooltip
Returns the cloud density at the object's position + Offset.
llCollisionFilter
arguments
ObjectName
type
string
ObjectID
type
key
Accept
type
integer
tooltip
If TRUE, only accept collisions with ObjectName name AND ObjectID (either is optional), otherwise with objects not ObjectName AND ObjectID.
tooltip
Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter.
llCollisionSound
arguments
ImpactSound
type
string
ImpactVolume
type
float
tooltip
Suppress default collision sounds, replace default impact sounds with ImpactSound.\nThe ImpactSound must be in the object inventory.\nSupply an empty string to suppress collision sounds.
llCollisionSprite
arguments
ImpactSprite
type
string
tooltip
Suppress default collision sprites, replace default impact sprite with ImpactSprite; found in the object inventory (empty string to just suppress).
llCos
return
float
arguments
Theta
type
float
tooltip
Returns the cosine of Theta (Theta in radians).
llCreateLink
sleep
1.0
arguments
TargetPrim
type
key
tooltip
Object UUID that is in the same region.
Parent
type
integer
tooltip
If FALSE, then TargetPrim becomes the root. If TRUE, then the script's object becomes the root.
tooltip
Attempt to link the object the script is in, to target (requires permission PERMISSION_CHANGE_LINKS be set).\nRequires permission PERMISSION_CHANGE_LINKS be set.
llCSV2List
return
list
arguments
Text
type
string
tooltip
Create a list from a string of comma separated values specified in Text.
llDeleteSubList
return
list
arguments
Source
type
list
Start
type
integer
End
type
integer
tooltip
Removes the slice from start to end and returns the remainder of the list.\nRemove a slice from the list and return the remainder, start and end are inclusive.\nUsing negative numbers for start and/or end causes the index to count backwards from the length of the list, so 0, -1 would delete the entire list.\nIf Start is larger than End the list deleted is the exclusion of the entries; so 6, 4 would delete the entire list except for the 5th. list entry.
llDeleteSubString
return
string
arguments
Source
type
string
Start
type
integer
End
type
integer
tooltip
Removes the indicated sub-string and returns the result.\nStart and End are inclusive.\nUsing negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would delete the entire string.\nIf Start is larger than End, the sub-string is the exclusion of the entries; so 6, 4 would delete the entire string except for the 5th. character.
llDetachFromAvatar
arguments
tooltip
Remove the object containing the script from the avatar.
llDetectedGrab
return
vector
arguments
Number
type
integer
tooltip
Returns the grab offset of a user touching the object.\nReturns <0.0, 0.0, 0.0> if Number is not a valid object.
llDetectedGroup
return
integer
arguments
Number
type
integer
tooltip
Returns TRUE if detected object or agent Number has the same user group active as this object.\nIt will return FALSE if the object or agent is in the group, but the group is not active.
llDetectedKey
return
key
arguments
Number
type
integer
tooltip
Returns the key of detected object or avatar number.\nReturns NULL_KEY if Number is not a valid index.
llDetectedLinkNumber
return
integer
arguments
Number
type
integer
tooltip
Returns the link position of the triggered event for touches and collisions only.\n0 for a non-linked object, 1 for the root of a linked object, 2 for the first child, etc.
llDetectedName
return
string
arguments
Number
type
integer
tooltip
Returns the name of detected object or avatar number.\nReturns the name of detected object number.\nReturns empty string if Number is not a valid index.
llDetectedOwner
return
key
arguments
Number
type
integer
tooltip
Returns the key of detected object's owner.\nReturns invalid key if Number is not a valid index.
llDetectedPos
return
vector
arguments
Number
type
integer
tooltip
Returns the position of detected object or avatar number.\nReturns <0.0, 0.0, 0.0> if Number is not a valid index.
llDetectedRot
return
rotation
arguments
Number
type
integer
tooltip
Returns the rotation of detected object or avatar number.\nReturns <0.0, 0.0, 0.0, 1.0> if Number is not a valid offset.
llDetectedTouchBinormal
return
vector
arguments
Index
type
integer
tooltip
Index of detection information
tooltip
Returns the surface bi-normal for a triggered touch event.\nReturns a vector that is the surface bi-normal (tangent to the surface) where the touch event was triggered.
llDetectedTouchFace
return
integer
arguments
Index
type
integer
tooltip
Index of detection information
tooltip
Returns the index of the face where the avatar clicked in a triggered touch event.
llDetectedTouchNormal
return
vector
arguments
Index
type
integer
tooltip
Index of detection information
tooltip
Returns the surface normal for a triggered touch event.\nReturns a vector that is the surface normal (perpendicular to the surface) where the touch event was triggered.
llDetectedTouchPos
return
vector
arguments
Index
type
integer
tooltip
Index of detected information
tooltip
Returns the position, in region coordinates, where the object was touched in a triggered touch event.\nUnless it is a HUD, in which case it returns the position relative to the attach point.
llDetectedTouchST
return
vector
arguments
Index
type
integer
tooltip
Index of detection information
tooltip
Returns a vector that is the surface coordinates where the prim was touched.\nThe X and Y vector positions contain the horizontal (S) and vertical (T) face coordinates respectively.\nEach component is in the interval [0.0, 1.0].\nTOUCH_INVALID_TEXCOORD is returned if the surface coordinates cannot be determined (e.g. when the viewer does not support this function).
llDetectedTouchUV
return
vector
arguments
Index
type
integer
tooltip
Index of detection information
tooltip
Returns a vector that is the texture coordinates for where the prim was touched.\nThe X and Y vector positions contain the U and V face coordinates respectively.\nTOUCH_INVALID_TEXCOORD is returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function).
llDetectedType
return
integer
arguments
Number
type
integer
tooltip
Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object.\nReturns 0 if number is not a valid index.\nNote that number is a bit-field, so comparisons need to be a bitwise checked. e.g.:\ninteger iType = llDetectedType(0);\n{\n // ...do stuff with the agent\n}
llDetectedVel
return
vector
arguments
Number
type
integer
tooltip
Returns the velocity of the detected object Number.\nReturns<0.0, 0.0, 0.0> if Number is not a valid offset.
llDialog
sleep
0.1
arguments
AvatarID
type
key
Text
type
string
Buttons
type
list
Channel
type
integer
tooltip
Shows a dialog box on the avatar's screen with the message.\n
Up to 12 strings in the list form buttons.\n
If a button is clicked, the name is chatted on Channel.\nOpens a "notify box" in the given avatars screen displaying the message.\n
Up to twelve buttons can be specified in a list of strings. When the user clicks a button, the name of the button is said on the specified channel.\n
Channels work just like llSay(), so channel 0 can be heard by everyone.\n
The chat originates at the object's position, not the avatar's position, even though it is said as the avatar (uses avatar's UUID and Name etc.).\n
Examples:\n
llDialog(who, "Are you a boy or a girl?", [ "Boy", "Girl" ], -4913);\n
llDialog(who, "This shows only an OK button.", [], -192);\n
llDialog(who, "This chats so you can 'hear' it.", ["Hooray"], 0);
llDie
arguments
tooltip
Delete the object which holds the script.
llDumpList2String
return
string
arguments
Source
type
list
Separator
type
string
tooltip
Returns the list as a single string, using Separator between the entries.\nWrite the list out as a single string, using Separator between values.
llEdgeOfWorld
return
integer
arguments
Position
type
vector
Direction
type
vector
tooltip
Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).\nReturns TRUE if the line along Direction from Position hits the edge of the world in the current simulator, returns FALSE if that edge crosses into another simulator.
llEjectFromLand
arguments
AvatarID
type
key
tooltip
Ejects AvatarID from land that you own.\nEjects AvatarID from land that the object owner (group or resident) owns.
llEmail
sleep
20.0
arguments
Address
type
string
Subject
type
string
Text
type
string
tooltip
Sends email to Address with Subject and Message.\nSends an email to Address with Subject and Message.
llEscapeURL
return
string
arguments
URL
type
string
tooltip
Returns an escaped/encoded version of url, replacing spaces with %20 etc.\nReturns the string that is the URL-escaped version of URL (replacing spaces with %20, etc.).\n
This function returns the UTF-8 encoded escape codes for selected characters.
llEuler2Rot
return
rotation
arguments
Vector
type
vector
tooltip
Returns the rotation representation of the Euler angles.\nReturns the rotation represented by the Euler Angle.
llFabs
return
float
arguments
Value
type
float
tooltip
Returns the positive version of Value.\nReturns the absolute value of Value.
llFloor
return
integer
arguments
Value
type
float
tooltip
Returns largest integer value <= Value.
llForceMouselook
arguments
Enable
type
integer
tooltip
Boolean, if TRUE when an avatar sits on the prim, the avatar will be forced into mouse-look mode.\nFALSE is the default setting and will undo a previously set TRUE or do nothing.
tooltip
If Enable is TRUE any avatar that sits on this object is forced into mouse-look mode.\nAfter calling this function with Enable set to TRUE, any agent sitting down on the prim will be forced into mouse-look.\nJust like llSitTarget, this changes a permanent property of the prim (not the object) and needs to be reset by calling this function with Enable set to FALSE in order to disable it.
llFrand
return
float
arguments
Magnitude
type
float
tooltip
Returns a pseudo random number in the range [0, Magnitude] or [Magnitude, 0].\nReturns a pseudo-random number between [0, Magnitude].
llGenerateKey
return
key
arguments
tooltip
Generates a key (SHA-1 hash) using UUID generation to create a unique key.\nAs the UUID produced is versioned, it should never return a value of NULL_KEY.\nThe specific UUID version is an implementation detail that has changed in the past and may change again in the future. Do not depend upon the UUID that is returned to be version 5 SHA-1 hash.
llGetAccel
return
vector
arguments
tooltip
Returns the acceleration of the object relative to the region's axes.\nGets the acceleration of the object.
llGetAgentInfo
return
integer
arguments
AvatarID
type
key
tooltip
Returns an integer bit-field containing the agent information about id.\n
Returns AGENT_FLYING, AGENT_ATTACHMENTS, AGENT_SCRIPTED, AGENT_SITTING, AGENT_ON_OBJECT, AGENT_MOUSELOOK, AGENT_AWAY, AGENT_BUSY, AGENT_TYPING, AGENT_CROUCHING, AGENT_ALWAYS_RUN, AGENT_WALKING and/or AGENT_IN_AIR.\nReturns information about the given agent ID as a bit-field of agent info constants.
llGetAgentLanguage
return
string
arguments
AvatarID
type
key
tooltip
Returns the language code of the preferred interface language of the avatar.\nReturns a string that is the language code of the preferred interface language of the resident.
llGetAgentList
return
list
arguments
Scope
type
integer
tooltip
The scope (region, parcel, parcel same owner) to return agents for.
Options
type
list
tooltip
List of options to apply. Current unused.
tooltip
Requests a list of agents currently in the region, limited by the scope parameter.\nReturns a list [key UUID-0, key UUID-1, ..., key UUID-n] or [string error_msg] - returns avatar keys for all agents in the region limited to the area(s) specified by scope
llGetAgentSize
return
vector
arguments
AvatarID
type
key
tooltip
If the avatar is in the same region, returns the size of the bounding box of the requested avatar by id, otherwise returns ZERO_VECTOR.\nIf the agent is in the same region as the object, returns the size of the avatar.
llGetAlpha
return
float
arguments
Face
type
integer
tooltip
Returns the alpha value of Face.\nReturns the 'alpha' of the given face. If face is ALL_SIDES the value returned is the mean average of all faces.
llGetAndResetTime
return
float
arguments
tooltip
Returns the script time in seconds and then resets the script timer to zero.\nGets the time in seconds since starting and resets the time to zero.
llGetAnimation
return
string
arguments
AvatarID
type
key
tooltip
Returns the name of the currently playing locomotion animation for the avatar id.\nReturns the currently playing animation for the specified avatar ID.
llGetAnimationList
return
list
arguments
AvatarID
type
key
tooltip
Returns a list of keys of playing animations for an avatar.\nReturns a list of keys of all playing animations for the specified avatar ID.
llGetAnimationOverride
return
string
arguments
AnimationState
type
string
tooltip
Returns a string that is the name of the animation that is used for the specified animation state\nTo use this function the script must obtain either the PERMISSION_OVERRIDE_ANIMATIONS or PERMISSION_TRIGGER_ANIMATION permission (automatically granted to attached objects).
llGetAttached
return
integer
arguments
tooltip
Returns the object's attachment point, or 0 if not attached.
llGetAttachedList
return
list
arguments
ID
type
key
tooltip
Avatar to get attachments
tooltip
Returns a list of keys of all visible (not HUD) attachments on the avatar identified by the ID argument
llGetBoundingBox
return
list
arguments
ID
type
key
tooltip
Returns the bounding box around the object (including any linked prims) relative to its root prim, as a list in the format [ (vector) min_corner, (vector) max_corner ].
llGetCameraPos
return
vector
arguments
tooltip
Returns the current camera position for the agent the task has permissions for.\nReturns 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.
llGetCameraRot
return
rotation
arguments
tooltip
Returns the current camera orientation for the agent the task has permissions for. If no user has granted the PERMISSION_TRACK_CAMERA permission, returns ZERO_ROTATION.
llGetCenterOfMass
return
vector
arguments
tooltip
Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass).
llGetColor
return
vector
arguments
Face
type
integer
tooltip
Returns the color on Face.\nReturns the color of Face as a vector of red, green, and blue values between 0 and 1. If face is ALL_SIDES the color returned is the mean average of each channel.
llGetCreator
return
key
arguments
tooltip
Returns a key for the creator of the prim.\nReturns the key of the object's original creator. Similar to llGetOwner.
llGetDate
return
string
arguments
tooltip
Returns the current date in the UTC time zone in the format YYYY-MM-DD.\nReturns the current UTC date as YYYY-MM-DD.
llGetDisplayName
return
string
arguments
AvatarID
type
key
tooltip
Avatar UUID that is in the same region, or is otherwise known to the region.
tooltip
Returns the display name of an avatar, if the avatar is connected to the current region, or if the name has been cached. Otherwise, returns an empty string. Use llRequestDisplayName if the avatar may be absent from the region.
llGetEnergy
return
float
arguments
tooltip
Returns how much energy is in the object as a percentage of maximum.
llGetEnv
return
string
arguments
DataRequest
type
string
tooltip
The type of data to request. Any other string will cause an empty string to be returned.
tooltip
Returns a string with the requested data about the region.
llGetForce
return
vector
arguments
tooltip
Returns the force (if the script is physical).\nReturns the current force if the script is physical.
llGetFreeMemory
return
integer
arguments
tooltip
Returns the number of free bytes of memory the script can use.\nReturns the available free space for the current script. This is inaccurate with LSO.
llGetFreeURLs
return
integer
arguments
tooltip
Returns the number of available URLs for the current script.\nReturns an integer that is the number of available URLs.
llGetGeometricCenter
return
vector
arguments
tooltip
Returns the vector that is the geometric center of the object relative to the root prim.
llGetGMTclock
return
float
arguments
tooltip
Returns the time in seconds since midnight GMT.\nGets the time in seconds since midnight in GMT/UTC.
llGetHTTPHeader
return
string
arguments
HTTPRequestID
type
key
tooltip
A valid HTTP request key
Header
type
string
tooltip
Header value name
tooltip
Returns the value for header for request_id.\nReturns a string that is the value of the Header for HTTPRequestID.
llGetInventoryCreator
return
key
arguments
InventoryItem
type
string
tooltip
Returns a key for the creator of the inventory item.\nThis function returns the UUID of the creator of item. If item is not found in inventory, the object says "No item named 'name'".
llGetInventoryKey
return
key
arguments
InventoryItem
type
string
tooltip
Returns the key that is the UUID of the inventory named.\nReturns the key of the inventory named.
llGetInventoryName
return
string
arguments
InventoryType
type
integer
tooltip
Inventory item type
Index
type
integer
tooltip
Index number of inventory item.
tooltip
Returns the name of the inventory item of a given type, specified by index number.\nUse the inventory constants INVENTORY_* to specify the type.
llGetInventoryNumber
return
integer
arguments
InventoryType
type
integer
tooltip
Inventory item type
tooltip
Returns the quantity of items of a given type (INVENTORY_* flag) in the prim's inventory.\nUse the inventory constants INVENTORY_* to specify the type.
llGetInventoryPermMask
return
integer
arguments
InventoryItem
type
string
tooltip
Inventory item name.
BitMask
type
integer
tooltip
MASK_BASE, MASK_OWNER, MASK_GROUP, MASK_EVERYONE or MASK_NEXT
tooltip
Returns the requested permission mask for the inventory item.\nReturns the requested permission mask for the inventory item defined by InventoryItem. If item is not in the object's inventory, llGetInventoryPermMask returns FALSE and causes the object to say "No item named '<item>'", where "<item>" is item.
llGetInventoryType
return
integer
arguments
InventoryItem
type
string
tooltip
Returns the type of the named inventory item.\nLike all inventory functions, llGetInventoryType is case-sensitive.
llGetKey
return
key
arguments
tooltip
Returns the key of the prim the script is attached to.\nGet the key for the object which has this script.
llGetLandOwnerAt
return
key
arguments
Position
type
vector
tooltip
Returns the key of the land owner, returns NULL_KEY if public.\nReturns the key of the land owner at Position, or NULL_KEY if public.
llGetLinkKey
return
key
arguments
LinkNumber
type
integer
tooltip
Returns the key of the linked prim LinkNumber.\nReturns the key of LinkNumber in the link set.
llGetLinkMedia
return
list
arguments
LinkNumber
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
Face
type
integer
tooltip
The prim's side number
Parameters
type
list
tooltip
A list of PRIM_* property constants to return values of.
tooltip
Get the media parameters for a particular face on linked prim, given the desired list of parameter names. Returns a list of values in the order requested. Returns an empty list if no media exists on the face.
llGetLinkName
return
string
arguments
LinkNumber
type
integer
tooltip
Returns the name of LinkNumber in a link set.\nReturns the name of LinkNumber the link set.
llGetLinkNumber
return
integer
arguments
tooltip
Returns the link number of the prim containing the script (0 means not linked, 1 the prim is the root, 2 the prim is the first child, etc.).\nReturns the link number of the prim containing the script. 0 means no link, 1 the root, 2 for first child, etc.
llGetLinkNumberOfSides
return
integer
arguments
LinkNumber
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.
tooltip
Returns the number of sides of the specified linked prim.\nReturns an integer that is the number of faces (or sides) of the prim link.
llGetLinkPrimitiveParams
return
list
arguments
LinkNumber
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.
Parameters
type
list
tooltip
PRIM_* flags.
tooltip
Returns the list of primitive attributes requested in the Parameters list for LinkNumber.\nPRIM_* flags can be broken into three categories, face flags, prim flags, and object flags.\n* Supplying a prim or object flag will return that flags attributes.\n* Face flags require the user to also supply a face index parameter.
llGetListEntryType
return
integer
arguments
ListVariable
type
list
Index
type
integer
tooltip
Returns the type of the index entry in the list (TYPE_INTEGER, TYPE_FLOAT, TYPE_STRING, TYPE_KEY, TYPE_VECTOR, TYPE_ROTATION, or TYPE_INVALID if index is off list).\nReturns the type of the variable at Index in ListVariable.
llGetListLength
return
integer
arguments
ListVariable
type
list
tooltip
Returns the number of elements in the list.\nReturns the number of elements in ListVariable.
llGetLocalPos
return
vector
arguments
tooltip
Returns the position relative to the root.\nReturns the local position of a child object relative to the root.
llGetLocalRot
return
rotation
arguments
tooltip
Returns the rotation local to the root.\nReturns the local rotation of a child object relative to the root.
llGetMass
return
float
arguments
tooltip
Returns the mass of object that the script is attached to.\nReturns the scripted object's mass. When called from a script in a link-set, the parent will return the sum of the link-set weights, while a child will return just its own mass. When called from a script inside an attachment, this function will return the mass of the avatar it's attached to, not its own.
llGetMassMKS
return
float
arguments
tooltip
Acts as llGetMass(), except that the units of the value returned are Kg.
llGetMaxScaleFactor
return
float
arguments
tooltip
Returns a float that is the largest scaling factor that can be used with llScaleByFactor to resize the object. This maximum is determined by the Linkability Rules and prim scale limits.
llGetMemoryLimit
return
integer
arguments
tooltip
Get the maximum memory a script can use, in bytes.
llGetMinScaleFactor
return
float
arguments
tooltip
Returns a float that is the smallest scaling factor that can be used with llScaleByFactor to resize the object. This minimum is determined by the prim scale limits.
llGetNextEmail
arguments
Address
type
string
Subject
type
string
tooltip
Fetch the next queued email with that matches the given address and/or subject, via the email event.\nIf the parameters are blank, they are not used for filtering.
llGetNotecardLine
sleep
0.1
return
key
arguments
NotecardName
type
string
LineNumber
type
integer
tooltip
Returns LineNumber from NotecardName via the dataserver event. The line index starts at zero.\nIf the requested line is passed the end of the note-card the dataserver event will return the constant EOF string.\nThe key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter.
llGetNumberOfNotecardLines
sleep
0.1
return
key
arguments
NotecardName
type
string
tooltip
Returns the number of lines contained within a notecard via the dataserver event.\nThe key returned by this function is a query ID for identifying the dataserver reply.
llGetNumberOfPrims
return
integer
arguments
tooltip
Returns the number of prims in a link set the script is attached to.\nReturns the number of prims in (and avatars seated on) the object the script is in.
llGetNumberOfSides
return
integer
arguments
tooltip
Returns the number of faces (or sides) of the prim.\nReturns the number of sides of the prim which has the script.
llGetObjectDesc
return
string
arguments
tooltip
Returns the description of the prim the script is attached to.\nReturns the description of the scripted object/prim. You can set the description using llSetObjectDesc.
llGetObjectDetails
return
list
arguments
ID
type
key
tooltip
Prim or avatar UUID that is in the same region.
Parameters
type
list
tooltip
List of OBJECT_* flags.
tooltip
Returns a list of object details specified in the Parameters list for the object or avatar in the region with key ID.\nParameters are specified by the OBJECT_* constants.
llGetObjectMass
return
float
arguments
ID
type
key
tooltip
Returns the mass of the avatar or object in the region.\nGets the mass of the object or avatar corresponding to ID.
llGetObjectName
return
string
arguments
tooltip
Returns the name of the prim which the script is attached to.\nReturns the name of the prim (not object) which contains the script.
llGetObjectPermMask
return
integer
arguments
Category
type
integer
tooltip
Category is one of MASK_BASE, MASK_OWNER, MASK_GROUP, MASK_EVERYONE, or MASK_NEXT
tooltip
Returns the permission mask of the requested category for the object.
llGetObjectPrimCount
return
integer
arguments
ObjectID
type
key
tooltip
Returns the total number of prims for an object in the region.\nReturns the prim count for any object id in the same region.
llGetOmega
return
vector
arguments
tooltip
Returns the rotation velocity in radians per second.\nReturns a vector that is the rotation velocity of the object in radians per second.
llGetOwner
return
key
arguments
tooltip
Returns the object owner's UUID.\nReturns the key for the owner of the object.
llGetOwnerKey
return
key
arguments
ObjectID
type
key
tooltip
Returns the owner of ObjectID.\nReturns the key for the owner of object ObjectID.
llGetParcelDetails
return
list
arguments
Position
type
vector
tooltip
Location within the region.
ParcelDetails
type
list
tooltip
List of details requested for the specified parcel location.
tooltip
Returns a list of parcel details specified in the ParcelDetails list for the parcel at Position.\nParameters is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA, _ID, _SEE_AVATARS.\nReturns a list that is the parcel details specified in ParcelDetails (in the same order) for the parcel at Position.
llGetParcelFlags
return
integer
arguments
Position
type
vector
tooltip
Returns a mask of the parcel flags (PARCEL_FLAG_*) for the parcel that includes the point Position.\nReturns a bit-field specifying the parcel flags (PARCEL_FLAG_*) for the parcel at Position.
llGetParcelMaxPrims
return
integer
arguments
Position
type
vector
tooltip
Region coordinates (z is ignored) of parcel.
SimWide
type
integer
tooltip
Boolean. If FALSE then the return is the maximum prims supported by the parcel. If TRUE then it is the combined number of prims on all parcels in the region owned by the specified parcel's owner.
tooltip
Returns the maximum number of prims allowed on the parcel at Position for a given scope.\nThe scope may be set to an individual parcel or the combined resources of all parcels with the same ownership in the region.
llGetParcelMusicURL
return
string
arguments
tooltip
Gets the streaming audio URL for the parcel object is on.\nThe object owner, avatar or group, must also be the land owner.
llGetParcelPrimCount
return
integer
arguments
Position
type
vector
tooltip
Region coordinates of parcel to query.
Category
type
integer
tooltip
A PARCEL_COUNT_* flag.
SimWide
type
integer
tooltip
Boolean. If FALSE then the return is the maximum prims supported by the parcel. If TRUE then it is the combined number of prims on all parcels in the region owned by the specified parcel's owner.
tooltip
Returns the number of prims on the parcel at Position of the given category.\nCategories: PARCEL_COUNT_TOTAL, _OWNER, _GROUP, _OTHER, _SELECTED, _TEMP.\nReturns the number of prims used on the parcel at Position which are in Category.\nIf SimWide is TRUE, it returns the total number of objects for all parcels with matching ownership in the category specified.\nIf SimWide is FALSE, it returns the number of objects on this specific parcel in the category specified
llGetParcelPrimOwners
sleep
2.0
return
list
arguments
Position
type
vector
tooltip
Returns a list of up to 100 residents who own objects on the parcel at Position, with per-owner land impact totals.\nRequires owner-like permissions for the parcel, and for the script owner to be present in the region.\nThe list is formatted as [ key agentKey1, integer agentLI1, key agentKey2, integer agentLI2, ... ], sorted by agent key.\nThe integers are the combined land impacts of the objects owned by the corresponding agents.
llGetPermissions
return
integer
arguments
tooltip
Returns an integer bitmask of the permissions that have been granted to the script. Individual permissions can be determined using a bit-wise "and" operation against the PERMISSION_* constants
llGetPermissionsKey
return
key
arguments
tooltip
Returns the key of the avatar that last granted or declined permissions to the script.\nReturns NULL_KEY if permissions were never granted or declined.
llGetPhysicsMaterial
return
list
arguments
tooltip
Returns a list of the form [float gravity_multiplier, float restitution, float friction, float density].
llGetPos
return
vector
arguments
tooltip
Returns the position of the task in region coordinates.\nReturns the vector position of the task in region coordinates.
llGetPrimitiveParams
sleep
0.2
return
list
arguments
Parameters
type
list
tooltip
PRIM_* flags and face parameters
tooltip
Returns the primitive parameters specified in the parameters list.\nReturns primitive parameters specified in the Parameters list.
llGetPrimMediaParams
sleep
0.1
return
list
arguments
Face
type
integer
tooltip
face number
Parameters
type
list
tooltip
One or more PRIM_MEDIA_* flags
tooltip
Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face.
llGetRegionAgentCount
return
integer
arguments
tooltip
Returns the number of avatars in the region.\nReturns an integer that is the number of avatars in the region.
llGetRegionCorner
return
vector
arguments
tooltip
Returns a vector, in meters, that is the global location of the south-west corner of the region which the object is in.\nReturns the Region-Corner of the simulator containing the task. The region-corner is a vector (values in meters) representing distance from the first region.
llGetRegionFlags
return
integer
arguments
tooltip
Returns the region flags (REGION_FLAG_*) for the region the object is in.\nReturns a bit-field specifying the region flags (REGION_FLAG_*) for the region the object is in.
llGetRegionFPS
return
float
arguments
tooltip
Returns the mean region frames per second.
llGetRegionName
return
string
arguments
tooltip
Returns the current region name.
llGetRegionTimeDilation
return
float
arguments
tooltip
Returns the current time dilation as a float between 0.0 (full dilation) and 1.0 (no dilation).\nReturns the current time dilation as a float between 0.0 and 1.0.
llGetRootPosition
return
vector
arguments
tooltip
Returns the position (in region coordinates) of the root prim of the object which the script is attached to.\nThis is used to allow a child prim to determine where the root is.
llGetRootRotation
return
rotation
arguments
tooltip
Returns the rotation (relative to the region) of the root prim of the object which the script is attached to.\nGets the global rotation of the root object of the object script is attached to.
llGetRot
return
rotation
arguments
tooltip
Returns the rotation relative to the region's axes.\nReturns the rotation.
llGetScale
return
vector
arguments
tooltip
Returns the scale of the prim.\nReturns a vector that is the scale (dimensions) of the prim.
llGetScriptName
return
string
arguments
tooltip
Returns the name of the script that this function is used in.\nReturns the name of this script.
llGetScriptState
return
integer
arguments
ScriptName
type
string
tooltip
Returns TRUE if the script named is running.\nReturns TRUE if ScriptName is running.
llGetSimStats
return
float
arguments
StatType
type
integer
tooltip
Statistic type. Currently only SIM_STAT_PCT_CHARS_STEPPED is supported.
tooltip
Returns a float that is the requested statistic.
llGetSimulatorHostname
sleep
10.0
return
string
arguments
tooltip
Returns the host-name of the machine which the script is running on.\nFor example, "sim225.agni.lindenlab.com".
llGetSPMaxMemory
return
integer
arguments
tooltip
Returns the maximum used memory for the current script. Only valid after using PROFILE_SCRIPT_MEMORY. Non-mono scripts always use 16k.\nReturns the integer of the most bytes used while llScriptProfiler was last active.
llGetStartParameter
return
integer
arguments
tooltip
Returns an integer that is the script rez parameter.\nIf the object was rezzed by an agent, this function returns 0.
llGetStatus
return
integer
arguments
StatusFlag
type
integer
tooltip
A STATUS_* flag
tooltip
Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to.
llGetSubString
return
string
arguments
String
type
string
Start
type
integer
End
type
integer
tooltip
Returns a sub-string from String, in a range specified by the Start and End indicies (inclusive).\nUsing negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would capture the entire string.\nIf Start is greater than End, the sub string is the exclusion of the entries.
llGetSunDirection
return
vector
arguments
tooltip
Returns a normalized vector of the direction of the sun in the region.\nReturns the sun's direction on the simulator.
llGetTexture
return
string
arguments
Face
type
integer
tooltip
Returns a string that is the texture on face (the inventory name if it is a texture in the prim's inventory, otherwise the key).\nReturns the texture of a face, if it is found in object inventory, its key otherwise.
llGetTextureOffset
return
vector
arguments
Face
type
integer
tooltip
Returns the texture offset of face in the x and y components of a vector.
llGetTextureRot
return
float
arguments
Face
type
integer
tooltip
Returns the texture rotation of side.
llGetTextureScale
return
vector
arguments
Face
type
integer
tooltip
Returns the texture scale of side in the x and y components of a vector.\nReturns the texture scale of a side in the x and y components of a vector.
llGetTime
return
float
arguments
tooltip
Returns the time in seconds since the last region reset, script reset, or call to either llResetTime or llGetAndResetTime.
llGetTimeOfDay
return
float
arguments
tooltip
Returns the time in seconds since Second Life midnight or since region up-time, whichever is smaller.\nThe Second Life day cycle is 4 hours.
llGetTimestamp
return
string
arguments
tooltip
Returns a time-stamp (UTC time zone) in the format: YYYY-MM-DDThh:mm:ss.ff..fZ.
llGetTorque
return
vector
arguments
tooltip
Returns the torque (if the script is physical).\nReturns a vector that is the torque (if the script is physical).
llGetUnixTime
return
integer
arguments
tooltip
Returns the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock.
llGetUsedMemory
return
integer
arguments
tooltip
Returns the current used memory for the current script. Non-mono scripts always use 16K.\nReturns the integer of the number of bytes of memory currently in use by the script. Non-mono scripts always use 16K.
llGetUsername
return
string
arguments
AvatarID
type
key
tooltip
Returns the username of an avatar, if the avatar is connected to the current region, or if the name has been cached. Otherwise, returns an empty string. Use llRequestUsername if the avatar may be absent from the region.
llGetVel
return
vector
arguments
tooltip
Returns the velocity of the object.\nReturns a vector that is the velocity of the object.
llGetWallclock
return
float
arguments
tooltip
Returns the time in seconds since midnight California Pacific time (PST/PDT).\nReturns the time in seconds since simulator's time-zone midnight (Pacific Time).
llGiveInventory
arguments
TargetID
type
key
InventoryItem
type
string
tooltip
Give InventoryItem to destination represented by TargetID, as permitted by the permissions system.\nTargetID may be any agent or an object in the same region.
llGiveInventoryList
sleep
3.0
arguments
TargetID
type
key
FolderName
type
string
InventoryItems
type
list
tooltip
Give InventoryItems to destination (represented by TargetID) as a new folder of items, as permitted by the permissions system.\nTargetID may be any agent or an object in the same region. If TargetID is an object, the items are passed directly to the object inventory (no folder is created).
llGiveMoney
return
integer
arguments
AvatarID
type
key
Amount
type
integer
tooltip
Transfers Amount of L$ from script owner to AvatarID.\nThis call will silently fail if PERMISSION_DEBIT has not been granted.
llGodLikeRezObject
god-mode
true
arguments
InventoryItemID
type
key
Position
type
vector
tooltip
Rez directly off of a UUID if owner has god-bit set.
llGround
return
float
arguments
Offset
type
vector
tooltip
Returns the ground height at the object position + offset.\nReturns the ground height at the object's position + Offset.
llGroundContour
return
vector
arguments
Offset
type
vector
tooltip
Returns the ground contour direction below the object position + Offset.\nReturns the ground contour at the object's position + Offset.
llGroundNormal
return
vector
arguments
Offset
type
vector
tooltip
Returns the ground normal below the object position + offset.\nReturns the ground contour at the object's position + Offset.
llGroundRepel
arguments
Height
type
float
tooltip
Distance above the ground.
Water
type
integer
tooltip
Boolean, if TRUE then hover above water too.
Tau
type
float
tooltip
Seconds to critically damp in.
tooltip
Critically damps to height if within height * 0.5 of level (either above ground level or above the higher of land and water if water == TRUE).\nCritically damps to fHeight if within fHeight * 0.5 of ground or water level.\n
The height is above ground level if iWater is FALSE or above the higher of land and water if iWater is TRUE.\n
Do not use with vehicles. Only works in physics-enabled objects.
llGroundSlope
return
vector
arguments
Offset
type
vector
tooltip
Returns the ground slope below the object position + Offset.\nReturns the ground slope at the object position + Offset.
llHTTPRequest
return
key
arguments
URL
type
string
tooltip
A valid HTTP/HTTPS URL.
Parameters
type
list
tooltip
Configuration parameters, specified as HTTP_* flag-value pairs.
Body
type
string
tooltip
Contents of the request.
tooltip
Sends an HTTP request to the specified URL with the Body of the request and Parameters.\nReturns a key that is a handle identifying the HTTP request made.
llHTTPResponse
arguments
HTTPRequestID
type
key
tooltip
A valid HTTP request key.
Status
type
integer
tooltip
HTTP Status (200, 400, 404, etc.).
Body
type
string
tooltip
Contents of the response.
tooltip
Responds to an incoming HTTP request which was triggerd by an http_request event within the script. HTTPRequestID specifies the request to respond to (this ID is supplied in the http_request event handler). Status and Body specify the status code and message to respond with.
llInsertString
return
string
arguments
TargetVariable
type
string
Position
type
integer
SourceVariable
type
string
tooltip
Inserts SourceVariable into TargetVariable at Position, and returns the result.\nInserts SourceVariable into TargetVariable at Position and returns the result. Note this does not alter TargetVariable.
llInstantMessage
sleep
2.0
arguments
AvatarID
type
key
Text
type
string
tooltip
IMs Text to the user identified.\nSend Text to the user as an instant message.
llIntegerToBase64
return
string
arguments
Value
type
integer
tooltip
Returns a string that is a Base64 big endian encode of Value.\nEncodes the Value as an 8-character Base64 string.
llJson2List
return
list
arguments
JSON
type
string
tooltip
Converts the top level of the JSON string to a list.
llJsonGetValue
return
string
arguments
JSON
type
string
Specifiers
type
list
tooltip
Gets the value indicated by Specifiers from the JSON string.
llJsonSetValue
return
string
arguments
JSON
type
string
Specifiers
type
list
Value
type
string
tooltip
Returns a new JSON string that is the JSON given with the Value indicated by Specifiers set to Value.
llJsonValueType
return
string
arguments
JSON
type
string
Specifiers
type
list
tooltip
Returns the type constant (JSON_*) for the value in JSON indicated by Specifiers.
llKey2Name
return
string
arguments
ID
type
key
tooltip
Avatar or rezzed prim UUID.
tooltip
Returns the name of the prim or avatar specified by ID. The ID must be a valid rezzed prim or avatar key in the current simulator, otherwise an empty string is returned.\nFor avatars, the returned name is the legacy name
llLinkParticleSystem
arguments
LinkNumber
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
Rules
type
list
tooltip
Particle system rules list in the format [ rule1, data1, rule2, data2 . . . ruleN, dataN ]
tooltip
Creates a particle system in prim LinkNumber based on Rules. An empty list removes a particle system from object.\nList format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].\nThis is identical to llParticleSystem except that it applies to a specified linked prim and not just the prim the script is in.
llLinkSitTarget
arguments
LinkNumber
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag of the prim.
Offset
type
vector
tooltip
Position for the sit target, relative to the prim's position.
Rotation
type
rotation
tooltip
Rotation (relative to the prim's rotation) for the avatar.
tooltip
Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it.\nSet the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation.
llList2CSV
return
string
arguments
ListVariable
type
list
tooltip
Creates a string of comma separated values from the list.\nCreate a string of comma separated values from the specified list.
llList2Float
return
float
arguments
ListVariable
type
list
Index
type
integer
tooltip
Copies the float at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a float, then zero is returned.
llList2Integer
return
integer
arguments
ListVariable
type
list
Index
type
integer
tooltip
Copies the integer at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to an integer, then zero is returned.
llList2Json
return
string
arguments
JsonType
type
string
tooltip
Type is JSON_ARRAY or JSON_OBJECT.
Values
type
list
tooltip
List of values to convert.
tooltip
Converts either a strided list of key:value pairs to a JSON_OBJECT, or a list of values to a JSON_ARRAY.
llList2Key
return
key
arguments
ListVariable
type
list
Index
type
integer
tooltip
Copies the key at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a key, then null string is returned.
llList2List
return
list
arguments
ListVariable
type
list
Start
type
integer
End
type
integer
tooltip
Returns a subset of entries from ListVariable, in a range specified by the Start and End indicies (inclusive).\nUsing negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would capture the entire string.\nIf Start is greater than End, the sub string is the exclusion of the entries.
llList2ListStrided
return
list
arguments
ListVariable
type
list
Start
type
integer
End
type
integer
Stride
type
integer
tooltip
Copies the strided slice of the list from Start to End.\nReturns a copy of the strided slice of the specified list from Start to End.
llList2Rot
return
rotation
arguments
ListVariable
type
list
Index
type
integer
tooltip
Copies the rotation at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to rotation, thenZERO_ROTATION is returned.
llList2String
return
string
arguments
ListVariable
type
list
Index
type
integer
tooltip
Copies the string at Index in the list.\nReturns the value at Index in the specified list as a string. If Index describes a location not in the list then null string is returned.
llList2Vector
return
vector
arguments
ListVariable
type
list
Index
type
integer
tooltip
Copies the vector at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a vector, then ZERO_VECTOR is returned.
llListen
return
integer
arguments
Channel
type
integer
SpeakersName
type
string
SpeakersID
type
key
Text
type
string
tooltip
Creates a listen callback for Text on Channel from SpeakersName and SpeakersID (SpeakersName, SpeakersID, and/or Text can be empty) and returns an identifier that can be used to deactivate or remove the listen.\nNon-empty values for SpeakersName, SpeakersID, and Text will filter the results accordingly, while empty strings and NULL_KEY will not filter the results, for string and key parameters respectively.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts.
llListenControl
arguments
ChannelHandle
type
integer
Active
type
integer
tooltip
Makes a listen event callback active or inactive. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener you are controlling.\nUse boolean values to specify Active
llListenRemove
arguments
ChannelHandle
type
integer
tooltip
Removes a listen event callback. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener to remove.
llListFindList
return
integer
arguments
ListVariable
type
list
Find
type
list
tooltip
Returns the index of the first instance of Find in ListVariable. Returns -1 if not found.\nReturns the position of the first instance of the Find list in the ListVariable. Returns -1 if not found.
llListInsertList
return
list
arguments
Target
type
list
ListVariable
type
list
Position
type
integer
tooltip
Returns a list that contains all the elements from Target but with the elements from ListVariable inserted at Position start.\nReturns a new list, created by inserting ListVariable into the Target list at Position. Note this does not alter the Target.
llListRandomize
return
list
arguments
ListVariable
type
list
Stride
type
integer
tooltip
Returns a version of the input ListVariable which has been randomized by blocks of size Stride.\nIf the remainder from the length of the list, divided by the stride is non-zero, this function does not randomize the list.
llListReplaceList
return
list
arguments
Target
type
list
ListVariable
type
list
Start
type
integer
End
type
integer
tooltip
Returns a list that is Target with Start through End removed and ListVariable inserted at Start.\nReturns a list replacing the slice of the Target list from Start to End with the specified ListVariable. Start and End are inclusive, so 0, 1 would replace the first two entries and 0, 0 would replace only the first list entry.
llListSort
return
list
arguments
ListVariable
type
list
tooltip
List to sort.
Stride
type
integer
tooltip
Stride length.
Ascending
type
integer
tooltip
Boolean. TRUE = result in ascending order, FALSE = result in descending order.
tooltip
Returns the specified list, sorted into blocks of stride in ascending order (if Ascending is TRUE, otherwise descending). Note that sort only works if the first entry of each block is the same datatype.
llListStatistics
return
float
arguments
Operation
type
integer
tooltip
One of LIST_STAT_* values
ListVariable
type
list
tooltip
Variable to analyze.
tooltip
Performs a statistical aggregate function, specified by a LIST_STAT_* constant, on ListVariables.\nThis function allows a script to perform a statistical operation as defined by operation on a list composed of integers and floats.
llLoadURL
sleep
0.1
arguments
AvatarID
type
key
Text
type
string
URL
type
string
tooltip
Shows dialog to avatar AvatarID offering to load web page at URL. If user clicks yes, launches their web browser.\nllLoadURL displays a dialogue box to the user, offering to load the specified web page using the default web browser.
llLog
return
float
arguments
Value
type
float
tooltip
Returns the natural logarithm of Value. Returns zero if Value <= 0.\nReturns the base e (natural) logarithm of the specified Value.
llLog10
return
float
arguments
Value
type
float
tooltip
Returns the base 10 logarithm of Value. Returns zero if Value <= 0.\nReturns the base 10 (common) logarithm of the specified Value.
llLookAt
arguments
Target
type
vector
Strength
type
float
Damping
type
float
tooltip
Cause object name to point its forward axis towards Target, at a force controlled by Strength and Damping.\nGood Strength values are around half the mass of the object and good Damping values are less than 1/10th of the Strength.\nAsymmetrical shapes require smaller Damping. A Strength of 0.0 cancels the look at.
llLoopSound
arguments
Sound
type
string
Volume
type
float
tooltip
Plays specified Sound, looping indefinitely, at Volume (0.0 - 1.0).\nOnly one sound may be attached to an object at a time.\nA second call to llLoopSound with the same key will not restart the sound, but the new volume will be used. This allows control over the volume of already playing sounds.\nSetting the volume to 0 is not the same as calling llStopSound; a sound with 0 volume will continue to loop.\nTo restart the sound from the beginning, call llStopSound before calling llLoopSound again.
llLoopSoundMaster
arguments
Sound
type
string
Volume
type
float
tooltip
Plays attached Sound, looping at volume (0.0 - 1.0), and declares it a sync master.\nBehaviour is identical to llLoopSound, with the addition of marking the source as a "Sync Master", causing "Slave" sounds to sync to it. If there are multiple masters within a viewers interest area, the most audible one (a function of both distance and volume) will win out as the master.\nThe use of multiple masters within a small area is unlikely to produce the desired effect.
llLoopSoundSlave
arguments
Sound
type
string
Volume
type
float
tooltip
Plays attached sound looping at volume (0.0 - 1.0), synced to most audible sync master.\nBehaviour is identical to llLoopSound, unless there is a "Sync Master" present.\nIf a Sync Master is already playing the Slave sound will begin playing from the same point the master is in its loop synchronizing the loop points of both sounds.\nIf a Sync Master is started when the Slave is already playing, the Slave will skip to the correct position to sync with the Master.
llManageEstateAccess
return
integer
arguments
Action
type
integer
tooltip
One of the ESTATE_ACCESS_ALLOWED_* actions.
AvatarID
type
key
tooltip
UUID of the avatar or group to act upon.
tooltip
Adds or removes agents from the estate's agent access or ban lists, or groups to the estate's group access list. Action is one of the ESTATE_ACCESS_ALLOWED_* operations to perform.\nReturns an integer representing a boolean, TRUE if the call was successful; FALSE if throttled, invalid action, invalid or null id or object owner is not allowed to manage the estate.\nThe object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script.
llMapDestination
sleep
1.0
arguments
RegionName
type
string
Position
type
vector
Direction
type
vector
tooltip
Opens world map for avatar who touched is is wearing the script, centred on RegionName with Position highlighted. Only works for scripts attached to avatar, or during touch events.\nDirection currently has no effect.
llMD5String
return
string
arguments
Text
type
string
Nonce
type
integer
tooltip
Returns a string of 32 hex characters that is an RSA Data Security Inc., MD5 Message-Digest Algorithm of Text with Nonce used as the salt.\nReturns a 32-character hex string. (128-bit in binary.)
llMessageLinked
arguments
LinkNumber
type
integer
Number
type
integer
Text
type
string
ID
type
key
tooltip
Sends Number, Text, and ID to members of the link set identified by LinkNumber.\nLinkNumber is either a linked number (available through llGetLinkNumber) or a LINK_* constant.
llMinEventDelay
arguments
Delay
type
float
tooltip
Set the minimum time between events being handled.
llModifyLand
arguments
Action
type
integer
tooltip
LAND_LEVEL, LAND_RAISE, LAND_LOWER, LAND_SMOOTH, LAND_NOISE or LAND_REVERT
Area
type
integer
tooltip
0, 1, 2 (2m x 2m, 4m x 4m, or 8m x 8m)
tooltip
Modify land with action (LAND_LEVEL, LAND_RAISE, LAND_LOWER, LAND_SMOOTH, LAND_NOISE, LAND_REVERT) on size (0, 1, 2, corresponding to 2m x 2m, 4m x 4m, 8m x 8m).
llModPow
sleep
1.0
return
integer
arguments
Value
type
integer
Power
type
integer
Modulus
type
integer
tooltip
Returns a Value raised to the Power, mod Modulus. ((a**b)%c) b is capped at 0xFFFF (16 bits).\nReturns (Value ^ Power) % Modulus. (Value raised to the Power, Modulus). Value is capped at 0xFFFF (16 bits).
llMoveToTarget
arguments
Target
type
vector
Tau
type
float
tooltip
Critically damp to Target in Tau seconds (if the script is physical).\nCritically damp to position target in tau-seconds if the script is physical. Good tau-values are greater than 0.2. A tau of 0.0 stops the critical damping.
llOffsetTexture
sleep
0.2
arguments
OffsetS
type
float
OffsetT
type
float
Face
type
integer
tooltip
Sets the texture S and T offsets for the chosen Face.\nIf Face is ALL_SIDES this function sets the texture offsets for all faces.
llOverMyLand
return
integer
arguments
ID
type
key
tooltip
Returns TRUE if id ID over land owned by the script owner, otherwise FALSE.\nReturns TRUE if key ID is over land owned by the object owner, FALSE otherwise.
llOwnerSay
arguments
Text
type
string
tooltip
says Text to owner only (if owner is in region).\nSays Text to the owner of the object running the script, if the owner has been within the object's simulator since logging into Second Life, regardless of where they may be in-world.
llParcelMediaCommandList
sleep
2.0
arguments
CommandList
type
list
tooltip
A list of PARCEL_MEDIA_COMMAND_* flags and their parameters
tooltip
Controls the playback of multimedia resources on a parcel or for an agent, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.
llParcelMediaQuery
sleep
2.0
return
list
arguments
QueryList
type
list
tooltip
Queries the media properties of the parcel containing the script, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.\nThis function will only work if the script is contained within an object owned by the land-owner (or if the land is owned by a group, only if the object has been deeded to the group).
llParseString2List
return
list
arguments
Text
type
string
Separators
type
list
Spacers
type
list
tooltip
Converts Text into a list, discarding Separators, keeping Spacers (Separators and Spacers must be lists of strings, maximum of 8 each).\nSeparators and Spacers are lists of strings with a maximum of 8 entries each.
llParseStringKeepNulls
return
list
arguments
Text
type
string
Separators
type
list
Spacers
type
list
tooltip
Breaks Text into a list, discarding separators, keeping spacers, keeping any null values generated. (separators and spacers must be lists of strings, maximum of 8 each).\nllParseStringKeepNulls works almost exactly like llParseString2List, except that if a null is found it will add a null-string instead of discarding it like llParseString2List does.
llParticleSystem
arguments
Parameters
type
list
tooltip
Creates a particle system in the prim the script is attached to, based on Parameters. An empty list removes a particle system from object.\nList format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].
llPassCollisions
arguments
Pass
type
integer
tooltip
Boolean, if TRUE, collisions are passed from children on to parents.
tooltip
Configures how collision events are passed to scripts in the linkset.\nIf Pass == TRUE, collisions involving collision-handling scripted child prims are also passed on to the root prim. If Pass == FALSE (default behavior), such collisions will only trigger events in the affected child prim.
llPassTouches
arguments
Pass
type
integer
tooltip
Boolean, if TRUE, touches are passed from children on to parents.
tooltip
Configures how touch events are passed to scripts in the linkset.\nIf Pass == TRUE, touches involving touch-handling scripted child prims are also passed on to the root prim. If Pass == FALSE (default behavior), such touches will only trigger events in the affected child prim.
llPlaySound
arguments
Sound
type
string
Volume
type
float
tooltip
Plays Sound once, at Volume (0.0 - 1.0) and attached to the object.\nOnly one sound may be attached to an object at a time, and attaching a new sound or calling llStopSound will stop the previously attached sound.\nA second call to llPlaySound with the same sound will not restart the sound, but the new volume will be used, which allows control over the volume of already playing sounds.\nTo restart the sound from the beginning, call llStopSound before calling llPlaySound again.
llPlaySoundSlave
arguments
Sound
type
string
Volume
type
float
tooltip
Plays attached Sound once, at Volume (0.0 - 1.0), synced to next loop of most audible sync master.\nBehaviour is identical to llPlaySound, unless there is a "Sync Master" present. If a Sync Master is already playing, the Slave sound will not be played until the Master hits its loop point and returns to the beginning.\nllPlaySoundSlave will play the sound exactly once; if it is desired to have the sound play every time the Master loops, either use llLoopSoundSlave with extra silence padded on the end of the sound or ensure that llPlaySoundSlave is called at least once per loop of the Master.
llPow
return
float
arguments
Value
type
float
Exponent
type
float
tooltip
Returns the Value raised to the power Exponent, or returns 0 and triggers Math Error for imaginary results.\nReturns the Value raised to the Exponent.
llPreloadSound
sleep
1.0
arguments
Sound
type
string
tooltip
Causes nearby viewers to preload the Sound from the object's inventory.\nThis is intended to prevent delays in starting new sounds when called upon.
llPushObject
arguments
ObjectID
type
key
Impulse
type
vector
AngularImpulse
type
vector
Local
type
integer
tooltip
Applies Impulse and AngularImpulse to ObjectID.\nApplies the supplied impulse and angular impulse to the object specified.
llRefreshPrimURL
sleep
20.0
arguments
tooltip
Reloads the web page shown on the sides of the object.
llRegionSay
arguments
Channel
type
integer
tooltip
Any integer value except zero.
Text
type
string
tooltip
Message to be transmitted.
tooltip
Broadcasts Text to entire region on Channel (except for channel 0).
llRegionSayTo
arguments
TargetID
type
key
tooltip
Avatar or object to say to.
Channel
type
integer
tooltip
Output channel, any integer value.
Text
type
string
tooltip
Message to be transmitted.
tooltip
Says Text, on Channel, to avatar or object indicated by TargetID (if within region).\nIf TargetID is an avatar and Channel is nonzero, Text can be heard by any attachment on the avatar.
llReleaseCamera
deprecated
true
arguments
AvatarID
type
key
tooltip
Return camera to agent.\nDeprecated: Use llClearCameraParams instead.
llReleaseControls
arguments
tooltip
Stop taking inputs.\nStop taking inputs from the avatar.
llReleaseURL
arguments
URL
type
string
tooltip
URL to release.
tooltip
Releases the specified URL, which was previously obtained using llRequestURL. Once released, the URL will no longer be usable.
llRemoteDataReply
deprecated
true
sleep
3.0
arguments
ChannelID
type
key
MessageID
type
key
sData
type
string
tooltip
String data to send
iData
type
integer
tooltip
Integer data to send
tooltip
Send an XML-RPC reply to MessageID on ChannelID with payload of string sData and integer iData. Deprecated: Use HTTP functions/events instead.\nThe size of sData is limited to 254 characters.
llRemoteLoadScriptPin
sleep
3.0
arguments
ObjectID
type
key
tooltip
Target prim to attempt copying into.
ScriptName
type
string
tooltip
Name of the script in current inventory to copy.
PIN
type
integer
tooltip
Integer set on target prim as a Personal Information Number code.
Running
type
integer
tooltip
If the script should be set running in the target prim.
StartParameter
type
integer
tooltip
Integer. Parameter passed to the script if set to be running.
tooltip
If the owner of the object containing this script can modify the object identified by the specified object key, and if the PIN matches the PIN previously set using llSetRemoteScriptAccessPin (on the target prim), then the script will be copied into target. Running is a boolean specifying whether the script should be enabled once copied into the target object.
llRemoveFromLandBanList
arguments
AvatarID
type
key
tooltip
Remove avatar from the land ban list.\nRemove specified avatar from the land parcel ban list.
llRemoveFromLandPassList
arguments
AvatarID
type
key
tooltip
Remove avatar from the land pass list.\nRemove specified avatar from the land parcel pass list.
llRemoveInventory
arguments
InventoryItem
type
string
tooltip
Remove the named inventory item.\nRemove the named inventory item from the object inventory.
llRemoveVehicleFlags
arguments
Vehiclelags
type
integer
tooltip
Removes the enabled bits in 'flags'.\nSets the vehicle flags to FALSE. Valid parameters can be found in the vehicle flags constants section.
llRequestAgentData
sleep
0.1
return
key
arguments
AvatarID
type
key
Data
type
integer
tooltip
Requests data about AvatarID. When data is available the dataserver event will be raised.\nThis function requests data about an avatar. If and when the information is collected, the dataserver event is triggered with the key returned from this function passed in the requested parameter. See the agent data constants (DATA_*) for details about valid values of data and what each will return in the dataserver event.
llRequestDisplayName
return
key
arguments
AvatarID
type
key
tooltip
Avatar UUID
tooltip
Requests the display name of the agent. When the display name is available the dataserver event will be raised.\nThe avatar identified does not need to be in the same region or online at the time of the request.\nReturns a key that is used to identify the dataserver event when it is raised.
llRequestInventoryData
sleep
1.0
return
key
arguments
InventoryItem
type
string
tooltip
Requests data for the named InventoryItem.\nWhen data is available, the dataserver event will be raised with the key returned from this function in the requested parameter.\nThe only request currently implemented is to request data from landmarks, where the data returned is in the form "<float, float, float>" which can be cast to a vector. This position is in region local coordinates.
llRequestPermissions
arguments
AvatarID
type
key
PermissionMask
type
integer
tooltip
Ask AvatarID to allow the script to perform certain actions, specified in the PermissionMask bitmask. PermissionMask should be one or more PERMISSION_* constants. Multiple permissions can be requested simultaneously by ORing the constants together. Many of the permissions requests can only go to object owner.\nThis call will not stop script execution. If the avatar grants the requested permissions, the run_time_permissions event will be called.
llRequestSecureURL
return
key
arguments
tooltip
Requests one HTTPS:// (SSL) URL for use by this object. The http_request event is triggered with results.\nReturns a key that is the handle used for identifying the request in the http_request event.
llRequestSimulatorData
sleep
1.0
return
key
arguments
RegionName
type
string
Data
type
integer
tooltip
Requests the specified Data about RegionName. When the specified data is available, the dataserver event is raised.\nData should use one of the DATA_SIM_* constants.\nReturns a dataserver query ID and triggers the dataserver event when data is found.
llRequestURL
return
key
arguments
tooltip
Requests one HTTP:// URL for use by this script. The http_request event is triggered with the result of the request.\nReturns a key that is the handle used for identifying the result in the http_request event.
llRequestUsername
return
key
arguments
AvatarID
type
key
tooltip
Requests single-word user-name of an avatar. When data is available the dataserver event will be raised.\nRequests the user-name of the identified agent. When the user-name is available the dataserver event is raised.\nThe agent identified does not need to be in the same region or online at the time of the request.\nReturns a key that is used to identify the dataserver event when it is raised.
llResetAnimationOverride
arguments
AnimationState
type
string
tooltip
Resets the animation of the specified animation state to the default value.\nIf animation state equals "ALL", then all animation states are reset.
llResetLandBanList
arguments
tooltip
Removes all residents from the land ban list.
llResetLandPassList
arguments
tooltip
Removes all residents from the land access/pass list.
llResetOtherScript
arguments
ScriptName
type
string
tooltip
Resets the named script.
llResetScript
arguments
tooltip
Resets the script.
llResetTime
arguments
tooltip
Sets the time to zero.\nSets the internal timer to zero.
llReturnObjectsByID
return
integer
arguments
ObjectIDs
type
list
tooltip
List of object UUIDs to be returned.
tooltip
Return objects using their UUIDs.\nRequires the PERMISSION_RETURN_OBJECTS permission and that the script owner owns the parcel the returned objects are in, or is an estate manager or region owner.
llReturnObjectsByOwner
return
integer
arguments
ID
type
key
tooltip
Object owner's UUID.
Scope
type
integer
tooltip
Return objects based upon their owner and a scope of parcel, parcel owner, or region.\nRequires the PERMISSION_RETURN_OBJECTS permission and that the script owner owns the parcel the returned objects are in, or is an estate manager or region owner.
llRezAtRoot
sleep
0.1
arguments
InventoryItem
type
string
Position
type
vector
Velocity
type
vector
Rotation
type
rotation
StartParameter
type
integer
tooltip
Instantiate owner's InventoryItem at Position with Velocity, Rotation and with StartParameter. The last selected root object's location will be set to Position.\nCreates object's inventory item at the given Position, with Velocity, Rotation, and StartParameter.
llRezObject
sleep
0.1
arguments
InventoryItem
type
string
Position
type
vector
Velocity
type
vector
Rotation
type
rotation
StartParameter
type
integer
tooltip
Instantiate owners InventoryItem at Position with Velocity, Rotation and with start StartParameter.\nCreates object's inventory item at Position with Velocity and Rotation supplied. The StartParameter value will be available to the newly created object in the on_rez event or through the llGetStartParameter function.\nThe Velocity parameter is ignored if the rezzed object is not physical.
llRot2Angle
return
float
arguments
Rotation
type
rotation
tooltip
Returns the rotation angle represented by Rotation.\nReturns the angle represented by the Rotation.
llRot2Axis
return
vector
arguments
Rotation
type
rotation
tooltip
Returns the rotation axis represented by Rotation.\nReturns the axis represented by the Rotation.
llRot2Euler
return
vector
arguments
Rotation
type
rotation
tooltip
Returns the Euler representation (roll, pitch, yaw) of Rotation.\nReturns the Euler Angle representation of the Rotation.
llRot2Fwd
return
vector
arguments
Rotation
type
rotation
tooltip
Returns the forward vector defined by Rotation.\nReturns the forward axis represented by the Rotation.
llRot2Left
return
vector
arguments
Rotation
type
rotation
tooltip
Returns the left vector defined by Rotation.\nReturns the left axis represented by the Rotation.
llRot2Up
return
vector
arguments
Rotation
type
rotation
tooltip
Returns the up vector defined by Rotation.\nReturns the up axis represented by the Rotation.
llRotateTexture
sleep
0.2
arguments
Radians
type
float
Face
type
integer
tooltip
Sets the texture rotation for the specified Face to angle Radians.\nIf Face is ALL_SIDES, rotates the texture of all sides.
llRotBetween
return
rotation
arguments
Vector1
type
vector
Vector2
type
vector
tooltip
Returns the rotation to rotate Vector1 to Vector2.\nReturns the rotation needed to rotate Vector1 to Vector2.
llRotLookAt
arguments
Rotation
type
rotation
Strength
type
float
Damping
type
float
tooltip
Cause object to rotate to Rotation, with a force function defined by Strength and Damping parameters. Good strength values are around half the mass of the object and good damping values are less than 1/10th of the strength.\nAsymmetrical shapes require smaller damping.\nA strength of 0.0 cancels the look at.
llRotTarget
return
integer
arguments
Rotation
type
rotation
LeeWay
type
float
tooltip
Set rotations with error of LeeWay radians as a rotational target, and return an ID for the rotational target.\nThe returned number is a handle that can be used in at_rot_target and llRotTargetRemove.
llRotTargetRemove
arguments
Handle
type
integer
tooltip
Removes rotational target number.\nRemove rotational target indicated by the handle.
llRound
return
integer
arguments
Value
type
float
tooltip
Returns Value rounded to the nearest integer.\nReturns the Value rounded to the nearest integer.
llSameGroup
return
integer
arguments
ID
type
key
tooltip
Returns TRUE if avatar ID is in the same region and has the same active group, otherwise FALSE.\nReturns TRUE if the object or agent identified is in the same simulator and has the same active group as this object. Otherwise, returns FALSE.
llSay
arguments
Channel
type
integer
tooltip
Channel to use to say text on.
Text
type
string
tooltip
Text to say.
tooltip
Says Text on Channel.\nThis chat method has a range of 20m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts.
llScaleByFactor
return
integer
arguments
ScalingFactor
type
float
tooltip
The multiplier to be used with the prim sizes and their local positions.
tooltip
Attempts to resize the entire object by ScalingFactor, maintaining the size-position ratios of the prims.\n\nResizing is subject to prim scale limits and linkability limits. This function can not resize the object if the linkset is physical, a pathfinding character, in a keyframed motion, or if resizing would cause the parcel to overflow.\nReturns a boolean (an integer) TRUE if it succeeds, FALSE if it fails.
llScaleTexture
sleep
0.2
arguments
Horizontal
type
float
Vertical
type
float
Face
type
integer
tooltip
Sets the diffuse texture Horizontal and Vertical repeats on Face of the prim the script is attached to.\nIf Face == ALL_SIDES, all sides are set in one call.\nNegative values for horizontal and vertical will flip the texture.
llScriptDanger
return
integer
arguments
Position
type
vector
tooltip
Returns TRUE if Position is over public land, sandbox land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.\nReturns true if the position is over public land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.
llScriptProfiler
arguments
State
type
integer
tooltip
PROFILE_NONE or PROFILE_SCRIPT_MEMORY flags to control the state.
tooltip
Enables or disables script profiling options. Currently only supports PROFILE_SCRIPT_MEMORY (Mono only) and PROFILE_NONE.\nMay significantly reduce script performance.
llSendRemoteData
deprecated
true
sleep
3.0
return
key
arguments
ChannelID
type
key
Destination
type
string
Value
type
integer
Text
type
string
tooltip
Deprecated: use HTTP functions and events instead.\nSends an XML-RPC request to Destination through ChannelID with payload of ChannelID (in a string), integer Value and string Text.\nReturns a key that is the message_id for the resulting remote_data events.
llSensor
arguments
Name
type
string
tooltip
Object or avatar name.
ID
type
key
tooltip
Object or avatar UUID.
Type
type
integer
tooltip
Bit-field mask of AGENT, AGENT_BY_LEGACY_NAME, AGENT_BY_USERNAME, ACTIVE, PASSIVE, and/or SCRIPTED
Range
type
float
tooltip
Distance to scan. 0.0 - 96.0m.
Arc
type
float
tooltip
Angle, in radians, from the local x-axis of the prim to scan.
tooltip
Performs a single scan for Name and ID with Type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within Range meters and Arc radians of forward vector.\nSpecifying a blank Name, 0 Type, or NULL_KEY ID will prevent filtering results based on that parameter. A range of 0.0 does not perform a scan.\nResults are returned in the sensor and no_sensor events.
llSensorRemove
arguments
tooltip
removes sensor.\nRemoves the sensor set by llSensorRepeat.
llSensorRepeat
arguments
Name
type
string
tooltip
Object or avatar name.
ID
type
key
tooltip
Object or avatar UUID.
Type
type
integer
tooltip
Bit-field mask of AGENT, AGENT_BY_LEGACY_NAME, AGENT_BY_USERNAME, ACTIVE, PASSIVE, and/or SCRIPTED
Range
type
float
tooltip
Distance to scan. 0.0 - 96.0m.
Arc
type
float
tooltip
Angle, in radians, from the local x-axis of the prim to scan.
Rate
type
float
tooltip
Period, in seconds, between scans.
tooltip
Initiates a periodic scan every Rate seconds, for Name and ID with Type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within Range meters and Arc radians of forward vector.\nSpecifying a blank Name, 0 Type, or NULL_KEY ID will prevent filtering results based on that parameter. A range of 0.0 does not perform a scan.\nResults are returned in the sensor and no_sensor events.
llSetAlpha
arguments
Opacity
type
float
Face
type
integer
tooltip
Sets the alpha (opacity) of Face.\nSets the alpha (opacity) value for Face. If Face is ALL_SIDES, sets the alpha for all faces. The alpha value is interpreted as an opacity percentage (1.0 is fully opaque, and 0.2 is mostly transparent). This function will clamp alpha values less than 0.1 to 0.1 and greater than 1.0 to 1.
llSetAngularVelocity
arguments
AngVel
type
vector
tooltip
The angular velocity to set the object to.
Local
type
integer
tooltip
If TRUE, the AngVel is treated as a local directional vector instead of a regional directional vector.
tooltip
Sets an object's angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical).\nHas no effect on non-physical objects.
llSetAnimationOverride
arguments
AnimationState
type
string
AnimationName
type
string
tooltip
Sets the animation (in object inventory) that will play for the given animation state.\nTo use this function the script must obtain the PERMISSION_OVERRIDE_ANIMATIONS permission.
llSetBuoyancy
arguments
Buoyancy
type
float
tooltip
Set the tasks buoyancy (0 is none, < 1.0 sinks, 1.0 floats, > 1.0 rises).\nSet the object buoyancy. A value of 0 is none, less than 1.0 sinks, 1.0 floats, and greater than 1.0 rises.
llSetCameraAtOffset
arguments
Offset
type
vector
tooltip
Sets the camera used in this object, at offset, if an avatar sits on it.\nSets the offset that an avatar's camera will be moved to if the avatar sits on the object.
llSetCameraEyeOffset
arguments
Offset
type
vector
tooltip
Sets the camera eye offset used in this object if an avatar sits on it.
llSetCameraParams
arguments
Parameters
type
list
tooltip
Sets multiple camera parameters at once. List format is [ rule-1, data-1, rule-2, data-2 . . . rule-n, data-n ].
llSetClickAction
arguments
Action
type
integer
tooltip
A CLICK_ACTION_* flag
tooltip
Sets the action performed when a prim is clicked upon.
llSetColor
arguments
Color
type
vector
Face
type
integer
tooltip
Sets the color, for the face.\nSets the color of the side specified. If Face is ALL_SIDES, sets the color on all faces.
llSetContentType
arguments
HTTPRequestID
type
key
tooltip
A valid http_request() key
ContentType
type
integer
tooltip
Media type to use with any following llHTTPResponse(HTTPRequestID, ...)
tooltip
Set the media type of an LSL HTTP server response to ContentType.\nHTTPRequestID must be a valid http_request ID. ContentType must be one of the CONTENT_TYPE_* constants.
llSetDamage
arguments
Damage
type
float
tooltip
Sets the amount of damage that will be done to an avatar that this task hits. Task will be killed.\nSets the amount of damage that will be done to an avatar that this object hits. This object will be destroyed on damaging an avatar, and no collision event is triggered.
llSetForce
arguments
Force
type
vector
tooltip
Directional force.
Local
type
integer
tooltip
Boolean, if TRUE uses local axis, if FALSE uses region axis.
tooltip
Sets Force on object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects.
llSetForceAndTorque
arguments
Force
type
vector
tooltip
Directional force.
Torque
type
vector
tooltip
Torque force.
Local
type
integer
tooltip
Boolean, if TRUE uses local axis, if FALSE uses region axis.
tooltip
Sets the Force and Torque of object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects.
llSetHoverHeight
arguments
Height
type
float
tooltip
Distance above the ground.
Water
type
integer
tooltip
Boolean, if TRUE then hover above water too.
Tau
type
float
tooltip
Seconds to critically damp in.
tooltip
Critically damps a physical object to a Height (either above ground level or above the higher of land and water if water == TRUE).\nDo not use with vehicles. Use llStopHover to stop hovering.
llSetInventoryPermMask
god-mode
true
arguments
InventoryItem
type
string
tooltip
An item in the prim's inventory
PermissionFlag
type
integer
tooltip
MASK_* flag
PermissionMask
type
integer
tooltip
Permission bit-field (PERM_* flags)
tooltip
Sets the given permission mask to the new value on the inventory item.
llSetKeyframedMotion
arguments
Keyframes
type
list
tooltip
Strided keyframe list of the form: position, orientation, time. Each keyframe is interpreted relative to the previous transform of the object.
Options
type
list
tooltip
Requests that a non-physical object be key-framed according to key-frame list.\nSpecify a list of times, positions, and orientations to be followed by an object. The object will be smoothly moved between key-frames by the simulator. Collisions with other non-physical or key-framed objects will be ignored (no script events will fire and collision processing will not occur). Collisions with physical objects will be computed and reported, but the key-framed object will be unaffected by those collisions.\nKeyframes is a strided list containing positional, rotational, and time data for each step in the motion. Options is a list containing optional arguments and parameters (specified by KFM_* constants).
llSetLinkAlpha
arguments
LinkNumber
type
integer
Opacity
type
float
Face
type
integer
tooltip
If a prim exists in the link chain at LinkNumber, set Face to Opacity.\nSets the Face, on the linked prim specified, to the Opacity.
llSetLinkCamera
arguments
LinkNumber
type
integer
tooltip
Prim link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
EyeOffset
type
vector
tooltip
Offset, relative to the object's centre and expressed in local coordinates, that the camera looks from.
LookOffset
type
vector
tooltip
Offset, relative to the object's centre and expressed in local coordinates, that the camera looks toward.
tooltip
Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim.
llSetLinkColor
arguments
LinkNumber
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.
Color
type
vector
tooltip
Color in RGB <R.R, G.G, B.B>
Face
type
integer
tooltip
Side number or ALL_SIDES.
tooltip
If a task exists in the link chain at LinkNumber, set the Face to color.\nSets the color of the linked child's side, specified by LinkNumber.
llSetLinkMedia
return
integer
arguments
Link
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims).
Face
type
integer
tooltip
Face number.
Parameters
type
list
tooltip
A set of name/value pairs (in no particular order)
tooltip
Set the media parameters for a particular face on linked prim, specified by Link. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters is a set of name/value pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified.
llSetLinkPrimitiveParams
sleep
0.2
arguments
LinkNumber
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
Parameters
type
list
tooltip
Set primitive parameters for LinkNumber based on Parameters.\nSets the parameters (or properties) of any linked prim in one step.
llSetLinkPrimitiveParamsFast
arguments
LinkNumber
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
Parameters
type
list
tooltip
Set primitive parameters for LinkNumber based on Parameters, without a delay.\nSet parameters for link number, from the list of Parameters, with no built-in script sleep. This function is identical to llSetLinkPrimitiveParams, except without the delay.
llSetLinkTexture
sleep
0.2
arguments
LinkNumber
type
integer
Texture
type
string
Face
type
integer
tooltip
Sets the Texture of Face on a linked prim, specified by LinkNumber. Texture may be a UUID or name of a texture in prim inventory.
llSetLinkTextureAnim
arguments
LinkNumber
type
integer
tooltip
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag to effect
Mode
type
integer
tooltip
Bitmask of animation options.
Face
type
integer
tooltip
Specifies which object face to animate or ALL_SIDES.
SizeX
type
integer
tooltip
Horizontal frames (ignored for ROTATE and SCALE).
SizeY
type
integer
tooltip
Vertical frames (ignored for ROTATE and SCALE).
Start
type
float
tooltip
Start position/frame number (or radians for ROTATE).
Length
type
float
tooltip
Specifies the animation duration, in frames (or radians for ROTATE).
Rate
type
float
tooltip
Specifies the animation playback rate, in frames per second (must be greater than zero).
tooltip
Animates a texture on the prim specified by LinkNumber, by setting the texture scale and offset.\nMode is a bitmask of animation options.\nFace specifies which object face to animate.\nSizeX and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\nLength specifies the animation duration.\nRate specifies the animation playback rate.
llSetLocalRot
sleep
0.2
arguments
Rotation
type
rotation
tooltip
Sets the rotation of a child prim relative to the root prim.
llSetMemoryLimit
return
integer
arguments
Limit
type
integer
tooltip
The amount to reserve, which must be less than the allowed maximum (currently 64KB) and not already have been exceeded.
tooltip
Requests Limit bytes to be reserved for this script.\nReturns TRUE or FALSE indicating whether the limit was set successfully.\nThis function has no effect if the script is running in the LSO VM.
llSetObjectDesc
arguments
Description
type
string
tooltip
Sets the description of the prim to Description.\nThe description field is limited to 127 characters.
llSetObjectName
arguments
Name
type
string
tooltip
Sets the prim's name to Name.
llSetObjectPermMask
god-mode
true
arguments
PermissionFlag
type
integer
tooltip
MASK_* flag
PermissionMask
type
integer
tooltip
Permission bit-field (PERM_* flags)
tooltip
Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to.
llSetParcelMusicURL
sleep
2.0
arguments
URL
type
string
tooltip
Sets the streaming audio URL for the parcel the object is on.\nThe object must be owned by the owner of the parcel; if the parcel is group owned the object must be owned by that group.
llSetPayPrice
arguments
Price
type
integer
tooltip
The default price shown in the textu input field.
QuickButtons
type
list
tooltip
Specifies the 4 payment values shown in the payment dialog's buttons (or PAY_HIDE).
tooltip
Sets the default amount when someone chooses to pay this object.\nPrice is the default price shown in the textu input field. QuickButtons specifies the 4 payment values shown in the payment dialog's buttons.\nInput field and buttons may be hidden with PAY_HIDE constant, and may be set to their default values using PAY_DEFAULT.
llSetPhysicsMaterial
arguments
MaterialBits
type
integer
tooltip
A bitmask specifying which of the parameters in the other arguments should be applied to the object.
GravityMultiplier
type
float
Restitution
type
float
Friction
type
float
Density
type
float
tooltip
Sets the selected parameters of the object's physics behavior.\nMaterialBits is a bitmask specifying which of the parameters in the other arguments should be applied to the object. GravityMultiplier, Restitution, Friction, and Density are the possible parameters to manipulate.
llSetPos
sleep
0.2
arguments
Position
type
vector
tooltip
Region coordinates to move to (within 10m).
tooltip
If the object is not physical, this function sets the position of the prim.\nIf the script is in a child prim, Position is treated as root relative and the link-set is adjusted.\nIf the prim is the root prim, the entire object is moved (up to 10m) to Position in region coordinates.
llSetPrimitiveParams
sleep
0.2
arguments
Parameters
type
list
tooltip
A list of changes.
tooltip
This function changes the many properties (or "parameters") of a prim in one operation. Parameters is a list of changes.
llSetPrimMediaParams
sleep
1.0
return
integer
arguments
Face
type
integer
tooltip
Face number
MediaParameters
type
list
tooltip
A set of name/value pairs (in no particular order)
tooltip
Sets the MediaParameters for a particular Face on the prim. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters is a set of name/value pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified.
llSetPrimURL
deprecated
true
sleep
20.0
arguments
URL
type
string
tooltip
Deprecated: Use llSetPrimMediaParams instead.
llSetRegionPos
return
integer
arguments
Position
type
vector
tooltip
Vector. The location to move to, in region coordinates.
tooltip
Attempts to move the object so that the root prim is within 0.1m of Position.\nReturns an integer boolean, TRUE if the object is successfully placed within 0.1 m of Position, FALSE otherwise.\nPosition may be any location within the region or up to 10m across a region border.\nIf the position is below ground, it will be set to the ground level at that x,y location.
llSetRemoteScriptAccessPin
sleep
0.2
arguments
PIN
type
integer
tooltip
If PIN is set to a non-zero number, the task will accept remote script loads via llRemoteLoadScriptPin() if it passes in the correct PIN. Othersise, llRemoteLoadScriptPin() is ignored.
llSetRot
sleep
0.2
arguments
Rotation
type
rotation
tooltip
If the object is not physical, this function sets the rotation of the prim.\nIf the script is in a child prim, Rotation is treated as root relative and the link-set is adjusted.\nIf the prim is the root prim, the entire object is rotated to Rotation in the global reference frame.
llSetScale
arguments
Scale
type
vector
tooltip
Sets the prim's scale (size) to Scale.
llSetScriptState
arguments
ScriptName
type
string
Running
type
integer
tooltip
Enable or disable the script Running state of Script in the prim.
llSetSitText
arguments
Text
type
string
tooltip
Displays Text rather than 'Sit' in the viewer's context menu.
llSetSoundQueueing
arguments
QueueEnable
type
integer
tooltip
Boolean, sound queuing: TRUE enables, FALSE disables (default).
tooltip
Sets whether successive calls to llPlaySound, llLoopSound, etc., (attached sounds) interrupt the currently playing sound.\nThe default for objects is FALSE. Setting this value to TRUE will make the sound wait until the current playing sound reaches its end. The queue is one level deep.
llSetSoundRadius
arguments
Radius
type
float
tooltip
Maximum distance that sounds can be heard.
tooltip
Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius.
llSetStatus
arguments
Status
type
integer
Value
type
integer
tooltip
Sets object status specified in Status bitmask (e.g. STATUS_PHYSICS|STATUS_PHANTOM) to boolean Value.\nFor a full list of STATUS_* constants, see wiki documentation.
llSetText
arguments
Text
type
string
Color
type
vector
Opacity
type
float
tooltip
Causes Text to float above the prim, using the specified Color and Opacity.
llSetTexture
sleep
0.2
arguments
Texture
type
string
Face
type
integer
tooltip
Applies Texture to Face of prim.\nTexture may be a UUID or name of a texture in prim inventory.\nIf Face is ALL_SIDES, set the texture on all faces.
llSetTextureAnim
arguments
Mode
type
integer
tooltip
Mask of Mode flags.
Face
type
integer
tooltip
Face number or ALL_SIDES.
SizeX
type
integer
tooltip
Horizontal frames (ignored for ROTATE and SCALE).
SizeY
type
integer
tooltip
Vertical frames (ignored for ROTATE and SCALE).
Start
type
float
tooltip
Start position/frame number (or radians for ROTATE).
Length
type
float
tooltip
number of frames to display (or radians for ROTATE).
Rate
type
float
tooltip
Frames per second (must not greater than zero).
tooltip
Animates a texture by setting the texture scale and offset.\nMode is a bitmask of animation options.\nFace specifies which object face to animate.\nSizeX and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\nLength specifies the animation duration.\nRate specifies the animation playback rate.
llSetTimerEvent
arguments
Rate
type
float
tooltip
Causes the timer event to be triggered every Rate seconds.\n Passing in 0.0 stops further timer events.
llSetTorque
arguments
Torque
type
vector
tooltip
Torque force.
Local
type
integer
tooltip
Boolean, if TRUE uses local axis, if FALSE uses region axis.
tooltip
Sets the Torque acting on the script's object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects.
llSetTouchText
arguments
Text
type
string
tooltip
Displays Text in the viewer context menu that acts on a touch.
llSetVehicleFlags
arguments
Flags
type
integer
tooltip
Enables the vehicle flags specified in the Flags bitmask.\nValid parameters can be found in the wiki documentation.
llSetVehicleFloatParam
arguments
ParameterName
type
integer
ParameterValue
type
float
tooltip
Sets a vehicle float parameter.\nValid parameters can be found in the wiki documentation.
llSetVehicleRotationParam
arguments
ParameterName
type
integer
ParameterValue
type
rotation
tooltip
Sets a vehicle rotation parameter.\nValid parameters can be found in the wiki documentation.
llSetVehicleType
arguments
Type
type
integer
tooltip
Activates the vehicle action on the object with vehicle preset Type.\nValid Types and an explanation of their characteristics can be found in wiki documentation.
llSetVehicleVectorParam
arguments
ParameterName
type
integer
ParameterValue
type
vector
tooltip
Sets a vehicle vector parameter.\nValid parameters can be found in the wiki documentation.
llSetVelocity
arguments
Velocity
type
vector
tooltip
The velocity to apply.
Local
type
integer
tooltip
If TRUE, the Velocity is treated as a local directional vector instead of a regional directional vector.
tooltip
If the object is physics-enabled, sets the object's linear velocity to Velocity.\nIf Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global directional vector.
llSHA1String
return
string
arguments
Text
type
string
tooltip
Returns a string of 40 hex characters that is the SHA1 security Hash of Text.
llShout
arguments
Channel
type
integer
Text
type
string
tooltip
Shouts Text on Channel.\nThis chat method has a range of 100m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts.
llSin
return
float
arguments
Theta
type
float
tooltip
Returns the sine of Theta (Theta in radians).
llSitTarget
arguments
Offset
type
vector
Rotation
type
rotation
tooltip
Set the sit location for this object. If offset == ZERO_VECTOR, clears the sit target.
llSleep
arguments
Time
type
float
tooltip
Put script to sleep for Time seconds.
llSound
deprecated
true
arguments
Sound
type
string
Volume
type
float
Queue
type
integer
Loop
type
integer
tooltip
Deprecated: Use llPlaySound instead.\nPlays Sound at Volume and specifies whether the sound should loop and/or be enqueued.
llSoundPreload
deprecated
true
arguments
Sound
type
string
tooltip
Deprecated: Use llPreloadSound instead.\nPreloads a sound on viewers within range.
llSqrt
return
float
arguments
Value
type
float
tooltip
Returns the square root of Value.\nTriggers a math runtime error for imaginary results (if Value < 0.0).
llStartAnimation
arguments
Animation
type
string
tooltip
This function plays the specified animation from playing on the avatar who received the script's most recent permissions request.\nAnimation may be an animation in task inventory or a built-in animation.\nRequires PERMISSION_TRIGGER_ANIMATION.
llStopAnimation
arguments
Animation
type
string
tooltip
This function stops the specified animation on the avatar who received the script's most recent permissions request.\nAnimation may be an animation in task inventory, a built-in animation, or the uuid of an animation.\nRequires PERMISSION_TRIGGER_ANIMATION.
llStopHover
arguments
tooltip
Stop hovering to a height (due to llSetHoverHeight()).
llStopLookAt
arguments
tooltip
Stop causing object to point at a target (due to llLookAt() or llRotLookAt()).
llStopMoveToTarget
arguments
tooltip
Stops critically damped motion (due to llMoveToTarget()).
llStopSound
arguments
tooltip
Stops playback of the currently attached sound.
llStringLength
return
integer
arguments
Text
type
string
tooltip
Returns an integer that is the number of characters in Text (not counting the null).
llStringToBase64
return
string
arguments
Text
type
string
tooltip
Returns the string Base64 representation of the input string.
llStringTrim
return
string
arguments
Text
type
string
tooltip
String to trim
TrimType
type
integer
tooltip
STRING_TRIM_HEAD, STRING_TRIM_TAIL, or STRING_TRIM.
tooltip
Outputs a string, eliminating white-space from the start and/or end of the input string Text.\nValid options for TrimType:\nSTRING_TRIM_HEAD: trim all leading spaces in Text\nSTRING_TRIM_TAIL: trim all trailing spaces in Text\nSTRING_TRIM: trim all leading and trailing spaces in Text.
llSubStringIndex
return
integer
arguments
Text
type
string
Sequence
type
string
tooltip
Returns an integer that is the index in Text where string pattern Sequence first appears. Returns -1 if not found.
llTakeCamera
deprecated
true
arguments
AvatarID
type
key
tooltip
Deprecated: Use llSetCameraParams instead.
llTakeControls
arguments
Controls
type
integer
tooltip
Bit-field of CONTROL_* flags.
Accept
type
integer
tooltip
Boolean, determines whether control events are generated.
PassOn
type
integer
tooltip
Boolean, determines whether controls are disabled.
tooltip
Take controls from the agent the script has permissions for.\nIf (Accept == (Controls & input)), send input to the script. PassOn determines whether Controls also perform their normal functions.\nRequires the PERMISSION_TAKE_CONTROLS permission to run.
llTan
return
float
arguments
Theta
type
float
tooltip
Returns the tangent of Theta (Theta in radians).
llTarget
return
integer
arguments
Position
type
vector
Range
type
float
tooltip
This function is to have the script know when it has reached a position.\nIt registers a Position with a Range that triggers at_target and not_at_target events continuously until unregistered.
llTargetOmega
arguments
Axis
type
vector
SpinRate
type
float
Gain
type
float
tooltip
Attempt to spin at SpinRate with strength Gain on Axis.\nA spin rate of 0.0 cancels the spin. This function always works in object-local coordinates.
llTargetRemove
arguments
Target
type
integer
tooltip
Removes positional target Handle registered with llTarget.
llTeleportAgent
arguments
AvatarID
type
key
tooltip
UUID of avatar.
LandmarkName
type
string
tooltip
Name of landmark (in object contents), or empty string, to use.
Position
type
vector
tooltip
If no landmark was provided, the position within the current region to teleport the avatar to.
LookAtPoint
type
vector
tooltip
The position within the target region that the avatar should be turned to face upon arrival.
tooltip
Requests a teleport of avatar to a landmark stored in the object's inventory. If no landmark is provided (an empty string), the avatar is teleported to the location position in the current region. In either case, the avatar is turned to face the position given by look_at in local coordinates.\nRequires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.
llTeleportAgentGlobalCoords
arguments
AvatarID
type
key
tooltip
UUID of avatar.
GlobalPosition
type
vector
tooltip
Global coordinates of the destination region. Can be retrieved by using llRequestSimulatorData(region_name, DATA_SIM_POS).
RegionPosition
type
vector
tooltip
The position within the target region to teleport the avatar to, if no landmark was provided.
LookAtPoint
type
vector
tooltip
The position within the target region that the avatar should be turned to face upon arrival.
tooltip
Teleports an agent to the RegionPosition local coordinates within a region which is specified by the GlobalPosition global coordinates. The agent lands facing the position defined by LookAtPoint local coordinates.\nRequires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.
llTeleportAgentHome
sleep
5.0
arguments
AvatarID
type
key
tooltip
Teleport agent over the owner's land to agent's home location.
llTextBox
sleep
1.0
arguments
AvatarID
type
key
Text
type
string
Channel
type
integer
tooltip
Opens a dialog for the specified avatar with message Text, which contains a text box for input. Any text that is entered is said on the specified Channel (as if by the avatar) when the "OK" button is clicked.
llToLower
return
string
arguments
Text
type
string
tooltip
Returns a string that is Text with all lower-case characters.
llToUpper
return
string
arguments
Text
type
string
tooltip
Returns a string that is Text with all upper-case characters.
llTransferLindenDollars
return
key
arguments
AvatarID
type
key
Amount
type
integer
tooltip
Transfer Amount of linden dollars (L$) from script owner to AvatarID. Returns a key to a corresponding transaction_result event for the success of the transfer.\nAttempts to send the amount of money to the specified avatar, and trigger a transaction_result event identified by the returned key.
llTriggerSound
arguments
Sound
type
string
Volume
type
float
tooltip
Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object.\nThere is no limit to the number of triggered sounds which can be generated by an object, and calling llTriggerSound does not affect the attached sounds created by llPlaySound and llLoopSound. This is very useful for things like collision noises, explosions, etc. There is no way to stop or alter the volume of a sound triggered by this function.
llTriggerSoundLimited
arguments
Sound
type
string
Volume
type
float
TNE
type
vector
BSW
type
vector
tooltip
Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object, limited to axis-aligned bounding box defined by vectors top-north-east (TNE) and bottom-south-west (BSW).\nThere is no limit to the number of triggered sounds which can be generated by an object, and calling llTriggerSound does not affect the attached sounds created by llPlaySound and llLoopSound. This is very useful for things like collision noises, explosions, etc. There is no way to stop or alter the volume of a sound triggered by this function.
llUnescapeURL
return
string
arguments
URL
type
string
tooltip
Returns the string that is the URL unescaped, replacing "%20" with spaces, etc., version of URL.\nThis function can output raw UTF-8 strings.
llUnSit
arguments
AvatarID
type
key
tooltip
If agent identified by AvatarID is sitting on the object the script is attached to or is over land owned by the objects owner, the agent is forced to stand up.
llVecDist
return
float
arguments
Location1
type
vector
Location2
type
vector
tooltip
Returns the distance between Location1 and Location2.
llVecMag
return
float
arguments
Vector
type
vector
tooltip
Returns the magnitude of the vector.
llVecNorm
return
vector
arguments
Vector
type
vector
tooltip
Returns normalized vector.
llVolumeDetect
arguments
DetectEnabled
type
integer
tooltip
TRUE enables, FALSE disables.
tooltip
If DetectEnabled = TRUE, object becomes phantom but triggers collision_start and collision_end events when other objects start and stop interpenetrating.\nIf another object (including avatars) interpenetrates it, it will get a collision_start event.\nWhen an object stops interpenetrating, a collision_end event is generated. While the other is inter-penetrating, collision events are NOT generated.
llWater
return
float
arguments
Offset
type
vector
tooltip
Returns the water height below the object position + Offset.
llWhisper
arguments
Channel
type
integer
Text
type
string
tooltip
Whispers Text on Channel.\nThis chat method has a range of 10m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts.
llWind
return
vector
arguments
Offset
type
vector
tooltip
Returns the wind velocity at the object position + Offset.
llXorBase64
return
string
arguments
Text1
type
string
Text2
type
string
tooltip
Performs an exclusive OR on two Base64 strings and returns a Base64 string. Text2 repeats if it is shorter than Text1.
llXorBase64Strings
deprecated
true
sleep
0.3
return
string
arguments
Text1
type
string
Text2
type
string
tooltip
Deprecated: Please use llXorBase64 instead.\nIncorrectly performs an exclusive OR on two Base64 strings and returns a Base64 string. Text2 repeats if it is shorter than Text1.\nRetained for backwards compatibility.
llXorBase64StringsCorrect
deprecated
true
return
string
arguments
Text1
type
string
Text2
type
string
tooltip
Deprecated: Please use llXorBase64 instead.\nCorrectly (unless nulls are present) performs an exclusive OR on two Base64 strings and returns a Base64 string.\nText2 repeats if it is shorter than Text1.
llGetMinScaleFactor
return
float
arguments
tooltip
Returns the smallest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.
llGetMaxScaleFactor
return
float
arguments
tooltip
Returns the largest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.
osAgentSaveAppearance
return
key
arguments
AvatarID
type
key
notecard
type
string
tooltip
Creates a notecard with the specified avatar's current appearance inside the object
osAvatarName2Key
return
key
arguments
firstname
type
string
lastname
type
string
tooltip
Returns the avatar's key
osTest
arguments
AvatarID
type
key
notecard
type
string
tooltip
dummy to test lslsyntax