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 “K”

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.

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.

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.

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.

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.

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

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.

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.

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 key of detected object's owner.\ Returns invalid key if Number is not a valid index.

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

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\ }

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

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.

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.

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 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 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 a key for the creator of the prim.\ Returns the key of the object's original creator. Similar to llGetOwner.

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

No description recorded yet.

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'".

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

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 name of LinkNumber in a link set.\ Returns the name of LinkNumber the link set.

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.

No description recorded yet.

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

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 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 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 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 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 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 the position of the task in region coordinates.\ Returns the vector position of the task in region coordinates.

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.

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

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.

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.

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.

No description recorded yet.

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.

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.

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

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.

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.

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.

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.

No description recorded yet.

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.

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.

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.

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.

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.

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

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.

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.

No description recorded yet.

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.

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.\ Asymmetrical shapes require smaller damping.\ A strength of 0.0 cancels the look at.

Attempts to resize the entire object by ScalingFactor, maintaining the size-position ratios of the prims.\ \ Resizing 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.\ Returns a boolean (an integer) TRUE if it succeeds, FALSE if it fails.

Deprecated: use HTTP functions and events instead.\ Sends an XML-RPC request to Destination through ChannelID with payload of ChannelID (in a string), integer Value and string Text.\ Returns a key that is the message_id for the resulting remote_data events.

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.\ Specifying 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.\ Results are returned in the sensor and no_sensor events.

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.\ Specifying 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.\ Results are returned in the sensor and no_sensor events.

Set the tasks buoyancy (0 is none, < 1.0 sinks, 1.0 floats, > 1.0 rises).\ Set the object buoyancy. A value of 0 is none, less than 1.0 sinks, 1.0 floats, and greater than 1.0 rises.

Sets the action performed when a prim is clicked upon.

Set the media type of an LSL HTTP server response to ContentType.\ HTTPRequestID must be a valid http_request ID. ContentType must be one of the CONTENT_TYPE_* constants.

Sets the amount of damage that will be done to an avatar that this task hits. Task will be killed.\ Sets 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.

Sets Force on object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\ Only works on physical objects.

Sets the Force and Torque of object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\ Only works on physical objects.

Sets the given permission mask to the new value on the inventory item.

Requests that a non-physical object be key-framed according to key-frame list.\ Specify 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.\ Keyframes 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).

If a prim exists in the link chain at LinkNumber, set Face to Opacity.\ Sets the Face, on the linked prim specified, to the Opacity.

Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim.

If a task exists in the link chain at LinkNumber, set the Face to color.\ Sets the color of the linked child's side, specified by LinkNumber.

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

Set primitive parameters for LinkNumber based on Parameters.\ Sets the parameters (or properties) of any linked prim in one step.

Set primitive parameters for LinkNumber based on Parameters, without a delay.\ Set 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.

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.

Animates a texture on the prim specified by LinkNumber, by setting the texture scale and offset.\ Mode is a bitmask of animation options.\ Face specifies which object face to animate.\ SizeX and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\ Length specifies the animation duration.\ Rate specifies the animation playback rate.

Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to.

Sets the default amount when someone chooses to pay this object.\ Price is the default price shown in the textu input field. QuickButtons specifies the 4 payment values shown in the payment dialog's buttons.\ Input field and buttons may be hidden with PAY_HIDE constant, and may be set to their default values using PAY_DEFAULT.

Sets the selected parameters of the object's physics behavior.\ MaterialBits 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.

If the object is not physical, this function sets the position of the prim.\ If the script is in a child prim, Position is treated as root relative and the link-set is adjusted.\ If the prim is the root prim, the entire object is moved (up to 10m) to Position in region coordinates.

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.

If the object is not physical, this function sets the rotation of the prim.\ If the script is in a child prim, Rotation is treated as root relative and the link-set is adjusted.\ If the prim is the root prim, the entire object is rotated to Rotation in the global reference frame.

Sets whether successive calls to llPlaySound, llLoopSound, etc., (attached sounds) interrupt the currently playing sound.\ The 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.

Sets object status specified in Status bitmask (e.g. STATUS_PHYSICS|STATUS_PHANTOM) to boolean Value.\ For a full list of STATUS_* constants, see wiki documentation.

Animates a texture by setting the texture scale and offset.\ Mode is a bitmask of animation options.\ Face specifies which object face to animate.\ SizeX and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\ Length specifies the animation duration.\ Rate specifies the animation playback rate.

Sets the Torque acting on the script's object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\ Only works on physical objects.

Enables the vehicle flags specified in the Flags bitmask.\ Valid parameters can be found in the wiki documentation.

Sets a vehicle float parameter.\ Valid parameters can be found in the wiki documentation.

Sets a vehicle rotation parameter.\ Valid parameters can be found in the wiki documentation.

Activates the vehicle action on the object with vehicle preset Type.\ Valid Types and an explanation of their characteristics can be found in wiki documentation.

Sets a vehicle vector parameter.\ Valid parameters can be found in the wiki documentation.

No description recorded yet.

This function plays the specified animation from playing on the avatar who received the script's most recent permissions request.\ Animation may be an animation in task inventory or a built-in animation.\ Requires PERMISSION_TRIGGER_ANIMATION.

This function stops the specified animation on the avatar who received the script's most recent permissions request.\ Animation may be an animation in task inventory, a built-in animation, or the uuid of an animation.\ Requires PERMISSION_TRIGGER_ANIMATION.

Stop causing object to point at a target (due to llLookAt() or llRotLookAt()).

Stops playback of the currently attached sound.

Deprecated: Use llSetCameraParams instead.

Take controls from the agent the script has permissions for.\ If (Accept == (Controls & input)), send input to the script. PassOn determines whether Controls also perform their normal functions.\ Requires the PERMISSION_TAKE_CONTROLS permission to run.

This function is to have the script know when it has reached a position.\ It registers a Position with a Range that triggers at_target and not_at_target events continuously until unregistered.

Attempt to spin at SpinRate with strength Gain on Axis.\ A spin rate of 0.0 cancels the spin. This function always works in object-local coordinates.

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.\ Requires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.

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.\ Requires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.

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.

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.\ Attempts to send the amount of money to the specified avatar, and trigger a transaction_result event identified by the returned key.

Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object.\ There 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.

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

Starts an asychronous transaction to update the value associated with the key given. 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. If Checked is 1 the existing value in the data store must match the OriginalValue passed or XP_ERROR_RETRY_UPDATE will be returned. If Checked is 0 the key will be created if necessary.

Deprecated: Please use llXorBase64 instead.\ Incorrectly performs an exclusive OR on two Base64 strings and returns a Base64 string. Text2 repeats if it is shorter than Text1.\ Retained for backwards compatibility.

Sets the Lightshare scene for a given avatar

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

Creates a notecard with the specified avatar's current appearance inside the object

Returns the avatar's key from their first and last name

Plays a given animation on a specified avatar.; No PERMISSION_TRIGGER_ANIMATION check.

Stops playing an animation on a specified avatar

Causes health damage to the specified avatar

Increase health to the specified avatar

Checks if physics engine is legacy ODE and returns 1 ( TRUE ) it is, or 0 ( FALSE ) if not

clears the effect of osSetInertia* functions. Link set total mass, center of mass and inertia will be the values estimated by default from the link set parts.

Sends a given console command to the region.; NOTE: There are no security checks with this function. DO NOT USE THIS FUNCTION UNLESS YOU ARE ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING.

Deletes an object depending on the target uuid. Note: Only allow osDie() on objects rezzed by the script prim Group (linkset) or on it self.

Eject the specified avatar from the object's current group

Attaches the object to the avatar.; No PERMISSION_ATTACH check.

Attaches given inventory item to the avatar.; No PERMISSION_ATTACH check.

Attaches given inventory item to a specified avatar.; No PERMISSION_ATTACH check.

Identical to llBreakAllLinks() except that it doesn't require the link permission to be granted. Delinks all prims in the link set.

to llBreakLink(integer link) except that it doesn't require the link permission to be granted. Delinks the prim with the given link number in a linked object set.

Idential to llCreateLink() except that it doesn't require the link permission to be granted. Attempt to link the script's object with target.

Detaches the object from the avatar.; No PERMISSION_ATTACH check.

Drops an attachment without a PERMISSION_ATTACH check

Drops an attachment at a given position and rotation without a PERMISSION_ATTACH check

No description recorded yet.

Returns a list with the keys, position, and name of each avatar in the current region

Returns a string with one of the following values: 'male', 'female', or 'unknown'. This value is determined by the value selected for the avatar shape in the appearance dialog in the user's viewer. If that value cannot be found for any reason (avatar is not in the region, improperly formatted key, etc.), 'unknown' is returned.

Returns the current grid's GridInfo key

Returns the current grid's Gatekeeper URI as a string.

Returns the current grid's nickname

Gets the current automatic healing rate in % per second. Default heal rate is now around 0.5% per second. A value of zero can disable automatic heal, current maximum value is 100 % per second.

Return the target avatar's health

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

Returns the link number of the prim or sitting avatar with name 'name' on the link set or -1 if the name is not found.

Returns prim params for the prim specified by link_num

No description recorded yet.

No description recorded yet.

Returns the map texture key for the current region

Returns a strided list of the specified attachment points and the number of attachments on those points

No description recorded yet.

No description recorded yet.

No description recorded yet.

Returns the parameters of a primitive, specified by its key

No description recorded yet.

Returns the map texture key for a specified region

Returns the key of the object's parent object

Returns the memory in use in KB by the current region

No description recorded yet.

Invited the specified avatar to the object's current group

Returns 1 if TRUE, 0 if FALSE

Returns the avatar's name from their key

Kicks specified avatar out of the current region

Creates a notecard with contents of list

Sends a given message to the specified avatar's attachments on the given attachment points

Sends a specified message to an object