Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

300 results for “D”

Returns the arc-cosine of Value, in radians.

Add avatar ID to the parcel ban list for the specified number of Hours.\ A value of 0 for Hours will add the agent indefinitely.\ The smallest value that Hours will accept is 0.01; anything smaller will be seen as 0.\ When 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).\ Residents teleporting to a parcel where they are banned will be redirected to a neighbouring parcel.

Add avatar ID to the land pass list, for a duration of Hours.

Adjusts the volume (0.0 - 1.0) of the currently playing attached sound.\ This function has no effect on sounds started with llTriggerSound.

Returns TRUE if the agent is in the Experience and the Experience can run in the current location.

If Flag == TRUE, users without object modify permissions can still drop inventory items into the object.

Returns the angle, in radians, between rotations Rot1 and Rot2.

Applies impulse to the object.\ If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\ This function only works on physical objects.

Applies rotational impulse to the object.\ If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\ This function only works on physical objects.

Returns the arc-sine, in radians, of Value.

Attach to avatar at point AttachmentPoint.\ Requires the PERMISSION_ATTACH runtime permission.

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.

If an avatar is sitting on the link's sit target, return the avatar's key, NULL_KEY otherwise.\ Returns a key that is the UUID of the user seated on the specified link's prim.

If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY.\ This only will detect avatars sitting on sit targets defined with llSitTarget.

Returns the rotation represented by coordinate axes Forward, Left, and Up.

Returns the rotation that is a generated Angle about Axis.

Returns an integer that is the Text, Base64 decoded as a big endian integer.\ Returns zero if Text is longer then 8 characters. If Text contains fewer then 6 characters, the return value is unpredictable.

Converts a Base64 string to a conventional string.\ If the conversion creates any unprintable characters, they are converted to question marks.

De-links all prims in the link set (requires permission PERMISSION_CHANGE_LINKS be set).

De-links the prim with the given link number (requires permission PERMISSION_CHANGE_LINKS be set).

Casts a ray into the physics world from 'start' to 'end' and returns data according to details in Options.\ Reports collision data for intersections with objects.\ Return 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.

No description recorded yet.

Resets all camera parameters to default values and turns off scripted camera control.

Clears (deletes) the media and all parameters from the given Face on the linked prim.\ Returns an integer that is a STATUS_* flag, which details the success/failure of the operation.

Clears (deletes) the media and all parameters from the given Face.\ Returns an integer that is a STATUS_* flag which details the success/failure of the operation.

Closes the specified XML-RPC channel.

Returns the cloud density at the object's position + Offset.

Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter.

Suppress default collision sounds, replace default impact sounds with ImpactSound.\ The ImpactSound must be in the object inventory.\ Supply an empty string to suppress collision sounds.

Suppress default collision sprites, replace default impact sprite with ImpactSprite; found in the object inventory (empty string to just suppress).

Returns the cosine of Theta (Theta in radians).

Starts an asychronous transaction to create a key-value pair. Will fail with XP_ERROR_STORAGE_EXCEPTION if the key already exists. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value passed to the function.

Attempt to link the object the script is in, to target (requires permission PERMISSION_CHANGE_LINKS be set).\ Requires permission PERMISSION_CHANGE_LINKS be set.

Create a list from a string of comma separated values specified in Text.

Starts an asychronous transaction the request the used and total amount of data allocated for the Experience. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the the amount in use and the third item will be the total available.

Starts an asychronous transaction to delete a key-value pair. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key.

Removes the slice from start to end and returns the remainder of the list.\ Remove a slice from the list and return the remainder, start and end are inclusive.\ Using 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.\ If 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.

Removes the indicated sub-string and returns the result.\ Start and End are inclusive.\ Using 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.\ If 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.

No description recorded yet.

Remove the object containing the script from the avatar.

Returns the grab offset of a user touching the object.\ Returns <0.0, 0.0, 0.0> if Number is not a valid object.

Returns TRUE if detected object or agent Number has the same user group active as this object.\ It will return FALSE if the object or agent is in the group, but the group is not active.

Returns the key of detected object or avatar number.\ Returns NULL_KEY if Number is not a valid index.

Returns the link position of the triggered event for touches and collisions only.\ 0 for a non-linked object, 1 for the root of a linked object, 2 for the first child, etc.

Returns the name of detected object or avatar number.\ Returns the name of detected object number.\ Returns empty string if Number is not a valid index.

Returns the key of detected object's owner.\ Returns invalid key if Number is not a valid index.

Returns the position of detected object or avatar number.\ Returns <0.0, 0.0, 0.0> if Number is not a valid index.

Returns the rotation of detected object or avatar number.\ Returns <0.0, 0.0, 0.0, 1.0> if Number is not a valid offset.

Returns the surface bi-normal for a triggered touch event.\ Returns a vector that is the surface bi-normal (tangent to the surface) where the touch event was triggered.

Returns the index of the face where the avatar clicked in a triggered touch event.

Returns the surface normal for a triggered touch event.\ Returns a vector that is the surface normal (perpendicular to the surface) where the touch event was triggered.

Returns the position, in region coordinates, where the object was touched in a triggered touch event.\ Unless it is a HUD, in which case it returns the position relative to the attach point.

Returns a vector that is the surface coordinates where the prim was touched.\ The X and Y vector positions contain the horizontal (S) and vertical (T) face coordinates respectively.\ Each component is in the interval [0.0, 1.0].\ TOUCH_INVALID_TEXCOORD is returned if the surface coordinates cannot be determined (e.g. when the viewer does not support this function).

Returns a vector that is the texture coordinates for where the prim was touched.\ The X and Y vector positions contain the U and V face coordinates respectively.\ TOUCH_INVALID_TEXCOORD is returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function).

Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object.\ Returns 0 if number is not a valid index.\ Note that number is a bit-field, so comparisons need to be a bitwise checked. e.g.:\ integer iType = llDetectedType(0);\ {\ // ...do stuff with the agent\ }

Returns the velocity of the detected object Number.\ Returns<0.0, 0.0, 0.0> if Number is not a valid offset.

Shows a dialog box on the avatar's screen with the message.\ Up to 12 strings in the list form buttons.\ If a button is clicked, the name is chatted on Channel.\ Opens a "notify box" in the given avatars screen displaying the message.\ 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.\ Channels work just like llSay(), so channel 0 can be heard by everyone.\ 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.).\ Examples:\ llDialog(who, "Are you a boy or a girl?", [ "Boy", "Girl" ], -4913);\ llDialog(who, "This shows only an OK button.", [], -192);\ llDialog(who, "This chats so you can 'hear' it.", ["Hooray"], 0);

Delete the object which holds the script.

Returns the list as a single string, using Separator between the entries.\ Write the list out as a single string, using Separator between values.

Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).\ Returns 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.

Ejects AvatarID from land that you own.\ Ejects AvatarID from land that the object owner (group or resident) owns.

Sends email to Address with Subject and Message.\ Sends an email to Address with Subject and Message.

Returns an escaped/encoded version of url, replacing spaces with %20 etc.\ Returns the string that is the URL-escaped version of URL (replacing spaces with %20, etc.).\ This function returns the UTF-8 encoded escape codes for selected characters.

Returns the rotation representation of the Euler angles.\ Returns the rotation represented by the Euler Angle.

If Enable is TRUE any avatar that sits on this object is forced into mouse-look mode.\ After calling this function with Enable set to TRUE, any agent sitting down on the prim will be forced into mouse-look.\ Just 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.

Returns a pseudo random number in the range [0, Magnitude] or [Magnitude, 0].\ Returns a pseudo-random number between [0, Magnitude].

Generates a key (SHA-1 hash) using UUID generation to create a unique key.\ As the UUID produced is versioned, it should never return a value of NULL_KEY.\ The 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.

Returns an integer bit-field containing the agent information about id.\ 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.\ Returns information about the given agent ID as a bit-field of agent info constants.

Returns the language code of the preferred interface language of the avatar.\ Returns a string that is the language code of the preferred interface language of the resident.

Requests a list of agents currently in the region, limited by the scope parameter.\ Returns 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

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.\ If the agent is in the same region as the object, returns the size of the avatar.

Returns the alpha value of Face.\ Returns the 'alpha' of the given face. If face is ALL_SIDES the value returned is the mean average of all faces.

Returns the script time in seconds and then resets the script timer to zero.\ Gets the time in seconds since starting and resets the time to zero.

Returns the name of the currently playing locomotion animation for the avatar id.\ Returns the currently playing animation for the specified avatar ID.

Returns a list of keys of playing animations for an avatar.\ Returns a list of keys of all playing animations for the specified avatar ID.

Returns a string that is the name of the animation that is used for the specified animation state\ To use this function the script must obtain either the PERMISSION_OVERRIDE_ANIMATIONS or PERMISSION_TRIGGER_ANIMATION permission (automatically granted to attached objects).

Returns the object's attachment point, or 0 if not attached.

Returns a list of keys of all visible (not HUD) attachments on the avatar identified by the ID argument

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 ].

Returns the current camera position for the agent the task has permissions for.\ Returns the position of the camera, of the user that granted the script PERMISSION_TRACK_CAMERA. If no user has granted the permission, it returns ZERO_VECTOR.

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.

Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass).

Returns the color on Face.\ Returns 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.

Returns the current date in the UTC time zone in the format YYYY-MM-DD.\ Returns the current UTC date as YYYY-MM-DD.

No description recorded yet.

No description recorded yet.

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.

Returns a string with the requested data about the region.

Returns a list with the following Experience properties: [Experience Name, Owner ID, Group ID, Experience ID, State, State Message]. State is an integer corresponding to one of the constants XP_ERROR_... and State Message is the string returned by llGetExperienceErrorMessage for that integer.

Returns a string describing the error code passed or the string corresponding with XP_ERROR_UNKNOWN_ERROR if the value is not a valid Experience error code.

Returns the time in seconds since midnight GMT.\ Gets the time in seconds since midnight in GMT/UTC.

Returns the value for header for request_id.\ Returns a string that is the value of the Header for HTTPRequestID.

Returns a key for the creator of the inventory item.\ This function returns the UUID of the creator of item. If item is not found in inventory, the object says "No item named 'name'".

No description recorded yet.

Returns the key that is the UUID of the inventory named.\ Returns the key of the inventory named.

Returns the name of the inventory item of a given type, specified by index number.\ Use the inventory constants INVENTORY_* to specify the type.

Returns the requested permission mask for the inventory item.\ Returns 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.

Returns the type of the named inventory item.\ Like all inventory functions, llGetInventoryType is case-sensitive.

Returns the key of the prim the script is attached to.\ Get the key for the object which has this script.

Returns the key of the land owner, returns NULL_KEY if public.\ Returns the key of the land owner at Position, or NULL_KEY if public.

Returns the key of the linked prim LinkNumber.\ Returns the key of LinkNumber in the link set.

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.

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.).\ Returns the link number of the prim containing the script. 0 means no link, 1 the root, 2 for first child, etc.

Returns the number of sides of the specified linked prim.\ Returns an integer that is the number of faces (or sides) of the prim link.

Returns the list of primitive attributes requested in the Parameters list for LinkNumber.\ PRIM_* flags can be broken into three categories, face flags, prim flags, and object flags.\ * Supplying a prim or object flag will return that flags attributes.\ * Face flags require the user to also supply a face index parameter.

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).\ Returns the type of the variable at Index in ListVariable.

Returns the position relative to the root.\ Returns the local position of a child object relative to the root.

Returns the rotation local to the root.\ Returns the local rotation of a child object relative to the root.

Returns the mass of object that the script is attached to.\ Returns 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.

Acts as llGetMass(), except that the units of the value returned are Kg.

Returns the largest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.

Returns the smallest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.

No description recorded yet.

Fetch the next queued email with that matches the given address and/or subject, via the email event.\ If the parameters are blank, they are not used for filtering.

Returns LineNumber from NotecardName via the dataserver event. The line index starts at zero.\ If the requested line is passed the end of the note-card the dataserver event will return the constant EOF string.\ The key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter.

Returns the number of lines contained within a notecard via the dataserver event.\ The key returned by this function is a query ID for identifying the dataserver reply.

Returns the number of prims in a link set the script is attached to.\ Returns the number of prims in (and avatars seated on) the object the script is in.

Returns the number of faces (or sides) of the prim.\ Returns the number of sides of the prim which has the script.

Returns the description of the prim the script is attached to.\ Returns the description of the scripted object/prim. You can set the description using llSetObjectDesc.

Returns a list of object details specified in the Parameters list for the object or avatar in the region with key ID.\ Parameters are specified by the OBJECT_* constants.

Returns the mass of the avatar or object in the region.\ Gets the mass of the object or avatar corresponding to ID.

Returns the name of the prim which the script is attached to.\ Returns the name of the prim (not object) which contains the script.

Returns the permission mask of the requested category for the object.

Returns the total number of prims for an object in the region.\ Returns the prim count for any object id in the same region.

Returns the rotation velocity in radians per second.\ Returns a vector that is the rotation velocity of the object in radians per second.

Returns the object owner's UUID.\ Returns the key for the owner of the object.

Returns the owner of ObjectID.\ Returns the key for the owner of object ObjectID.

Returns a list of parcel details specified in the ParcelDetails list for the parcel at Position.\ Parameters is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA, _ID, _SEE_AVATARS.\ Returns a list that is the parcel details specified in ParcelDetails (in the same order) for the parcel at Position.

Returns a mask of the parcel flags (PARCEL_FLAG_*) for the parcel that includes the point Position.\ Returns a bit-field specifying the parcel flags (PARCEL_FLAG_*) for the parcel at Position.

Returns the maximum number of prims allowed on the parcel at Position for a given scope.\ The scope may be set to an individual parcel or the combined resources of all parcels with the same ownership in the region.

Gets the streaming audio URL for the parcel object is on.\ The object owner, avatar or group, must also be the land owner.

Returns the number of prims on the parcel at Position of the given category.\ Categories: PARCEL_COUNT_TOTAL, _OWNER, _GROUP, _OTHER, _SELECTED, _TEMP.\ Returns the number of prims used on the parcel at Position which are in Category.\ If SimWide is TRUE, it returns the total number of objects for all parcels with matching ownership in the category specified.\ If SimWide is FALSE, it returns the number of objects on this specific parcel in the category specified

Returns a list of up to 100 residents who own objects on the parcel at Position, with per-owner land impact totals.\ Requires owner-like permissions for the parcel, and for the script owner to be present in the region.\ The list is formatted as [ key agentKey1, integer agentLI1, key agentKey2, integer agentLI2, ... ], sorted by agent key.\ The integers are the combined land impacts of the objects owned by the corresponding agents.

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

Returns the key of the avatar that last granted or declined permissions to the script.\ Returns NULL_KEY if permissions were never granted or declined.

Returns a list of the form [float gravity_multiplier, float restitution, float friction, float density].

Returns the position of the task in region coordinates.\ Returns the vector position of the task in region coordinates.

Returns the primitive parameters specified in the parameters list.\ Returns primitive parameters specified in the Parameters list.

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.

Returns a vector, in meters, that is the global location of the south-west corner of the region which the object is in.\ Returns the Region-Corner of the simulator containing the task. The region-corner is a vector (values in meters) representing distance from the first region.

No description recorded yet.

No description recorded yet.

Returns the region flags (REGION_FLAG_*) for the region the object is in.\ Returns a bit-field specifying the region flags (REGION_FLAG_*) for the region the object is in.

Returns the mean region frames per second.

No description recorded yet.

No description recorded yet.

Returns the current time dilation as a float between 0.0 (full dilation) and 1.0 (no dilation).\ Returns the current time dilation as a float between 0.0 and 1.0.

Returns the position (in region coordinates) of the root prim of the object which the script is attached to.\ This is used to allow a child prim to determine where the root is.

Returns the rotation (relative to the region) of the root prim of the object which the script is attached to.\ Gets the global rotation of the root object of the object script is attached to.

Returns the scale of the prim.\ Returns a vector that is the scale (dimensions) of the prim.

Returns the name of the script that this function is used in.\ Returns the name of this script.

Returns TRUE if the script named is running.\ Returns TRUE if ScriptName is running.

Returns a float that is the requested statistic.

Returns the host-name of the machine which the script is running on.\ For example, "sim225.agni.lindenlab.com".

Returns the maximum used memory for the current script. Only valid after using PROFILE_SCRIPT_MEMORY. Non-mono scripts always use 16k.\ Returns the integer of the most bytes used while llScriptProfiler was last active.

Returns an integer that is the script rez parameter.\ If the object was rezzed by an agent, this function returns 0.

Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to.

Returns a sub-string from String, in a range specified by the Start and End indicies (inclusive).\ Using 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.\ If Start is greater than End, the sub string is the exclusion of the entries.

Returns a normalized vector of the direction of the sun in the region.\ Returns the sun's direction on the simulator.

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).\ Returns the texture of a face, if it is found in object inventory, its key otherwise.

Returns the texture offset of face in the x and y components of a vector.

Returns the texture rotation of side.

Returns the texture scale of side in the x and y components of a vector.\ Returns the texture scale of a side in the x and y components of a vector.

Returns the time in seconds since the last region reset, script reset, or call to either llResetTime or llGetAndResetTime.

Returns the time in seconds since Second Life midnight or since region up-time, whichever is smaller.\ The Second Life day cycle is 4 hours.

Returns a time-stamp (UTC time zone) in the format: YYYY-MM-DDThh:mm:ss.ff..fZ.

Returns the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock.

Returns the current used memory for the current script. Non-mono scripts always use 16K.\ Returns the integer of the number of bytes of memory currently in use by the script. Non-mono scripts always use 16K.

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.

No description recorded yet.

Returns the time in seconds since midnight California Pacific time (PST/PDT).\ Returns the time in seconds since simulator's time-zone midnight (Pacific Time).

Give InventoryItem to destination represented by TargetID, as permitted by the permissions system.\ TargetID may be any agent or an object in the same region.

Give InventoryItems to destination (represented by TargetID) as a new folder of items, as permitted by the permissions system.\ TargetID 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).

Transfers Amount of L$ from script owner to AvatarID.\ This call will silently fail if PERMISSION_DEBIT has not been granted.

Rez directly off of a UUID if owner has god-bit set.

Returns the ground height at the object position + offset.\ Returns the ground height at the object's position + Offset.

Returns the ground contour direction below the object position + Offset.\ Returns the ground contour at the object's position + Offset.

Returns the ground normal below the object position + offset.\ Returns the ground contour at the object's position + Offset.

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).\ Critically damps to fHeight if within fHeight * 0.5 of ground or water level.\ The height is above ground level if iWater is FALSE or above the higher of land and water if iWater is TRUE.\ Do not use with vehicles. Only works in physics-enabled objects.

Returns the ground slope below the object position + Offset.\ Returns the ground slope at the object position + Offset.

Sends an HTTP request to the specified URL with the Body of the request and Parameters.\ Returns a key that is a handle identifying the HTTP request made.

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.

Inserts SourceVariable into TargetVariable at Position, and returns the result.\ Inserts SourceVariable into TargetVariable at Position and returns the result. Note this does not alter TargetVariable.

IMs Text to the user identified.\ Send Text to the user as an instant message.

Returns a string that is a Base64 big endian encode of Value.\ Encodes the Value as an 8-character Base64 string.

No description recorded yet.

Gets the value indicated by Specifiers from the JSON string.

Returns a new JSON string that is the JSON given with the Value indicated by Specifiers set to Value.

Returns the type constant (JSON_*) for the value in JSON indicated by Specifiers.

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.\ For avatars, the returned name is the legacy name

Starts an asychronous transaction the request the number of keys in the data store. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will the the number of keys in the system.

Starts an asychronous transaction the request a number of keys from the data store. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. The error XP_ERROR_KEY_NOT_FOUND is returned if First is greater than or equal to the number of keys in the data store. In the success case the subsequent items will be the keys requested. The number of keys returned may be less than requested if the return value is too large or if there is not enough keys remaining. The order keys are returned is not guaranteed but is stable between subsequent calls as long as no keys are added or removed. Because the keys are returned in a comma-delimited list it is not recommended to use commas in key names if this function is used.

Creates a particle system in prim LinkNumber based on Rules. An empty list removes a particle system from object.\ List format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].\ This is identical to llParticleSystem except that it applies to a specified linked prim and not just the prim the script is in.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it.\ Set the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation.

No description recorded yet.

Creates a string of comma separated values from the list.\ Create a string of comma separated values from the specified list.

Copies the float at Index in the list.\ Returns 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.

Copies the integer at Index in the list.\ Returns 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.

Converts either a strided list of key:value pairs to a JSON_OBJECT, or a list of values to a JSON_ARRAY.

Copies the key at Index in the list.\ Returns 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.

Returns a subset of entries from ListVariable, in a range specified by the Start and End indicies (inclusive).\ Using 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.\ If Start is greater than End, the sub string is the exclusion of the entries.

Copies the strided slice of the list from Start to End.\ Returns a copy of the strided slice of the specified list from Start to End.

Copies the rotation at Index in the list.\ Returns 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.

Copies the string at Index in the list.\ Returns 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.

Copies the vector at Index in the list.\ Returns 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.

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.\ Non-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.\ PUBLIC_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.

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.\ Use boolean values to specify Active

Removes a listen event callback. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener to remove.

Returns the index of the first instance of Find in ListVariable. Returns -1 if not found.\ Returns the position of the first instance of the Find list in the ListVariable. Returns -1 if not found.

Returns a list that contains all the elements from Target but with the elements from ListVariable inserted at Position start.\ Returns a new list, created by inserting ListVariable into the Target list at Position. Note this does not alter the Target.

Returns a version of the input ListVariable which has been randomized by blocks of size Stride.\ If the remainder from the length of the list, divided by the stride is non-zero, this function does not randomize the list.

Returns a list that is Target with Start through End removed and ListVariable inserted at Start.\ Returns 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.

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.

Performs a statistical aggregate function, specified by a LIST_STAT_* constant, on ListVariables.\ This function allows a script to perform a statistical operation as defined by operation on a list composed of integers and floats.

Shows dialog to avatar AvatarID offering to load web page at URL. If user clicks yes, launches their web browser.\ llLoadURL displays a dialogue box to the user, offering to load the specified web page using the default web browser.

Returns the natural logarithm of Value. Returns zero if Value <= 0.\ Returns the base e (natural) logarithm of the specified Value.

Returns the base 10 logarithm of Value. Returns zero if Value <= 0.\ Returns the base 10 (common) logarithm of the specified Value.

Cause object name to point its forward axis towards Target, at a force controlled by Strength and Damping.\ Good Strength values are around half the mass of the object and good Damping values are less than 1/10th of the Strength.\ Asymmetrical shapes require smaller Damping. A Strength of 0.0 cancels the look at.

Plays specified Sound, looping indefinitely, at Volume (0.0 - 1.0).\ Only one sound may be attached to an object at a time.\ A 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.\ Setting the volume to 0 is not the same as calling llStopSound; a sound with 0 volume will continue to loop.\ To restart the sound from the beginning, call llStopSound before calling llLoopSound again.

Plays attached Sound, looping at volume (0.0 - 1.0), and declares it a sync master.\ Behaviour 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.\ The use of multiple masters within a small area is unlikely to produce the desired effect.

Plays attached sound looping at volume (0.0 - 1.0), synced to most audible sync master.\ Behaviour is identical to llLoopSound, unless there is a "Sync Master" present.\ If 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.\ If a Sync Master is started when the Slave is already playing, the Slave will skip to the correct position to sync with the Master.

Make a round explosion of particles. Deprecated: Use llParticleSystem instead.\ Make a round explosion of particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.

Make fire like particles. Deprecated: Use llParticleSystem instead.\ Make fire particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.

Make a fountain of particles. Deprecated: Use llParticleSystem instead.\ Make a fountain of particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.

Make smoke like particles. Deprecated: Use llParticleSystem instead.\ Make smoky particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.

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.\ Returns 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.\ The object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script.

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.\ Direction currently has no effect.

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.\ Returns a 32-character hex string. (128-bit in binary.)

Sends Number, Text, and ID to members of the link set identified by LinkNumber.\ LinkNumber is either a linked number (available through llGetLinkNumber) or a LINK_* constant.

Set the minimum time between events being handled.

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).

Returns a Value raised to the Power, mod Modulus. ((a**b)%c) b is capped at 0xFFFF (16 bits).\ Returns (Value ^ Power) % Modulus. (Value raised to the Power, Modulus). Value is capped at 0xFFFF (16 bits).

Critically damp to Target in Tau seconds (if the script is physical).\ Critically 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.

Sets the texture S and T offsets for the chosen Face.\ If Face is ALL_SIDES this function sets the texture offsets for all faces.

Requests a channel to listen for XML-RPC calls. (Deprecated: XML-RPC should not be used. Use http-in instead.)\ Will trigger a remote_data event with type = REMOTE_DATA_CHANNEL and a channel ID (key) once it is available.\ This channel ID must be referenced in the XML-RPC call to the script (from the internet) -- so the key must somehow get to the external XML-RPC client.

No description recorded yet.

Returns TRUE if id ID over land owned by the script owner, otherwise FALSE.\ Returns TRUE if key ID is over land owned by the object owner, FALSE otherwise.

says Text to owner only (if owner is in region).\ Says 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.

Controls the playback of multimedia resources on a parcel or for an agent, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.

Queries the media properties of the parcel containing the script, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.\ This 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).

Converts Text into a list, discarding Separators, keeping Spacers (Separators and Spacers must be lists of strings, maximum of 8 each).\ Separators and Spacers are lists of strings with a maximum of 8 entries each.

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).\ llParseStringKeepNulls 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.

Creates a particle system in the prim the script is attached to, based on Parameters. An empty list removes a particle system from object.\ List format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].

Configures how collision events are passed to scripts in the linkset.\ If 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.

Configures how touch events are passed to scripts in the linkset.\ If 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.

Plays Sound once, at Volume (0.0 - 1.0) and attached to the object.\ Only 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.\ A 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.\ To restart the sound from the beginning, call llStopSound before calling llPlaySound again.

Plays attached Sound once, at Volume (0.0 - 1.0), synced to next loop of most audible sync master.\ Behaviour 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.\ llPlaySoundSlave 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.

No description recorded yet.

Returns the Value raised to the power Exponent, or returns 0 and triggers Math Error for imaginary results.\ Returns the Value raised to the Exponent.

Causes nearby viewers to preload the Sound from the object's inventory.\ This is intended to prevent delays in starting new sounds when called upon.

Applies Impulse and AngularImpulse to ObjectID.\ Applies the supplied impulse and angular impulse to the object specified.

Starts an asychronous transaction to retrieve the value associated with the key given. Will fail with XP_ERROR_KEY_NOT_FOUND if the key does not exist. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key.

Reloads the web page shown on the sides of the object.

Broadcasts Text to entire region on Channel (except for channel 0).

Says Text, on Channel, to avatar or object indicated by TargetID (if within region).\ If TargetID is an avatar and Channel is nonzero, Text can be heard by any attachment on the avatar.

Return camera to agent.\ Deprecated: Use llClearCameraParams instead.

Stop taking inputs.\ Stop taking inputs from the avatar.

Releases the specified URL, which was previously obtained using llRequestURL. Once released, the URL will no longer be usable.

Send an XML-RPC reply to MessageID on ChannelID with payload of string sData and integer iData. Deprecated: Use HTTP functions/events instead.\ The size of sData is limited to 254 characters.

Deprecated: Use HTTP functions/events instead.\ If an object using remote data channels changes regions, you must call this function to re-register the remote data channels.\ You do not need to make this call if you don't change regions.

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.

Remove avatar from the land ban list.\ Remove specified avatar from the land parcel ban list.

Remove avatar from the land pass list.\ Remove specified avatar from the land parcel pass list.

Remove the named inventory item.\ Remove the named inventory item from the object inventory.

Removes the enabled bits in 'flags'.\ Sets the vehicle flags to FALSE. Valid parameters can be found in the vehicle flags constants section.

Requests data about AvatarID. When data is available the dataserver event will be raised.\ This 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.

Requests the display name of the agent. When the display name is available the dataserver event will be raised.\ The avatar identified does not need to be in the same region or online at the time of the request.\ Returns a key that is used to identify the dataserver event when it is raised.

Ask the agent for permission to participate in an experience. This request is similar to llRequestPermissions with the following permissions: PERMISSION_TAKE_CONTROLS, PERMISSION_TRIGGER_ANIMATION, PERMISSION_ATTACH, PERMISSION_TRACK_CAMERA, PERMISSION_CONTROL_CAMERA and PERMISSION_TELEPORT. However, unlike llRequestPermissions the decision to allow or block the request is persistent and applies to all scripts using the experience grid wide. Subsequent calls to llRequestExperiencePermissions from scripts in the experience will receive the same response automatically with no user interaction. One of experience_permissions or experience_permissions_denied will be generated in response to this call. Outstanding permission requests will be lost if the script is derezzed, moved to another region or reset.

Requests data for the named InventoryItem.\ When data is available, the dataserver event will be raised with the key returned from this function in the requested parameter.\ The 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.

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.\ This call will not stop script execution. If the avatar grants the requested permissions, the run_time_permissions event will be called.

Requests one HTTPS:// (SSL) URL for use by this object. The http_request event is triggered with results.\ Returns a key that is the handle used for identifying the request in the http_request event.

Requests the specified Data about RegionName. When the specified data is available, the dataserver event is raised.\ Data should use one of the DATA_SIM_* constants.\ Returns a dataserver query ID and triggers the dataserver event when data is found.

Requests one HTTP:// URL for use by this script. The http_request event is triggered with the result of the request.\ Returns a key that is the handle used for identifying the result in the http_request event.

Requests single-word user-name of an avatar. When data is available the dataserver event will be raised.\ Requests the user-name of the identified agent. When the user-name is available the dataserver event is raised.\ The agent identified does not need to be in the same region or online at the time of the request.\ Returns a key that is used to identify the dataserver event when it is raised.

Resets the animation of the specified animation state to the default value.\ If animation state equals "ALL", then all animation states are reset.