diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index c5c4ab3970..e12d37ae2c 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -864,11 +864,24 @@ namespace OpenSim.Framework
private static byte[] ComputeSHA1Hash(byte[] src)
{
byte[] ret;
- using(SHA1CryptoServiceProvider SHA1 = new SHA1CryptoServiceProvider())
- ret = SHA1.ComputeHash(src);
+ using (SHA1CryptoServiceProvider SHA1 = new SHA1CryptoServiceProvider())
+ ret = SHA1.ComputeHash(src);
return ret;
}
+ public static UUID ComputeSHA1UUID(string src)
+ {
+ return ComputeSHA1UUID(Encoding.Default.GetBytes(src));
+ }
+
+ public static UUID ComputeSHA1UUID(byte[] src)
+ {
+ byte[] ret;
+ using (SHA1CryptoServiceProvider SHA1 = new SHA1CryptoServiceProvider())
+ ret = SHA1.ComputeHash(src);
+ return new UUID(ret, 2);
+ }
+
public static int fast_distance2d(int x, int y)
{
x = Math.Abs(x);
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
index a6a4b1c612..1c4b538664 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs
@@ -77,16 +77,17 @@ namespace OpenSim.Region.ClientStack.Linden
private string m_GridName = string.Empty;
private string m_GridURL = string.Empty;
+ private bool m_doScriptSyntax;
+ static private object m_scriptSyntaxLock = new object();
static private UUID m_scriptSyntaxID = UUID.Zero;
static private string m_scriptSyntaxXML;
- private bool m_doScriptSyntax;
#region ISharedRegionModule Members
public void Initialise(IConfigSource source)
{
IConfig config = source.Configs["SimulatorFeatures"];
- m_doScriptSyntax = false;
+ m_doScriptSyntax = true;
if (config != null)
{
//
@@ -330,40 +331,41 @@ namespace OpenSim.Region.ClientStack.Linden
private void ReadScriptSyntax()
{
- if(!m_doScriptSyntax || m_scriptSyntaxID != UUID.Zero)
- return;
-
- if(!File.Exists("ScriptSyntax.xml"))
- return;
-
- try
+ lock(m_scriptSyntaxLock)
{
- using (StreamReader sr = File.OpenText("ScriptSyntax.xml"))
+ if(!m_doScriptSyntax || m_scriptSyntaxID != UUID.Zero)
+ return;
+
+ if(!File.Exists("ScriptSyntax.xml"))
+ return;
+
+ try
{
- string version = sr.ReadLine();
- if(string.IsNullOrEmpty(version))
- return;
- if(!UUID.TryParse(version, out m_scriptSyntaxID))
- return;
-
- StringBuilder sb = new StringBuilder(400*1024);
- string s="";
- char[] trimc = new char[] {' ','\t', '\n', '\r'};
- while((s = sr.ReadLine()) != null)
+ using (StreamReader sr = File.OpenText("ScriptSyntax.xml"))
{
- s = s.Trim(trimc);
- if(String.IsNullOrEmpty(s) || s.StartsWith("<--"))
- continue;
- sb.Append(s);
+ StringBuilder sb = new StringBuilder(400*1024);
+ sb.Append("
+
+
+ tooltip
+ This event is triggered when a script comes within a defined angle of a target rotation. The range and rotation, are set by a call to llRotTarget.
+
+ at_target
+
+ arguments
+
+
+ TargetNumber
+
+ type
+ integer
+ tooltip
+
+
+
+
+ TargetPosition
+
+ type
+ vector
+ tooltip
+
+
+
+
+ CurrentPosition
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ This event is triggered when the scripted object comes within a defined range of the target position, defined by the llTarget function call.
+
+ attach
+
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ This event is triggered whenever an object is attached or detached from an avatar. If it is attached, the key of the avatar it is attached to is passed in, otherwise NULL_KEY is.
+
+ changed
+
+ arguments
+
+
+ Changed
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants.
+
+ collision
+
+ arguments
+
+
+ NumberOfCollisions
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ This event is raised while another object, or avatar, is colliding with the object the script is attached to.
+ The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* functions.
+
+
+ collision_end
+
+ arguments
+
+
+ NumberOfCollisions
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ This event is raised when another object, or avatar, stops colliding with the object the script is attached to.
+ The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* library functions.
+
+
+ collision_start
+
+ arguments
+
+
+ NumberOfCollisions
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ This event is raised when another object, or avatar, starts colliding with the object the script is attached to.
+ The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* library functions.
+
+
+ control
+
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Levels
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Edges
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ Once a script has the ability to grab control inputs from the avatar, this event will be used to pass the commands into the script.
+ The levels and edges are bit-fields of control constants.
+
+
+ dataserver
+
+ arguments
+
+
+ RequestID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Data
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+
+ This event is triggered when the requested data is returned to the script.
+ Data may be requested by the llRequestAgentData, llRequestInventoryData, and llGetNotecardLine function calls, for example.
+
+
+ email
+
+ arguments
+
+
+ Time
+
+ type
+ string
+ tooltip
+
+
+
+
+ Address
+
+ type
+ string
+ tooltip
+
+
+
+
+ Subject
+
+ type
+ string
+ tooltip
+
+
+
+
+ Body
+
+ type
+ string
+ tooltip
+
+
+
+
+ NumberRemaining
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ This event is triggered when an email sent to this script arrives.
+ The number remaining tells how many more emails are known to be still pending.
+
+
+ http_request
+
+ arguments
+
+
+ HTTPRequestID
+
+ type
+ key
+ tooltip
+
+
+
+
+ HTTPMethod
+
+ type
+ string
+ tooltip
+
+
+
+
+ Body
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Triggered when task receives an HTTP request.
+
+ http_response
+
+ arguments
+
+
+ HTTPRequestID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Status
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Metadata
+
+ type
+ list
+ tooltip
+
+
+
+
+ Body
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ This event handler is invoked when an HTTP response is received for a pending llHTTPRequest request or if a pending request fails or times out.
+
+ land_collision
+
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ This event is raised when the object the script is attached to is colliding with the ground.
+
+ land_collision_end
+
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ This event is raised when the object the script is attached to stops colliding with the ground.
+
+ land_collision_start
+
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ This event is raised when the object the script is attached to begins to collide with the ground.
+
+ link_message
+
+ arguments
+
+
+ SendersLink
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Value
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ ID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Triggered when object receives a link message via llMessageLinked function call.
+
+ listen
+
+ arguments
+
+
+ Channel
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Name
+
+ type
+ string
+ tooltip
+
+
+
+
+ ID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+
+ This event is raised whenever a chat message matching the constraints set in the llListen command is received. The name and ID of the speaker, as well as the message, are passed in as parameters.
+ Channel 0 is the public chat channel that all avatars see as chat text. Channels 1 through 2,147,483,648 are private channels that are not sent to avatars but other scripts can listen on those channels.
+
+
+ money
+
+ arguments
+
+
+ Payer
+
+ type
+ key
+ tooltip
+
+
+
+
+ Amount
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ This event is triggered when a resident has given an amount of Linden dollars to the object.
+
+ moving_end
+
+ arguments
+
+ tooltip
+ Triggered whenever an object with this script stops moving.
+
+ moving_start
+
+ arguments
+
+ tooltip
+ Triggered whenever an object with this script starts moving.
+
+ no_sensor
+
+ arguments
+
+ tooltip
+ This event is raised when sensors are active, via the llSensor function call, but are not sensing anything.
+
+ not_at_rot_target
+
+ arguments
+
+ tooltip
+ When a target is set via the llRotTarget function call, but the script is outside the specified angle this event is raised.
+
+ not_at_target
+
+ arguments
+
+ tooltip
+ When a target is set via the llTarget library call, but the script is outside the specified range this event is raised.
+
+ object_rez
+
+ arguments
+
+
+ RezzedObjectsID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Triggered when an object rezzes another object from its inventory via the llRezObject, or similar, functions. The id is the globally unique key for the object rezzed.
+
+ on_rez
+
+ arguments
+
+
+ StartParameter
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Triggered whenever an object is rezzed from inventory or by another object. The start parameter is passed in from the llRezObject call, or zero if from inventory.
+
+ remote_data
+
+ arguments
+
+
+ EventType
+
+ type
+ integer
+ tooltip
+
+
+
+
+ ChannelID
+
+ type
+ key
+ tooltip
+
+
+
+
+ MessageID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Sender
+
+ type
+ string
+ tooltip
+
+
+
+
+ Data
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Data
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Triggered by various XML-RPC calls with event_type specifying the type of data.
+
+ run_time_permissions
+
+ arguments
+
+
+ PermissionFlags
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ Scripts need permission from either the owner or the avatar they wish to act on before they may perform certain functions, such as debiting money from their owners account, triggering an animation on an avatar, or capturing control inputs. The llRequestPermissions library function is used to request these permissions and the various permissions integer constants can be supplied.
+ The integer returned to this event handler contains the current set of permissions flags, so if permissions equal 0 then no permissions are set.
+
+
+ sensor
+
+ arguments
+
+
+ NumberDetected
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ This event is raised whenever objects matching the constraints of the llSensor command are detected.
+ The number of detected objects is passed to the script in the parameter. Information on those objects may be gathered via the llDetected* functions.
+
+
+ state_entry
+
+ arguments
+
+ tooltip
+ The state_entry event occurs whenever a new state is entered, including at program start, and is always the first event handled.
+
+ state_exit
+
+ arguments
+
+ tooltip
+ The state_exit event occurs whenever the state command is used to transition to another state. It is handled before the new states state_entry event.
+
+ timer
+
+ arguments
+
+ tooltip
+ This event is raised at regular intervals set by the llSetTimerEvent library function.
+
+ touch
+
+ arguments
+
+
+ NumberOfTouches
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ This event is raised while a user is touching the object the script is attached to.
+ The number of touching objects is passed to the script in the parameter.
+ Information on those objects may be gathered via the llDetected* library functions.
+
+
+ touch_end
+
+ arguments
+
+
+ NumberOfTouches
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ This event is raised when a user stops touching the object the script is attached to. The number of touches is passed to the script in the parameter.
+ Information on those objects may be gathered via the llDetected* library functions.
+
+
+ touch_start
+
+ arguments
+
+
+ NumberOfTouches
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ This event is raised when a user first touches the object the script is attached to. The number of touches is passed to the script in the parameter.
+ Information on those objects may be gathered via the llDetected() library functions.
+
+
+ transaction_result
+
+ arguments
+
+
+ RequestID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Success
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Message
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Triggered by llTransferMoney() function.
+
+
+
+functions
+
+ llAbs
+
+ return
+ integer
+ arguments
+
+
+ Value
+
+ type
+ integer
+ tooltip
+ An integer value.
+
+
+
+ tooltip
+ Returns the absolute (positive) version of Value.
+
+ llAcos
+
+ return
+ float
+ arguments
+
+
+ Value
+
+ type
+ float
+ tooltip
+ A floating-point value.
+
+
+
+ tooltip
+ Returns the arc-cosine of Value, in radians.
+
+ llAddToLandBanList
+
+ return
+ void
+ arguments
+
+
+ ID
+
+ type
+ key
+ tooltip
+ Agent UUID to add to ban-list.
+
+
+
+ Hours
+
+ type
+ float
+ tooltip
+ Period, in hours, to ban the avatar for.
+
+
+
+ tooltip
+ Add avatar ID to the parcel ban list for the specified number of Hours.\nA value of 0 for Hours will add the agent indefinitely.\nThe smallest value that Hours will accept is 0.01; anything smaller will be seen as 0.\nWhen values that small are used, it seems the function bans in approximately 30 second increments (Probably 36 second increments, as 0.01 of an hour is 36 seconds).\nResidents teleporting to a parcel where they are banned will be redirected to a neighbouring parcel.
+
+ llAddToLandPassList
+
+ sleep
+ 0.1
+ return
+ void
+ arguments
+
+
+ ID
+
+ type
+ key
+ tooltip
+ Agent UUID to add to pass-list.
+
+
+
+ Hours
+
+ type
+ float
+ tooltip
+ Period, in hours, to allow the avatar for.
+
+
+
+ tooltip
+ Add avatar ID to the land pass list, for a duration of Hours.
+
+ llAdjustSoundVolume
+
+ sleep
+ 0.1
+ return
+ void
+ arguments
+
+
+ Volume
+
+ type
+ float
+ tooltip
+ The volume to set.
+
+
+
+ tooltip
+ Adjusts the volume (0.0 - 1.0) of the currently playing attached sound.\nThis function has no effect on sounds started with llTriggerSound.
+
+ llAllowInventoryDrop
+
+
+ return
+ void
+ arguments
+
+
+ Flag
+
+ type
+ integer
+ tooltip
+ Boolean, If TRUE allows anyone to drop inventory on prim, FALSE revokes.
+
+
+
+ tooltip
+ If Flag == TRUE, users without object modify permissions can still drop inventory items into the object.
+
+ llAngleBetween
+
+ return
+ float
+ arguments
+
+
+ Rot1
+
+ type
+ rotation
+ tooltip
+ First rotation.
+
+
+
+ Rot2
+
+ type
+ rotation
+ tooltip
+ Second rotation.
+
+
+
+ tooltip
+ Returns the angle, in radians, between rotations Rot1 and Rot2.
+
+ llApplyImpulse
+
+ return
+ void
+ arguments
+
+
+ Force
+
+ type
+ vector
+ tooltip
+ Amount of impulse force to apply.
+
+
+
+ Local
+
+ type
+ integer
+ tooltip
+ Boolean, if TRUE, force is treated as a local directional vector instead of region directional vector.
+
+
+
+ tooltip
+ Applies impulse to the object.\nIf Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\nThis function only works on physical objects.
+
+ llApplyRotationalImpulse
+
+ return
+ void
+ arguments
+
+
+ Force
+
+ type
+ vector
+ tooltip
+ Amount of impulse force to apply.
+
+
+
+ Local
+
+ type
+ integer
+ tooltip
+ Boolean, if TRUE, uses local axis, if FALSE, uses region axis.
+
+
+
+ tooltip
+ Applies rotational impulse to the object.\nIf Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\nThis function only works on physical objects.
+
+ llAsin
+
+ return
+ float
+ arguments
+
+
+ Value
+
+ type
+ float
+ tooltip
+ A floating-point value.
+
+
+
+ tooltip
+ Returns the arc-sine, in radians, of Value.
+
+ llAtan2
+
+
+ return
+ float
+ arguments
+
+
+ y
+
+ type
+ float
+ tooltip
+ A floating-point value.
+
+
+
+ x
+
+ type
+ float
+ tooltip
+ A floating-point value.
+
+
+
+ tooltip
+ Returns the arc-tangent2 of y, x.
+
+ llAttachToAvatar
+
+ return
+ void
+ arguments
+
+
+ AttachmentPoint
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Attach to avatar at point AttachmentPoint.\nRequires the PERMISSION_ATTACH runtime permission.
+
+ llAttachToAvatarTemp
+
+ return
+ void
+ arguments
+
+
+ AttachPoint
+
+ type
+ integer
+ tooltip
+ Valid attachment point or ATTACH_* constant.
+
+
+
+ tooltip
+ Follows the same convention as llAttachToAvatar, with the exception that the object will not create new inventory for the user, and will disappear on detach or disconnect.
+
+ llAvatarOnLinkSitTarget
+
+ return
+ key
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.
+
+
+
+ tooltip
+ If an avatar is sitting on the link's sit target, return the avatar's key, NULL_KEY otherwise.\nReturns a key that is the UUID of the user seated on the specified link's prim.
+
+ llAvatarOnSitTarget
+
+ return
+ key
+ arguments
+
+ tooltip
+ If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY.\nThis only will detect avatars sitting on sit targets defined with llSitTarget.
+
+ llAxes2Rot
+
+ return
+ rotation
+ arguments
+
+
+ Forward
+
+ type
+ vector
+ tooltip
+ Forward/Back part of rotation.
+
+
+
+ Left
+
+ type
+ vector
+ tooltip
+ Left/Right part of rotation.
+
+
+
+ Up
+
+ type
+ vector
+ tooltip
+ Up/Down part of rotation.
+
+
+
+ tooltip
+ Returns the rotation represented by coordinate axes Forward, Left, and Up.
+
+ llAxisAngle2Rot
+
+ return
+ rotation
+ arguments
+
+
+ Axis
+
+ type
+ vector
+ tooltip
+ Axis.
+
+
+
+ Angle
+
+ type
+ float
+ tooltip
+ Angle in radians.
+
+
+
+ tooltip
+ Returns the rotation that is a generated Angle about Axis.
+
+ llBase64ToInteger
+
+ return
+ integer
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns an integer that is the Text, Base64 decoded as a big endian integer.\nReturns zero if Text is longer then 8 characters. If Text contains fewer then 6 characters, the return value is unpredictable.
+
+ llBase64ToString
+
+
+ return
+ string
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Converts a Base64 string to a conventional string.\nIf the conversion creates any unprintable characters, they are converted to question marks.
+
+ llBreakAllLinks
+
+ return
+ void
+ arguments
+
+ tooltip
+ De-links all prims in the link set (requires permission PERMISSION_CHANGE_LINKS be set).
+
+ llBreakLink
+
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ De-links the prim with the given link number (requires permission PERMISSION_CHANGE_LINKS be set).
+
+ llCastRay
+
+ return
+ list
+ arguments
+
+
+ Start
+
+ type
+ vector
+ tooltip
+
+
+
+
+ End
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Options
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Casts a ray into the physics world from 'start' to 'end' and returns data according to details in Options.\nReports collision data for intersections with objects.\nReturn value: [UUID_1, {link_number_1}, hit_position_1, {hit_normal_1}, UUID_2, {link_number_2}, hit_position_2, {hit_normal_2}, ... , status_code] where {} indicates optional data.
+
+ llCeil
+
+ return
+ integer
+ arguments
+
+
+ Value
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns smallest integer value >= Value.
+
+ llClearCameraParams
+
+
+ return
+ void
+ arguments
+
+ tooltip
+ Resets all camera parameters to default values and turns off scripted camera control.
+
+ llClearLinkMedia
+
+ return
+ integer
+ arguments
+
+
+ Link
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Clears (deletes) the media and all parameters from the given Face on the linked prim.\nReturns an integer that is a STATUS_* flag, which details the success/failure of the operation.
+
+ llClearPrimMedia
+
+ sleep
+ 0.1
+ return
+ integer
+ arguments
+
+
+ Face
+
+ type
+ integer
+ tooltip
+ Number of side to clear.
+
+
+
+ tooltip
+ Clears (deletes) the media and all parameters from the given Face.\nReturns an integer that is a STATUS_* flag which details the success/failure of the operation.
+
+ llCloseRemoteDataChannel
+
+ sleep
+ 1.0
+ return
+ void
+ arguments
+
+
+ ChannelID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Closes the specified XML-RPC channel.
+
+ llCloud
+
+ return
+ float
+ arguments
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the cloud density at the object's position + Offset.
+
+ llCollisionFilter
+
+ return
+ void
+ arguments
+
+
+ ObjectName
+
+ type
+ string
+ tooltip
+
+
+
+
+ ObjectID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Accept
+
+ type
+ integer
+ tooltip
+ If TRUE, only accept collisions with ObjectName name AND ObjectID (either is optional), otherwise with objects not ObjectName AND ObjectID.
+
+
+
+ tooltip
+ Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter.
+
+ llCollisionSound
+
+ return
+ void
+ arguments
+
+
+ ImpactSound
+
+ type
+ string
+ tooltip
+
+
+
+
+ ImpactVolume
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Suppress default collision sounds, replace default impact sounds with ImpactSound.\nThe ImpactSound must be in the object inventory.\nSupply an empty string to suppress collision sounds.
+
+ llCollisionSprite
+
+ return
+ void
+ arguments
+
+
+ ImpactSprite
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Suppress default collision sprites, replace default impact sprite with ImpactSprite; found in the object inventory (empty string to just suppress).
+
+ llCos
+
+
+ return
+ float
+ arguments
+
+
+ Theta
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns the cosine of Theta (Theta in radians).
+
+ llCreateLink
+
+ sleep
+ 1.0
+ return
+ void
+ arguments
+
+
+ TargetPrim
+
+ type
+ key
+ tooltip
+ Object UUID that is in the same region.
+
+
+
+ Parent
+
+ type
+ integer
+ tooltip
+ If FALSE, then TargetPrim becomes the root. If TRUE, then the script's object becomes the root.
+
+
+
+ tooltip
+ Attempt to link the object the script is in, to target (requires permission PERMISSION_CHANGE_LINKS be set).\nRequires permission PERMISSION_CHANGE_LINKS be set.
+
+ llCSV2List
+
+ return
+ list
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Create a list from a string of comma separated values specified in Text.
+
+ llDeleteSubList
+
+
+ return
+ list
+ arguments
+
+
+ Source
+
+ type
+ list
+ tooltip
+
+
+
+
+ Start
+
+ type
+ integer
+ tooltip
+
+
+
+
+ End
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Removes the slice from start to end and returns the remainder of the list.\nRemove a slice from the list and return the remainder, start and end are inclusive.\nUsing negative numbers for start and/or end causes the index to count backwards from the length of the list, so 0, -1 would delete the entire list.\nIf Start is larger than End the list deleted is the exclusion of the entries; so 6, 4 would delete the entire list except for the 5th. list entry.
+
+ llDeleteSubString
+
+ return
+ string
+ arguments
+
+
+ Source
+
+ type
+ string
+ tooltip
+
+
+
+
+ Start
+
+ type
+ integer
+ tooltip
+
+
+
+
+ End
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Removes the indicated sub-string and returns the result.\nStart and End are inclusive.\nUsing negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would delete the entire string.\nIf Start is larger than End, the sub-string is the exclusion of the entries; so 6, 4 would delete the entire string except for the 5th. character.
+
+ llDetachFromAvatar
+
+ return
+ void
+ arguments
+
+ tooltip
+ Remove the object containing the script from the avatar.
+
+ llDetectedGrab
+
+ return
+ vector
+ arguments
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the grab offset of a user touching the object.\nReturns <0.0, 0.0, 0.0> if Number is not a valid object.
+
+ llDetectedGroup
+
+ return
+ integer
+ arguments
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns TRUE if detected object or agent Number has the same user group active as this object.\nIt will return FALSE if the object or agent is in the group, but the group is not active.
+
+ llDetectedKey
+
+ return
+ key
+ arguments
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the key of detected object or avatar number.\nReturns NULL_KEY if Number is not a valid index.
+
+ llDetectedLinkNumber
+
+ return
+ integer
+ arguments
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the link position of the triggered event for touches and collisions only.\n0 for a non-linked object, 1 for the root of a linked object, 2 for the first child, etc.
+
+ llDetectedName
+
+ return
+ string
+ arguments
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the name of detected object or avatar number.\nReturns the name of detected object number.\nReturns empty string if Number is not a valid index.
+
+ llDetectedOwner
+
+ return
+ key
+ arguments
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the key of detected object's owner.\nReturns invalid key if Number is not a valid index.
+
+ llDetectedPos
+
+ return
+ vector
+ arguments
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the position of detected object or avatar number.\nReturns <0.0, 0.0, 0.0> if Number is not a valid index.
+
+ llDetectedRot
+
+ return
+ rotation
+ arguments
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the rotation of detected object or avatar number.\nReturns <0.0, 0.0, 0.0, 1.0> if Number is not a valid offset.
+
+ llDetectedTouchBinormal
+
+ return
+ vector
+ arguments
+
+
+ Index
+
+ type
+ integer
+ tooltip
+ Index of detection information
+
+
+
+ tooltip
+ Returns the surface bi-normal for a triggered touch event.\nReturns a vector that is the surface bi-normal (tangent to the surface) where the touch event was triggered.
+
+ llDetectedTouchFace
+
+ return
+ integer
+ arguments
+
+
+ Index
+
+ type
+ integer
+ tooltip
+ Index of detection information
+
+
+
+ tooltip
+ Returns the index of the face where the avatar clicked in a triggered touch event.
+
+ llDetectedTouchNormal
+
+ return
+ vector
+ arguments
+
+
+ Index
+
+ type
+ integer
+ tooltip
+ Index of detection information
+
+
+
+ tooltip
+ Returns the surface normal for a triggered touch event.\nReturns a vector that is the surface normal (perpendicular to the surface) where the touch event was triggered.
+
+ llDetectedTouchPos
+
+ return
+ vector
+ arguments
+
+
+ Index
+
+ type
+ integer
+ tooltip
+ Index of detected information
+
+
+
+ tooltip
+ Returns the position, in region coordinates, where the object was touched in a triggered touch event.\nUnless it is a HUD, in which case it returns the position relative to the attach point.
+
+ llDetectedTouchST
+
+ return
+ vector
+ arguments
+
+
+ Index
+
+ type
+ integer
+ tooltip
+ Index of detection information
+
+
+
+ tooltip
+ Returns a vector that is the surface coordinates where the prim was touched.\nThe X and Y vector positions contain the horizontal (S) and vertical (T) face coordinates respectively.\nEach component is in the interval [0.0, 1.0].\nTOUCH_INVALID_TEXCOORD is returned if the surface coordinates cannot be determined (e.g. when the viewer does not support this function).
+
+ llDetectedTouchUV
+
+ return
+ vector
+ arguments
+
+
+ Index
+
+ type
+ integer
+ tooltip
+ Index of detection information
+
+
+
+ tooltip
+ Returns a vector that is the texture coordinates for where the prim was touched.\nThe X and Y vector positions contain the U and V face coordinates respectively.\nTOUCH_INVALID_TEXCOORD is returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function).
+
+ llDetectedType
+
+ return
+ integer
+ arguments
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object.\nReturns 0 if number is not a valid index.\nNote that number is a bit-field, so comparisons need to be a bitwise checked. e.g.:\ninteger iType = llDetectedType(0);\n{\n // ...do stuff with the agent\n}
+
+ llDetectedVel
+
+ return
+ vector
+ arguments
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the velocity of the detected object Number.\nReturns<0.0, 0.0, 0.0> if Number is not a valid offset.
+
+ llDialog
+
+ sleep
+ 0.1
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ Buttons
+
+ type
+ list
+ tooltip
+
+
+
+
+ Channel
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+
+ Shows a dialog box on the avatar's screen with the message.\n
+ Up to 12 strings in the list form buttons.\n
+ If a button is clicked, the name is chatted on Channel.\nOpens a "notify box" in the given avatars screen displaying the message.\n
+ Up to twelve buttons can be specified in a list of strings. When the user clicks a button, the name of the button is said on the specified channel.\n
+ Channels work just like llSay(), so channel 0 can be heard by everyone.\n
+ The chat originates at the object's position, not the avatar's position, even though it is said as the avatar (uses avatar's UUID and Name etc.).\n
+ Examples:\n
+ llDialog(who, "Are you a boy or a girl?", [ "Boy", "Girl" ], -4913);\n
+ llDialog(who, "This shows only an OK button.", [], -192);\n
+ llDialog(who, "This chats so you can 'hear' it.", ["Hooray"], 0);
+
+
+ llDie
+
+ return
+ void
+ arguments
+
+ tooltip
+ Delete the object which holds the script.
+
+ llDumpList2String
+
+ return
+ string
+ arguments
+
+
+ Source
+
+ type
+ list
+ tooltip
+
+
+
+
+ Separator
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns the list as a single string, using Separator between the entries.\nWrite the list out as a single string, using Separator between values.
+
+ llEdgeOfWorld
+
+ return
+ integer
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Direction
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).\nReturns TRUE if the line along Direction from Position hits the edge of the world in the current simulator, returns FALSE if that edge crosses into another simulator.
+
+ llEjectFromLand
+
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Ejects AvatarID from land that you own.\nEjects AvatarID from land that the object owner (group or resident) owns.
+
+ llEmail
+
+ sleep
+ 20.0
+ return
+ void
+ arguments
+
+
+ Address
+
+ type
+ string
+ tooltip
+
+
+
+
+ Subject
+
+ type
+ string
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Sends email to Address with Subject and Message.\nSends an email to Address with Subject and Message.
+
+ llEscapeURL
+
+ return
+ string
+ arguments
+
+
+ URL
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+
+ Returns an escaped/encoded version of url, replacing spaces with %20 etc.\nReturns the string that is the URL-escaped version of URL (replacing spaces with %20, etc.).\n
+ This function returns the UTF-8 encoded escape codes for selected characters.
+
+
+ llEuler2Rot
+
+ return
+ rotation
+ arguments
+
+
+ Vector
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the rotation representation of the Euler angles.\nReturns the rotation represented by the Euler Angle.
+
+ llFabs
+
+
+ return
+ float
+ arguments
+
+
+ Value
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns the positive version of Value.\nReturns the absolute value of Value.
+
+ llFloor
+
+ return
+ integer
+ arguments
+
+
+ Value
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns largest integer value <= Value.
+
+ llForceMouselook
+
+ return
+ void
+ arguments
+
+
+ Enable
+
+ type
+ integer
+ tooltip
+ Boolean, if TRUE when an avatar sits on the prim, the avatar will be forced into mouse-look mode.\nFALSE is the default setting and will undo a previously set TRUE or do nothing.
+
+
+
+ tooltip
+ If Enable is TRUE any avatar that sits on this object is forced into mouse-look mode.\nAfter calling this function with Enable set to TRUE, any agent sitting down on the prim will be forced into mouse-look.\nJust like llSitTarget, this changes a permanent property of the prim (not the object) and needs to be reset by calling this function with Enable set to FALSE in order to disable it.
+
+ llFrand
+
+
+ return
+ float
+ arguments
+
+
+ Magnitude
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns a pseudo random number in the range [0, Magnitude] or [Magnitude, 0].\nReturns a pseudo-random number between [0, Magnitude].
+
+ llGenerateKey
+
+ return
+ key
+ arguments
+
+ tooltip
+ Generates a key (SHA-1 hash) using UUID generation to create a unique key.\nAs the UUID produced is versioned, it should never return a value of NULL_KEY.\nThe specific UUID version is an implementation detail that has changed in the past and may change again in the future. Do not depend upon the UUID that is returned to be version 5 SHA-1 hash.
+
+ llGetAccel
+
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the acceleration of the object relative to the region's axes.\nGets the acceleration of the object.
+
+ llGetAgentInfo
+
+ return
+ integer
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+
+ Returns an integer bit-field containing the agent information about id.\n
+ Returns AGENT_FLYING, AGENT_ATTACHMENTS, AGENT_SCRIPTED, AGENT_SITTING, AGENT_ON_OBJECT, AGENT_MOUSELOOK, AGENT_AWAY, AGENT_BUSY, AGENT_TYPING, AGENT_CROUCHING, AGENT_ALWAYS_RUN, AGENT_WALKING and/or AGENT_IN_AIR.\nReturns information about the given agent ID as a bit-field of agent info constants.
+
+
+ llGetAgentLanguage
+
+
+ return
+ string
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Returns the language code of the preferred interface language of the avatar.\nReturns a string that is the language code of the preferred interface language of the resident.
+
+ llGetAgentList
+
+ return
+ list
+ arguments
+
+
+ Scope
+
+ type
+ integer
+ tooltip
+ The scope (region, parcel, parcel same owner) to return agents for.
+
+
+
+ Options
+
+ type
+ list
+ tooltip
+ List of options to apply. Current unused.
+
+
+
+ tooltip
+ Requests a list of agents currently in the region, limited by the scope parameter.\nReturns a list [key UUID-0, key UUID-1, ..., key UUID-n] or [string error_msg] - returns avatar keys for all agents in the region limited to the area(s) specified by scope
+
+ llGetAgentSize
+
+ return
+ vector
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ If the avatar is in the same region, returns the size of the bounding box of the requested avatar by id, otherwise returns ZERO_VECTOR.\nIf the agent is in the same region as the object, returns the size of the avatar.
+
+ llGetAlpha
+
+ return
+ float
+ arguments
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the alpha value of Face.\nReturns the 'alpha' of the given face. If face is ALL_SIDES the value returned is the mean average of all faces.
+
+ llGetAndResetTime
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns the script time in seconds and then resets the script timer to zero.\nGets the time in seconds since starting and resets the time to zero.
+
+ llGetAnimation
+
+ return
+ string
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Returns the name of the currently playing locomotion animation for the avatar id.\nReturns the currently playing animation for the specified avatar ID.
+
+ llGetAnimationList
+
+ return
+ list
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Returns a list of keys of playing animations for an avatar.\nReturns a list of keys of all playing animations for the specified avatar ID.
+
+ llGetAnimationOverride
+
+ return
+ string
+ arguments
+
+
+ AnimationState
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns a string that is the name of the animation that is used for the specified animation state\nTo use this function the script must obtain either the PERMISSION_OVERRIDE_ANIMATIONS or PERMISSION_TRIGGER_ANIMATION permission (automatically granted to attached objects).
+
+ llGetAttached
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the object's attachment point, or 0 if not attached.
+
+ llGetAttachedList
+
+ return
+ list
+ arguments
+
+
+ ID
+
+ type
+ key
+ tooltip
+ Avatar to get attachments
+
+
+
+ tooltip
+ Returns a list of keys of all visible (not HUD) attachments on the avatar identified by the ID argument
+
+ llGetBoundingBox
+
+ return
+ list
+ arguments
+
+
+ ID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Returns the bounding box around the object (including any linked prims) relative to its root prim, as a list in the format [ (vector) min_corner, (vector) max_corner ].
+
+ llGetCameraPos
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the current camera position for the agent the task has permissions for.\nReturns the position of the camera, of the user that granted the script PERMISSION_TRACK_CAMERA. If no user has granted the permission, it returns ZERO_VECTOR.
+
+ llGetCameraRot
+
+ return
+ rotation
+ arguments
+
+ tooltip
+ Returns the current camera orientation for the agent the task has permissions for. If no user has granted the PERMISSION_TRACK_CAMERA permission, returns ZERO_ROTATION.
+
+ llGetCenterOfMass
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass).
+
+ llGetColor
+
+ return
+ vector
+ arguments
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the color on Face.\nReturns the color of Face as a vector of red, green, and blue values between 0 and 1. If face is ALL_SIDES the color returned is the mean average of each channel.
+
+ llGetCreator
+
+ return
+ key
+ arguments
+
+ tooltip
+ Returns a key for the creator of the prim.\nReturns the key of the object's original creator. Similar to llGetOwner.
+
+ llGetDate
+
+
+ return
+ string
+ arguments
+
+ tooltip
+ Returns the current date in the UTC time zone in the format YYYY-MM-DD.\nReturns the current UTC date as YYYY-MM-DD.
+
+ llGetDisplayName
+
+ return
+ string
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+ Avatar UUID that is in the same region, or is otherwise known to the region.
+
+
+
+ tooltip
+ Returns the display name of an avatar, if the avatar is connected to the current region, or if the name has been cached. Otherwise, returns an empty string. Use llRequestDisplayName if the avatar may be absent from the region.
+
+ llGetEnergy
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns how much energy is in the object as a percentage of maximum.
+
+ llGetEnv
+
+ return
+ string
+ arguments
+
+
+ DataRequest
+
+ type
+ string
+ tooltip
+ The type of data to request. Any other string will cause an empty string to be returned.
+
+
+
+ tooltip
+ Returns a string with the requested data about the region.
+
+ llGetForce
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the force (if the script is physical).\nReturns the current force if the script is physical.
+
+ llGetFreeMemory
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the number of free bytes of memory the script can use.\nReturns the available free space for the current script. This is inaccurate with LSO.
+
+ llGetFreeURLs
+
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the number of available URLs for the current script.\nReturns an integer that is the number of available URLs.
+
+ llGetGeometricCenter
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the vector that is the geometric center of the object relative to the root prim.
+
+ llGetGMTclock
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns the time in seconds since midnight GMT.\nGets the time in seconds since midnight in GMT/UTC.
+
+ llGetHTTPHeader
+
+ return
+ string
+ arguments
+
+
+ HTTPRequestID
+
+ type
+ key
+ tooltip
+ A valid HTTP request key
+
+
+
+ Header
+
+ type
+ string
+ tooltip
+ Header value name
+
+
+
+ tooltip
+ Returns the value for header for request_id.\nReturns a string that is the value of the Header for HTTPRequestID.
+
+ llGetInventoryCreator
+
+ return
+ key
+ arguments
+
+
+ InventoryItem
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns a key for the creator of the inventory item.\nThis function returns the UUID of the creator of item. If item is not found in inventory, the object says "No item named 'name'".
+
+ llGetInventoryKey
+
+ return
+ key
+ arguments
+
+
+ InventoryItem
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns the key that is the UUID of the inventory named.\nReturns the key of the inventory named.
+
+ llGetInventoryName
+
+ return
+ string
+ arguments
+
+
+ InventoryType
+
+ type
+ integer
+ tooltip
+ Inventory item type
+
+
+
+ Index
+
+ type
+ integer
+ tooltip
+ Index number of inventory item.
+
+
+
+ tooltip
+ Returns the name of the inventory item of a given type, specified by index number.\nUse the inventory constants INVENTORY_* to specify the type.
+
+ llGetInventoryNumber
+
+ return
+ integer
+ arguments
+
+
+ InventoryType
+
+ type
+ integer
+ tooltip
+ Inventory item type
+
+
+
+ tooltip
+ Returns the quantity of items of a given type (INVENTORY_* flag) in the prim's inventory.\nUse the inventory constants INVENTORY_* to specify the type.
+
+ llGetInventoryPermMask
+
+ return
+ integer
+ arguments
+
+
+ InventoryItem
+
+ type
+ string
+ tooltip
+ Inventory item name.
+
+
+
+ BitMask
+
+ type
+ integer
+ tooltip
+ MASK_BASE, MASK_OWNER, MASK_GROUP, MASK_EVERYONE or MASK_NEXT
+
+
+
+ tooltip
+ Returns the requested permission mask for the inventory item.\nReturns the requested permission mask for the inventory item defined by InventoryItem. If item is not in the object's inventory, llGetInventoryPermMask returns FALSE and causes the object to say "No item named '<item>'", where "<item>" is item.
+
+ llGetInventoryType
+
+ return
+ integer
+ arguments
+
+
+ InventoryItem
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns the type of the named inventory item.\nLike all inventory functions, llGetInventoryType is case-sensitive.
+
+ llGetKey
+
+ return
+ key
+ arguments
+
+ tooltip
+ Returns the key of the prim the script is attached to.\nGet the key for the object which has this script.
+
+ llGetLandOwnerAt
+
+
+ return
+ key
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the key of the land owner, returns NULL_KEY if public.\nReturns the key of the land owner at Position, or NULL_KEY if public.
+
+ llGetLinkKey
+
+ return
+ key
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the key of the linked prim LinkNumber.\nReturns the key of LinkNumber in the link set.
+
+ llGetLinkMedia
+
+ return
+ list
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+ The prim's side number
+
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+ A list of PRIM_* property constants to return values of.
+
+
+
+ tooltip
+ Get the media parameters for a particular face on linked prim, given the desired list of parameter names. Returns a list of values in the order requested. Returns an empty list if no media exists on the face.
+
+ llGetLinkName
+
+ return
+ string
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the name of LinkNumber in a link set.\nReturns the name of LinkNumber the link set.
+
+ llGetLinkNumber
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the link number of the prim containing the script (0 means not linked, 1 the prim is the root, 2 the prim is the first child, etc.).\nReturns the link number of the prim containing the script. 0 means no link, 1 the root, 2 for first child, etc.
+
+ llGetLinkNumberOfSides
+
+ return
+ integer
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.
+
+
+
+ tooltip
+ Returns the number of sides of the specified linked prim.\nReturns an integer that is the number of faces (or sides) of the prim link.
+
+ llGetLinkPrimitiveParams
+
+ return
+ list
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.
+
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+ PRIM_* flags.
+
+
+
+ tooltip
+ Returns the list of primitive attributes requested in the Parameters list for LinkNumber.\nPRIM_* flags can be broken into three categories, face flags, prim flags, and object flags.\n* Supplying a prim or object flag will return that flags attributes.\n* Face flags require the user to also supply a face index parameter.
+
+ llGetListEntryType
+
+ return
+ integer
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Index
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the type of the index entry in the list (TYPE_INTEGER, TYPE_FLOAT, TYPE_STRING, TYPE_KEY, TYPE_VECTOR, TYPE_ROTATION, or TYPE_INVALID if index is off list).\nReturns the type of the variable at Index in ListVariable.
+
+ llGetListLength
+
+ return
+ integer
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Returns the number of elements in the list.\nReturns the number of elements in ListVariable.
+
+ llGetLocalPos
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the position relative to the root.\nReturns the local position of a child object relative to the root.
+
+ llGetLocalRot
+
+ return
+ rotation
+ arguments
+
+ tooltip
+ Returns the rotation local to the root.\nReturns the local rotation of a child object relative to the root.
+
+ llGetMass
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns the mass of object that the script is attached to.\nReturns the scripted object's mass. When called from a script in a link-set, the parent will return the sum of the link-set weights, while a child will return just its own mass. When called from a script inside an attachment, this function will return the mass of the avatar it's attached to, not its own.
+
+ llGetMassMKS
+
+ return
+ float
+ arguments
+
+ tooltip
+ Acts as llGetMass(), except that the units of the value returned are Kg.
+
+ llGetMaxScaleFactor
+
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns a float that is the largest scaling factor that can be used with llScaleByFactor to resize the object. This maximum is determined by the Linkability Rules and prim scale limits.
+
+ llGetMemoryLimit
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Get the maximum memory a script can use, in bytes.
+
+ llGetMinScaleFactor
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns a float that is the smallest scaling factor that can be used with llScaleByFactor to resize the object. This minimum is determined by the prim scale limits.
+
+ llGetNextEmail
+
+ return
+ void
+ arguments
+
+
+ Address
+
+ type
+ string
+ tooltip
+
+
+
+
+ Subject
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Fetch the next queued email with that matches the given address and/or subject, via the email event.\nIf the parameters are blank, they are not used for filtering.
+
+ llGetNotecardLine
+
+ sleep
+ 0.1
+ return
+ key
+ arguments
+
+
+ NotecardName
+
+ type
+ string
+ tooltip
+
+
+
+
+ LineNumber
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns LineNumber from NotecardName via the dataserver event. The line index starts at zero.\nIf the requested line is passed the end of the note-card the dataserver event will return the constant EOF string.\nThe key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter.
+
+ llGetNumberOfNotecardLines
+
+ sleep
+ 0.1
+ return
+ key
+ arguments
+
+
+ NotecardName
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns the number of lines contained within a notecard via the dataserver event.\nThe key returned by this function is a query ID for identifying the dataserver reply.
+
+ llGetNumberOfPrims
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the number of prims in a link set the script is attached to.\nReturns the number of prims in (and avatars seated on) the object the script is in.
+
+ llGetNumberOfSides
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the number of faces (or sides) of the prim.\nReturns the number of sides of the prim which has the script.
+
+ llGetObjectDesc
+
+
+ return
+ string
+ arguments
+
+ tooltip
+ Returns the description of the prim the script is attached to.\nReturns the description of the scripted object/prim. You can set the description using llSetObjectDesc.
+
+ llGetObjectDetails
+
+ return
+ list
+ arguments
+
+
+ ID
+
+ type
+ key
+ tooltip
+ Prim or avatar UUID that is in the same region.
+
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+ List of OBJECT_* flags.
+
+
+
+ tooltip
+ Returns a list of object details specified in the Parameters list for the object or avatar in the region with key ID.\nParameters are specified by the OBJECT_* constants.
+
+ llGetObjectMass
+
+ return
+ float
+ arguments
+
+
+ ID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Returns the mass of the avatar or object in the region.\nGets the mass of the object or avatar corresponding to ID.
+
+ llGetObjectName
+
+ return
+ string
+ arguments
+
+ tooltip
+ Returns the name of the prim which the script is attached to.\nReturns the name of the prim (not object) which contains the script.
+
+ llGetObjectPermMask
+
+ return
+ integer
+ arguments
+
+
+ Category
+
+ type
+ integer
+ tooltip
+ Category is one of MASK_BASE, MASK_OWNER, MASK_GROUP, MASK_EVERYONE, or MASK_NEXT
+
+
+
+ tooltip
+ Returns the permission mask of the requested category for the object.
+
+ llGetObjectPrimCount
+
+ return
+ integer
+ arguments
+
+
+ ObjectID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Returns the total number of prims for an object in the region.\nReturns the prim count for any object id in the same region.
+
+ llGetOmega
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the rotation velocity in radians per second.\nReturns a vector that is the rotation velocity of the object in radians per second.
+
+ llGetOwner
+
+
+ return
+ key
+ arguments
+
+ tooltip
+ Returns the object owner's UUID.\nReturns the key for the owner of the object.
+
+ llGetOwnerKey
+
+ return
+ key
+ arguments
+
+
+ ObjectID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Returns the owner of ObjectID.\nReturns the key for the owner of object ObjectID.
+
+ llGetParcelDetails
+
+ return
+ list
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+ Location within the region.
+
+
+
+ ParcelDetails
+
+ type
+ list
+ tooltip
+ List of details requested for the specified parcel location.
+
+
+
+ tooltip
+ Returns a list of parcel details specified in the ParcelDetails list for the parcel at Position.\nParameters is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA, _ID, _SEE_AVATARS.\nReturns a list that is the parcel details specified in ParcelDetails (in the same order) for the parcel at Position.
+
+ llGetParcelFlags
+
+ return
+ integer
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns a mask of the parcel flags (PARCEL_FLAG_*) for the parcel that includes the point Position.\nReturns a bit-field specifying the parcel flags (PARCEL_FLAG_*) for the parcel at Position.
+
+ llGetParcelMaxPrims
+
+ return
+ integer
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+ Region coordinates (z is ignored) of parcel.
+
+
+
+ SimWide
+
+ type
+ integer
+ tooltip
+ Boolean. If FALSE then the return is the maximum prims supported by the parcel. If TRUE then it is the combined number of prims on all parcels in the region owned by the specified parcel's owner.
+
+
+
+ tooltip
+ Returns the maximum number of prims allowed on the parcel at Position for a given scope.\nThe scope may be set to an individual parcel or the combined resources of all parcels with the same ownership in the region.
+
+ llGetParcelMusicURL
+
+ return
+ string
+ arguments
+
+ tooltip
+ Gets the streaming audio URL for the parcel object is on.\nThe object owner, avatar or group, must also be the land owner.
+
+ llGetParcelPrimCount
+
+ return
+ integer
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+ Region coordinates of parcel to query.
+
+
+
+ Category
+
+ type
+ integer
+ tooltip
+ A PARCEL_COUNT_* flag.
+
+
+
+ SimWide
+
+ type
+ integer
+ tooltip
+ Boolean. If FALSE then the return is the maximum prims supported by the parcel. If TRUE then it is the combined number of prims on all parcels in the region owned by the specified parcel's owner.
+
+
+
+ tooltip
+ Returns the number of prims on the parcel at Position of the given category.\nCategories: PARCEL_COUNT_TOTAL, _OWNER, _GROUP, _OTHER, _SELECTED, _TEMP.\nReturns the number of prims used on the parcel at Position which are in Category.\nIf SimWide is TRUE, it returns the total number of objects for all parcels with matching ownership in the category specified.\nIf SimWide is FALSE, it returns the number of objects on this specific parcel in the category specified
+
+ llGetParcelPrimOwners
+
+ sleep
+ 2.0
+ return
+ list
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns a list of up to 100 residents who own objects on the parcel at Position, with per-owner land impact totals.\nRequires owner-like permissions for the parcel, and for the script owner to be present in the region.\nThe list is formatted as [ key agentKey1, integer agentLI1, key agentKey2, integer agentLI2, ... ], sorted by agent key.\nThe integers are the combined land impacts of the objects owned by the corresponding agents.
+
+ llGetPermissions
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns an integer bitmask of the permissions that have been granted to the script. Individual permissions can be determined using a bit-wise "and" operation against the PERMISSION_* constants
+
+ llGetPermissionsKey
+
+ return
+ key
+ arguments
+
+ tooltip
+ Returns the key of the avatar that last granted or declined permissions to the script.\nReturns NULL_KEY if permissions were never granted or declined.
+
+ llGetPhysicsMaterial
+
+ return
+ list
+ arguments
+
+ tooltip
+ Returns a list of the form [float gravity_multiplier, float restitution, float friction, float density].
+
+ llGetPos
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the position of the task in region coordinates.\nReturns the vector position of the task in region coordinates.
+
+ llGetPrimitiveParams
+
+ sleep
+ 0.2
+ return
+ list
+ arguments
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+ PRIM_* flags and face parameters
+
+
+
+ tooltip
+ Returns the primitive parameters specified in the parameters list.\nReturns primitive parameters specified in the Parameters list.
+
+ llGetPrimMediaParams
+
+ sleep
+ 0.1
+ return
+ list
+ arguments
+
+
+ Face
+
+ type
+ integer
+ tooltip
+ face number
+
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+ One or more PRIM_MEDIA_* flags
+
+
+
+ tooltip
+ Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face.
+
+ llGetRegionAgentCount
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the number of avatars in the region.\nReturns an integer that is the number of avatars in the region.
+
+ llGetRegionCorner
+
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns a vector, in meters, that is the global location of the south-west corner of the region which the object is in.\nReturns the Region-Corner of the simulator containing the task. The region-corner is a vector (values in meters) representing distance from the first region.
+
+ llGetRegionFlags
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the region flags (REGION_FLAG_*) for the region the object is in.\nReturns a bit-field specifying the region flags (REGION_FLAG_*) for the region the object is in.
+
+ llGetRegionFPS
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns the mean region frames per second.
+
+ llGetRegionName
+
+ return
+ string
+ arguments
+
+ tooltip
+ Returns the current region name.
+
+ llGetRegionTimeDilation
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns the current time dilation as a float between 0.0 (full dilation) and 1.0 (no dilation).\nReturns the current time dilation as a float between 0.0 and 1.0.
+
+ llGetRootPosition
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the position (in region coordinates) of the root prim of the object which the script is attached to.\nThis is used to allow a child prim to determine where the root is.
+
+ llGetRootRotation
+
+ return
+ rotation
+ arguments
+
+ tooltip
+ Returns the rotation (relative to the region) of the root prim of the object which the script is attached to.\nGets the global rotation of the root object of the object script is attached to.
+
+ llGetRot
+
+ return
+ rotation
+ arguments
+
+ tooltip
+ Returns the rotation relative to the region's axes.\nReturns the rotation.
+
+ llGetScale
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the scale of the prim.\nReturns a vector that is the scale (dimensions) of the prim.
+
+ llGetScriptName
+
+ return
+ string
+ arguments
+
+ tooltip
+ Returns the name of the script that this function is used in.\nReturns the name of this script.
+
+ llGetScriptState
+
+ return
+ integer
+ arguments
+
+
+ ScriptName
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns TRUE if the script named is running.\nReturns TRUE if ScriptName is running.
+
+ llGetSimStats
+
+ return
+ float
+ arguments
+
+
+ StatType
+
+ type
+ integer
+ tooltip
+ Statistic type. Currently only SIM_STAT_PCT_CHARS_STEPPED is supported.
+
+
+
+ tooltip
+ Returns a float that is the requested statistic.
+
+ llGetSimulatorHostname
+
+
+ sleep
+ 10.0
+ return
+ string
+ arguments
+
+ tooltip
+ Returns the host-name of the machine which the script is running on.\nFor example, "sim225.agni.lindenlab.com".
+
+ llGetSPMaxMemory
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the maximum used memory for the current script. Only valid after using PROFILE_SCRIPT_MEMORY. Non-mono scripts always use 16k.\nReturns the integer of the most bytes used while llScriptProfiler was last active.
+
+ llGetStartParameter
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns an integer that is the script rez parameter.\nIf the object was rezzed by an agent, this function returns 0.
+
+ llGetStatus
+
+ return
+ integer
+ arguments
+
+
+ StatusFlag
+
+ type
+ integer
+ tooltip
+ A STATUS_* flag
+
+
+
+ tooltip
+ Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to.
+
+ llGetSubString
+
+ return
+ string
+ arguments
+
+
+ String
+
+ type
+ string
+ tooltip
+
+
+
+
+ Start
+
+ type
+ integer
+ tooltip
+
+
+
+
+ End
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns a sub-string from String, in a range specified by the Start and End indicies (inclusive).\nUsing negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would capture the entire string.\nIf Start is greater than End, the sub string is the exclusion of the entries.
+
+ llGetSunDirection
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns a normalized vector of the direction of the sun in the region.\nReturns the sun's direction on the simulator.
+
+ llGetTexture
+
+ return
+ string
+ arguments
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns a string that is the texture on face (the inventory name if it is a texture in the prim's inventory, otherwise the key).\nReturns the texture of a face, if it is found in object inventory, its key otherwise.
+
+ llGetTextureOffset
+
+ return
+ vector
+ arguments
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the texture offset of face in the x and y components of a vector.
+
+ llGetTextureRot
+
+ return
+ float
+ arguments
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the texture rotation of side.
+
+ llGetTextureScale
+
+ return
+ vector
+ arguments
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns the texture scale of side in the x and y components of a vector.\nReturns the texture scale of a side in the x and y components of a vector.
+
+ llGetTime
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns the time in seconds since the last region reset, script reset, or call to either llResetTime or llGetAndResetTime.
+
+ llGetTimeOfDay
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns the time in seconds since Second Life midnight or since region up-time, whichever is smaller.\nThe Second Life day cycle is 4 hours.
+
+ llGetTimestamp
+
+ return
+ string
+ arguments
+
+ tooltip
+ Returns a time-stamp (UTC time zone) in the format: YYYY-MM-DDThh:mm:ss.ff..fZ.
+
+ llGetTorque
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the torque (if the script is physical).\nReturns a vector that is the torque (if the script is physical).
+
+ llGetUnixTime
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock.
+
+ llGetUsedMemory
+
+ return
+ integer
+ arguments
+
+ tooltip
+ Returns the current used memory for the current script. Non-mono scripts always use 16K.\nReturns the integer of the number of bytes of memory currently in use by the script. Non-mono scripts always use 16K.
+
+ llGetUsername
+
+ return
+ string
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Returns the username of an avatar, if the avatar is connected to the current region, or if the name has been cached. Otherwise, returns an empty string. Use llRequestUsername if the avatar may be absent from the region.
+
+ llGetVel
+
+ return
+ vector
+ arguments
+
+ tooltip
+ Returns the velocity of the object.\nReturns a vector that is the velocity of the object.
+
+ llGetWallclock
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns the time in seconds since midnight California Pacific time (PST/PDT).\nReturns the time in seconds since simulator's time-zone midnight (Pacific Time).
+
+ llGiveInventory
+
+ return
+ void
+ arguments
+
+
+ TargetID
+
+ type
+ key
+ tooltip
+
+
+
+
+ InventoryItem
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Give InventoryItem to destination represented by TargetID, as permitted by the permissions system.\nTargetID may be any agent or an object in the same region.
+
+ llGiveInventoryList
+
+ sleep
+ 3.0
+ return
+ void
+ arguments
+
+
+ TargetID
+
+ type
+ key
+ tooltip
+
+
+
+
+ FolderName
+
+ type
+ string
+ tooltip
+
+
+
+
+ InventoryItems
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Give InventoryItems to destination (represented by TargetID) as a new folder of items, as permitted by the permissions system.\nTargetID may be any agent or an object in the same region. If TargetID is an object, the items are passed directly to the object inventory (no folder is created).
+
+ llGiveMoney
+
+ return
+ integer
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Amount
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Transfers Amount of L$ from script owner to AvatarID.\nThis call will silently fail if PERMISSION_DEBIT has not been granted.
+
+ llGodLikeRezObject
+
+ god-mode
+ true
+ return
+ void
+ arguments
+
+
+ InventoryItemID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Rez directly off of a UUID if owner has god-bit set.
+
+ llGround
+
+ return
+ float
+ arguments
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the ground height at the object position + offset.\nReturns the ground height at the object's position + Offset.
+
+ llGroundContour
+
+
+ return
+ vector
+ arguments
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the ground contour direction below the object position + Offset.\nReturns the ground contour at the object's position + Offset.
+
+ llGroundNormal
+
+ return
+ vector
+ arguments
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the ground normal below the object position + offset.\nReturns the ground contour at the object's position + Offset.
+
+ llGroundRepel
+
+ return
+ void
+ arguments
+
+
+ Height
+
+ type
+ float
+ tooltip
+ Distance above the ground.
+
+
+
+ Water
+
+ type
+ integer
+ tooltip
+ Boolean, if TRUE then hover above water too.
+
+
+
+ Tau
+
+ type
+ float
+ tooltip
+ Seconds to critically damp in.
+
+
+
+ tooltip
+
+ Critically damps to height if within height * 0.5 of level (either above ground level or above the higher of land and water if water == TRUE).\nCritically damps to fHeight if within fHeight * 0.5 of ground or water level.\n
+ The height is above ground level if iWater is FALSE or above the higher of land and water if iWater is TRUE.\n
+ Do not use with vehicles. Only works in physics-enabled objects.
+
+
+ llGroundSlope
+
+ return
+ vector
+ arguments
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the ground slope below the object position + Offset.\nReturns the ground slope at the object position + Offset.
+
+ llHTTPRequest
+
+ return
+ key
+ arguments
+
+
+ URL
+
+ type
+ string
+ tooltip
+ A valid HTTP/HTTPS URL.
+
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+ Configuration parameters, specified as HTTP_* flag-value pairs.
+
+
+
+ Body
+
+ type
+ string
+ tooltip
+ Contents of the request.
+
+
+
+ tooltip
+ Sends an HTTP request to the specified URL with the Body of the request and Parameters.\nReturns a key that is a handle identifying the HTTP request made.
+
+ llHTTPResponse
+
+ return
+ void
+ arguments
+
+
+ HTTPRequestID
+
+ type
+ key
+ tooltip
+ A valid HTTP request key.
+
+
+
+ Status
+
+ type
+ integer
+ tooltip
+ HTTP Status (200, 400, 404, etc.).
+
+
+
+ Body
+
+ type
+ string
+ tooltip
+ Contents of the response.
+
+
+
+ tooltip
+ Responds to an incoming HTTP request which was triggerd by an http_request event within the script. HTTPRequestID specifies the request to respond to (this ID is supplied in the http_request event handler). Status and Body specify the status code and message to respond with.
+
+ llInsertString
+
+ return
+ string
+ arguments
+
+
+ TargetVariable
+
+ type
+ string
+ tooltip
+
+
+
+
+ Position
+
+ type
+ integer
+ tooltip
+
+
+
+
+ SourceVariable
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Inserts SourceVariable into TargetVariable at Position, and returns the result.\nInserts SourceVariable into TargetVariable at Position and returns the result. Note this does not alter TargetVariable.
+
+ llInstantMessage
+
+ sleep
+ 2.0
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ IMs Text to the user identified.\nSend Text to the user as an instant message.
+
+ llIntegerToBase64
+
+ return
+ string
+ arguments
+
+
+ Value
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns a string that is a Base64 big endian encode of Value.\nEncodes the Value as an 8-character Base64 string.
+
+ llJson2List
+
+ energy
+ 0.0
+ return
+ list
+ arguments
+
+
+ JSON
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Converts the top level of the JSON string to a list.
+
+ llJsonGetValue
+
+ return
+ string
+ arguments
+
+
+ JSON
+
+ type
+ string
+ tooltip
+
+
+
+
+ Specifiers
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Gets the value indicated by Specifiers from the JSON string.
+
+ llJsonSetValue
+
+ return
+ string
+ arguments
+
+
+ JSON
+
+ type
+ string
+ tooltip
+
+
+
+
+ Specifiers
+
+ type
+ list
+ tooltip
+
+
+
+
+ Value
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns a new JSON string that is the JSON given with the Value indicated by Specifiers set to Value.
+
+ llJsonValueType
+
+ return
+ string
+ arguments
+
+
+ JSON
+
+ type
+ string
+ tooltip
+
+
+
+
+ Specifiers
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Returns the type constant (JSON_*) for the value in JSON indicated by Specifiers.
+
+ llKey2Name
+
+ return
+ string
+ arguments
+
+
+ ID
+
+ type
+ key
+ tooltip
+ Avatar or rezzed prim UUID.
+
+
+
+ tooltip
+ Returns the name of the prim or avatar specified by ID. The ID must be a valid rezzed prim or avatar key in the current simulator, otherwise an empty string is returned.\nFor avatars, the returned name is the legacy name
+
+ llLinkParticleSystem
+
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
+
+
+
+ Rules
+
+ type
+ list
+ tooltip
+ Particle system rules list in the format [ rule1, data1, rule2, data2 . . . ruleN, dataN ]
+
+
+
+ tooltip
+ Creates a particle system in prim LinkNumber based on Rules. An empty list removes a particle system from object.\nList format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].\nThis is identical to llParticleSystem except that it applies to a specified linked prim and not just the prim the script is in.
+
+ llLinkSitTarget
+
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag of the prim.
+
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+ Position for the sit target, relative to the prim's position.
+
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+ Rotation (relative to the prim's rotation) for the avatar.
+
+
+
+ tooltip
+ Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it.\nSet the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation.
+
+ llList2CSV
+
+ return
+ string
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Creates a string of comma separated values from the list.\nCreate a string of comma separated values from the specified list.
+
+ llList2Float
+
+ return
+ float
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Index
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Copies the float at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a float, then zero is returned.
+
+ llList2Integer
+
+ return
+ integer
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Index
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Copies the integer at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to an integer, then zero is returned.
+
+ llList2Json
+
+ return
+ string
+ arguments
+
+
+ JsonType
+
+ type
+ string
+ tooltip
+ Type is JSON_ARRAY or JSON_OBJECT.
+
+
+
+ Values
+
+ type
+ list
+ tooltip
+ List of values to convert.
+
+
+
+ tooltip
+ Converts either a strided list of key:value pairs to a JSON_OBJECT, or a list of values to a JSON_ARRAY.
+
+ llList2Key
+
+ return
+ key
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Index
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Copies the key at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a key, then null string is returned.
+
+ llList2List
+
+ return
+ list
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Start
+
+ type
+ integer
+ tooltip
+
+
+
+
+ End
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns a subset of entries from ListVariable, in a range specified by the Start and End indicies (inclusive).\nUsing negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would capture the entire string.\nIf Start is greater than End, the sub string is the exclusion of the entries.
+
+ llList2ListStrided
+
+ return
+ list
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Start
+
+ type
+ integer
+ tooltip
+
+
+
+
+ End
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Stride
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Copies the strided slice of the list from Start to End.\nReturns a copy of the strided slice of the specified list from Start to End.
+
+ llList2Rot
+
+ return
+ rotation
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Index
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Copies the rotation at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to rotation, thenZERO_ROTATION is returned.
+
+ llList2String
+
+ return
+ string
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Index
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Copies the string at Index in the list.\nReturns the value at Index in the specified list as a string. If Index describes a location not in the list then null string is returned.
+
+ llList2Vector
+
+
+ return
+ vector
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Index
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Copies the vector at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a vector, then ZERO_VECTOR is returned.
+
+ llListen
+
+ return
+ integer
+ arguments
+
+
+ Channel
+
+ type
+ integer
+ tooltip
+
+
+
+
+ SpeakersName
+
+ type
+ string
+ tooltip
+
+
+
+
+ SpeakersID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Creates a listen callback for Text on Channel from SpeakersName and SpeakersID (SpeakersName, SpeakersID, and/or Text can be empty) and returns an identifier that can be used to deactivate or remove the listen.\nNon-empty values for SpeakersName, SpeakersID, and Text will filter the results accordingly, while empty strings and NULL_KEY will not filter the results, for string and key parameters respectively.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts.
+
+ llListenControl
+
+ return
+ void
+ arguments
+
+
+ ChannelHandle
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Active
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Makes a listen event callback active or inactive. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener you are controlling.\nUse boolean values to specify Active
+
+ llListenRemove
+
+ return
+ void
+ arguments
+
+
+ ChannelHandle
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Removes a listen event callback. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener to remove.
+
+ llListFindList
+
+ return
+ integer
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Find
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Returns the index of the first instance of Find in ListVariable. Returns -1 if not found.\nReturns the position of the first instance of the Find list in the ListVariable. Returns -1 if not found.
+
+ llListInsertList
+
+ return
+ list
+ arguments
+
+
+ Target
+
+ type
+ list
+ tooltip
+
+
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Position
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns a list that contains all the elements from Target but with the elements from ListVariable inserted at Position start.\nReturns a new list, created by inserting ListVariable into the Target list at Position. Note this does not alter the Target.
+
+ llListRandomize
+
+ return
+ list
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Stride
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns a version of the input ListVariable which has been randomized by blocks of size Stride.\nIf the remainder from the length of the list, divided by the stride is non-zero, this function does not randomize the list.
+
+ llListReplaceList
+
+ return
+ list
+ arguments
+
+
+ Target
+
+ type
+ list
+ tooltip
+
+
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+
+
+
+
+ Start
+
+ type
+ integer
+ tooltip
+
+
+
+
+ End
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns a list that is Target with Start through End removed and ListVariable inserted at Start.\nReturns a list replacing the slice of the Target list from Start to End with the specified ListVariable. Start and End are inclusive, so 0, 1 would replace the first two entries and 0, 0 would replace only the first list entry.
+
+ llListSort
+
+ return
+ list
+ arguments
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+ List to sort.
+
+
+
+ Stride
+
+ type
+ integer
+ tooltip
+ Stride length.
+
+
+
+ Ascending
+
+ type
+ integer
+ tooltip
+ Boolean. TRUE = result in ascending order, FALSE = result in descending order.
+
+
+
+ tooltip
+ Returns the specified list, sorted into blocks of stride in ascending order (if Ascending is TRUE, otherwise descending). Note that sort only works if the first entry of each block is the same datatype.
+
+ llListStatistics
+
+ return
+ float
+ arguments
+
+
+ Operation
+
+ type
+ integer
+ tooltip
+ One of LIST_STAT_* values
+
+
+
+ ListVariable
+
+ type
+ list
+ tooltip
+ Variable to analyze.
+
+
+
+ tooltip
+ Performs a statistical aggregate function, specified by a LIST_STAT_* constant, on ListVariables.\nThis function allows a script to perform a statistical operation as defined by operation on a list composed of integers and floats.
+
+ llLoadURL
+
+ sleep
+ 0.1
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ URL
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Shows dialog to avatar AvatarID offering to load web page at URL. If user clicks yes, launches their web browser.\nllLoadURL displays a dialogue box to the user, offering to load the specified web page using the default web browser.
+
+ llLog
+
+ return
+ float
+ arguments
+
+
+ Value
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns the natural logarithm of Value. Returns zero if Value <= 0.\nReturns the base e (natural) logarithm of the specified Value.
+
+ llLog10
+
+ return
+ float
+ arguments
+
+
+ Value
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns the base 10 logarithm of Value. Returns zero if Value <= 0.\nReturns the base 10 (common) logarithm of the specified Value.
+
+ llLookAt
+
+ return
+ void
+ arguments
+
+
+ Target
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Strength
+
+ type
+ float
+ tooltip
+
+
+
+
+ Damping
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Cause object name to point its forward axis towards Target, at a force controlled by Strength and Damping.\nGood Strength values are around half the mass of the object and good Damping values are less than 1/10th of the Strength.\nAsymmetrical shapes require smaller Damping. A Strength of 0.0 cancels the look at.
+
+ llLoopSound
+
+ return
+ void
+ arguments
+
+
+ Sound
+
+ type
+ string
+ tooltip
+
+
+
+
+ Volume
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Plays specified Sound, looping indefinitely, at Volume (0.0 - 1.0).\nOnly one sound may be attached to an object at a time.\nA second call to llLoopSound with the same key will not restart the sound, but the new volume will be used. This allows control over the volume of already playing sounds.\nSetting the volume to 0 is not the same as calling llStopSound; a sound with 0 volume will continue to loop.\nTo restart the sound from the beginning, call llStopSound before calling llLoopSound again.
+
+ llLoopSoundMaster
+
+ return
+ void
+ arguments
+
+
+ Sound
+
+ type
+ string
+ tooltip
+
+
+
+
+ Volume
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Plays attached Sound, looping at volume (0.0 - 1.0), and declares it a sync master.\nBehaviour is identical to llLoopSound, with the addition of marking the source as a "Sync Master", causing "Slave" sounds to sync to it. If there are multiple masters within a viewers interest area, the most audible one (a function of both distance and volume) will win out as the master.\nThe use of multiple masters within a small area is unlikely to produce the desired effect.
+
+ llLoopSoundSlave
+
+ return
+ void
+ arguments
+
+
+ Sound
+
+ type
+ string
+ tooltip
+
+
+
+
+ Volume
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Plays attached sound looping at volume (0.0 - 1.0), synced to most audible sync master.\nBehaviour is identical to llLoopSound, unless there is a "Sync Master" present.\nIf a Sync Master is already playing the Slave sound will begin playing from the same point the master is in its loop synchronizing the loop points of both sounds.\nIf a Sync Master is started when the Slave is already playing, the Slave will skip to the correct position to sync with the Master.
+
+ llManageEstateAccess
+
+ return
+ integer
+ arguments
+
+
+ Action
+
+ type
+ integer
+ tooltip
+ One of the ESTATE_ACCESS_ALLOWED_* actions.
+
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+ UUID of the avatar or group to act upon.
+
+
+
+ tooltip
+ Adds or removes agents from the estate's agent access or ban lists, or groups to the estate's group access list. Action is one of the ESTATE_ACCESS_ALLOWED_* operations to perform.\nReturns an integer representing a boolean, TRUE if the call was successful; FALSE if throttled, invalid action, invalid or null id or object owner is not allowed to manage the estate.\nThe object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script.
+
+ llMapDestination
+
+ sleep
+ 1.0
+ return
+ void
+ arguments
+
+
+ RegionName
+
+ type
+ string
+ tooltip
+
+
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Direction
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Opens world map for avatar who touched is is wearing the script, centred on RegionName with Position highlighted. Only works for scripts attached to avatar, or during touch events.\nDirection currently has no effect.
+
+ llMD5String
+
+ return
+ string
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ Nonce
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns a string of 32 hex characters that is an RSA Data Security Inc., MD5 Message-Digest Algorithm of Text with Nonce used as the salt.\nReturns a 32-character hex string. (128-bit in binary.)
+
+ llMessageLinked
+
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Number
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ ID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Sends Number, Text, and ID to members of the link set identified by LinkNumber.\nLinkNumber is either a linked number (available through llGetLinkNumber) or a LINK_* constant.
+
+ llMinEventDelay
+
+ return
+ void
+ arguments
+
+
+ Delay
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Set the minimum time between events being handled.
+
+ llModifyLand
+
+ return
+ void
+ arguments
+
+
+ Action
+
+ type
+ integer
+ tooltip
+ LAND_LEVEL, LAND_RAISE, LAND_LOWER, LAND_SMOOTH, LAND_NOISE or LAND_REVERT
+
+
+
+ Area
+
+ type
+ integer
+ tooltip
+ 0, 1, 2 (2m x 2m, 4m x 4m, or 8m x 8m)
+
+
+
+ tooltip
+ Modify land with action (LAND_LEVEL, LAND_RAISE, LAND_LOWER, LAND_SMOOTH, LAND_NOISE, LAND_REVERT) on size (0, 1, 2, corresponding to 2m x 2m, 4m x 4m, 8m x 8m).
+
+ llModPow
+
+ sleep
+ 1.0
+ return
+ integer
+ arguments
+
+
+ Value
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Power
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Modulus
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Returns a Value raised to the Power, mod Modulus. ((a**b)%c) b is capped at 0xFFFF (16 bits).\nReturns (Value ^ Power) % Modulus. (Value raised to the Power, Modulus). Value is capped at 0xFFFF (16 bits).
+
+ llMoveToTarget
+
+ return
+ void
+ arguments
+
+
+ Target
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Tau
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Critically damp to Target in Tau seconds (if the script is physical).\nCritically damp to position target in tau-seconds if the script is physical. Good tau-values are greater than 0.2. A tau of 0.0 stops the critical damping.
+
+ llOffsetTexture
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ OffsetS
+
+ type
+ float
+ tooltip
+
+
+
+
+ OffsetT
+
+ type
+ float
+ tooltip
+
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Sets the texture S and T offsets for the chosen Face.\nIf Face is ALL_SIDES this function sets the texture offsets for all faces.
+
+ llOverMyLand
+
+ return
+ integer
+ arguments
+
+
+ ID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Returns TRUE if id ID over land owned by the script owner, otherwise FALSE.\nReturns TRUE if key ID is over land owned by the object owner, FALSE otherwise.
+
+ llOwnerSay
+
+ return
+ void
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ says Text to owner only (if owner is in region).\nSays Text to the owner of the object running the script, if the owner has been within the object's simulator since logging into Second Life, regardless of where they may be in-world.
+
+ llParcelMediaCommandList
+
+ sleep
+ 2.0
+ return
+ void
+ arguments
+
+
+ CommandList
+
+ type
+ list
+ tooltip
+ A list of PARCEL_MEDIA_COMMAND_* flags and their parameters
+
+
+
+ tooltip
+ Controls the playback of multimedia resources on a parcel or for an agent, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.
+
+ llParcelMediaQuery
+
+ sleep
+ 2.0
+ return
+ list
+ arguments
+
+
+ QueryList
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Queries the media properties of the parcel containing the script, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.\nThis function will only work if the script is contained within an object owned by the land-owner (or if the land is owned by a group, only if the object has been deeded to the group).
+
+ llParseString2List
+
+ return
+ list
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ Separators
+
+ type
+ list
+ tooltip
+
+
+
+
+ Spacers
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Converts Text into a list, discarding Separators, keeping Spacers (Separators and Spacers must be lists of strings, maximum of 8 each).\nSeparators and Spacers are lists of strings with a maximum of 8 entries each.
+
+ llParseStringKeepNulls
+
+ return
+ list
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ Separators
+
+ type
+ list
+ tooltip
+
+
+
+
+ Spacers
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Breaks Text into a list, discarding separators, keeping spacers, keeping any null values generated. (separators and spacers must be lists of strings, maximum of 8 each).\nllParseStringKeepNulls works almost exactly like llParseString2List, except that if a null is found it will add a null-string instead of discarding it like llParseString2List does.
+
+ llParticleSystem
+
+ return
+ void
+ arguments
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Creates a particle system in the prim the script is attached to, based on Parameters. An empty list removes a particle system from object.\nList format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].
+
+ llPassCollisions
+
+ return
+ void
+ arguments
+
+
+ Pass
+
+ type
+ integer
+ tooltip
+ Boolean, if TRUE, collisions are passed from children on to parents.
+
+
+
+ tooltip
+ Configures how collision events are passed to scripts in the linkset.\nIf Pass == TRUE, collisions involving collision-handling scripted child prims are also passed on to the root prim. If Pass == FALSE (default behavior), such collisions will only trigger events in the affected child prim.
+
+ llPassTouches
+
+ return
+ void
+ arguments
+
+
+ Pass
+
+ type
+ integer
+ tooltip
+ Boolean, if TRUE, touches are passed from children on to parents.
+
+
+
+ tooltip
+ Configures how touch events are passed to scripts in the linkset.\nIf Pass == TRUE, touches involving touch-handling scripted child prims are also passed on to the root prim. If Pass == FALSE (default behavior), such touches will only trigger events in the affected child prim.
+
+ llPlaySound
+
+ return
+ void
+ arguments
+
+
+ Sound
+
+ type
+ string
+ tooltip
+
+
+
+
+ Volume
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Plays Sound once, at Volume (0.0 - 1.0) and attached to the object.\nOnly one sound may be attached to an object at a time, and attaching a new sound or calling llStopSound will stop the previously attached sound.\nA second call to llPlaySound with the same sound will not restart the sound, but the new volume will be used, which allows control over the volume of already playing sounds.\nTo restart the sound from the beginning, call llStopSound before calling llPlaySound again.
+
+ llPlaySoundSlave
+
+ return
+ void
+ arguments
+
+
+ Sound
+
+ type
+ string
+ tooltip
+
+
+
+
+ Volume
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Plays attached Sound once, at Volume (0.0 - 1.0), synced to next loop of most audible sync master.\nBehaviour is identical to llPlaySound, unless there is a "Sync Master" present. If a Sync Master is already playing, the Slave sound will not be played until the Master hits its loop point and returns to the beginning.\nllPlaySoundSlave will play the sound exactly once; if it is desired to have the sound play every time the Master loops, either use llLoopSoundSlave with extra silence padded on the end of the sound or ensure that llPlaySoundSlave is called at least once per loop of the Master.
+
+ llPow
+
+ return
+ float
+ arguments
+
+
+ Value
+
+ type
+ float
+ tooltip
+
+
+
+
+ Exponent
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns the Value raised to the power Exponent, or returns 0 and triggers Math Error for imaginary results.\nReturns the Value raised to the Exponent.
+
+ llPreloadSound
+
+ sleep
+ 1.0
+ return
+ void
+ arguments
+
+
+ Sound
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Causes nearby viewers to preload the Sound from the object's inventory.\nThis is intended to prevent delays in starting new sounds when called upon.
+
+ llPushObject
+
+ return
+ void
+ arguments
+
+
+ ObjectID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Impulse
+
+ type
+ vector
+ tooltip
+
+
+
+
+ AngularImpulse
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Local
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Applies Impulse and AngularImpulse to ObjectID.\nApplies the supplied impulse and angular impulse to the object specified.
+
+ llRefreshPrimURL
+
+ sleep
+ 20.0
+ return
+ void
+ arguments
+
+ tooltip
+ Reloads the web page shown on the sides of the object.
+
+ llRegionSay
+
+ return
+ void
+ arguments
+
+
+ Channel
+
+ type
+ integer
+ tooltip
+ Any integer value except zero.
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+ Message to be transmitted.
+
+
+
+ tooltip
+ Broadcasts Text to entire region on Channel (except for channel 0).
+
+ llRegionSayTo
+
+ return
+ void
+ arguments
+
+
+ TargetID
+
+ type
+ key
+ tooltip
+ Avatar or object to say to.
+
+
+
+ Channel
+
+ type
+ integer
+ tooltip
+ Output channel, any integer value.
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+ Message to be transmitted.
+
+
+
+ tooltip
+ Says Text, on Channel, to avatar or object indicated by TargetID (if within region).\nIf TargetID is an avatar and Channel is nonzero, Text can be heard by any attachment on the avatar.
+
+ llReleaseCamera
+
+ deprecated
+ true
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Return camera to agent.\nDeprecated: Use llClearCameraParams instead.
+
+ llReleaseControls
+
+ return
+ void
+ arguments
+
+ tooltip
+ Stop taking inputs.\nStop taking inputs from the avatar.
+
+ llReleaseURL
+
+
+ return
+ void
+ arguments
+
+
+ URL
+
+ type
+ string
+ tooltip
+ URL to release.
+
+
+
+ tooltip
+ Releases the specified URL, which was previously obtained using llRequestURL. Once released, the URL will no longer be usable.
+
+ llRemoteDataReply
+
+ deprecated
+ true
+ sleep
+ 3.0
+ return
+ void
+ arguments
+
+
+ ChannelID
+
+ type
+ key
+ tooltip
+
+
+
+
+ MessageID
+
+ type
+ key
+ tooltip
+
+
+
+
+ sData
+
+ type
+ string
+ tooltip
+ String data to send
+
+
+
+ iData
+
+ type
+ integer
+ tooltip
+ Integer data to send
+
+
+
+ tooltip
+ Send an XML-RPC reply to MessageID on ChannelID with payload of string sData and integer iData. Deprecated: Use HTTP functions/events instead.\nThe size of sData is limited to 254 characters.
+
+ llRemoteLoadScriptPin
+
+ sleep
+ 3.0
+ return
+ void
+ arguments
+
+
+ ObjectID
+
+ type
+ key
+ tooltip
+ Target prim to attempt copying into.
+
+
+
+ ScriptName
+
+ type
+ string
+ tooltip
+ Name of the script in current inventory to copy.
+
+
+
+ PIN
+
+ type
+ integer
+ tooltip
+ Integer set on target prim as a Personal Information Number code.
+
+
+
+ Running
+
+ type
+ integer
+ tooltip
+ If the script should be set running in the target prim.
+
+
+
+ StartParameter
+
+ type
+ integer
+ tooltip
+ Integer. Parameter passed to the script if set to be running.
+
+
+
+ tooltip
+ If the owner of the object containing this script can modify the object identified by the specified object key, and if the PIN matches the PIN previously set using llSetRemoteScriptAccessPin (on the target prim), then the script will be copied into target. Running is a boolean specifying whether the script should be enabled once copied into the target object.
+
+ llRemoveFromLandBanList
+
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Remove avatar from the land ban list.\nRemove specified avatar from the land parcel ban list.
+
+ llRemoveFromLandPassList
+
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Remove avatar from the land pass list.\nRemove specified avatar from the land parcel pass list.
+
+ llRemoveInventory
+
+ return
+ void
+ arguments
+
+
+ InventoryItem
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Remove the named inventory item.\nRemove the named inventory item from the object inventory.
+
+ llRemoveVehicleFlags
+
+ return
+ void
+ arguments
+
+
+ Vehiclelags
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Removes the enabled bits in 'flags'.\nSets the vehicle flags to FALSE. Valid parameters can be found in the vehicle flags constants section.
+
+ llRequestAgentData
+
+ sleep
+ 0.1
+ return
+ key
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Data
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Requests data about AvatarID. When data is available the dataserver event will be raised.\nThis function requests data about an avatar. If and when the information is collected, the dataserver event is triggered with the key returned from this function passed in the requested parameter. See the agent data constants (DATA_*) for details about valid values of data and what each will return in the dataserver event.
+
+ llRequestDisplayName
+
+ return
+ key
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+ Avatar UUID
+
+
+
+ tooltip
+ Requests the display name of the agent. When the display name is available the dataserver event will be raised.\nThe avatar identified does not need to be in the same region or online at the time of the request.\nReturns a key that is used to identify the dataserver event when it is raised.
+
+ llRequestInventoryData
+
+ sleep
+ 1.0
+ return
+ key
+ arguments
+
+
+ InventoryItem
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Requests data for the named InventoryItem.\nWhen data is available, the dataserver event will be raised with the key returned from this function in the requested parameter.\nThe only request currently implemented is to request data from landmarks, where the data returned is in the form "<float, float, float>" which can be cast to a vector. This position is in region local coordinates.
+
+ llRequestPermissions
+
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ PermissionMask
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Ask AvatarID to allow the script to perform certain actions, specified in the PermissionMask bitmask. PermissionMask should be one or more PERMISSION_* constants. Multiple permissions can be requested simultaneously by ORing the constants together. Many of the permissions requests can only go to object owner.\nThis call will not stop script execution. If the avatar grants the requested permissions, the run_time_permissions event will be called.
+
+ llRequestSecureURL
+
+ return
+ key
+ arguments
+
+ tooltip
+ Requests one HTTPS:// (SSL) URL for use by this object. The http_request event is triggered with results.\nReturns a key that is the handle used for identifying the request in the http_request event.
+
+ llRequestSimulatorData
+
+ sleep
+ 1.0
+ return
+ key
+ arguments
+
+
+ RegionName
+
+ type
+ string
+ tooltip
+
+
+
+
+ Data
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Requests the specified Data about RegionName. When the specified data is available, the dataserver event is raised.\nData should use one of the DATA_SIM_* constants.\nReturns a dataserver query ID and triggers the dataserver event when data is found.
+
+ llRequestURL
+
+ return
+ key
+ arguments
+
+ tooltip
+ Requests one HTTP:// URL for use by this script. The http_request event is triggered with the result of the request.\nReturns a key that is the handle used for identifying the result in the http_request event.
+
+ llRequestUsername
+
+ return
+ key
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Requests single-word user-name of an avatar. When data is available the dataserver event will be raised.\nRequests the user-name of the identified agent. When the user-name is available the dataserver event is raised.\nThe agent identified does not need to be in the same region or online at the time of the request.\nReturns a key that is used to identify the dataserver event when it is raised.
+
+ llResetAnimationOverride
+
+ return
+ void
+ arguments
+
+
+ AnimationState
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Resets the animation of the specified animation state to the default value.\nIf animation state equals "ALL", then all animation states are reset.
+
+ llResetLandBanList
+
+
+ return
+ void
+ arguments
+
+ tooltip
+ Removes all residents from the land ban list.
+
+ llResetLandPassList
+
+ return
+ void
+ arguments
+
+ tooltip
+ Removes all residents from the land access/pass list.
+
+ llResetOtherScript
+
+ return
+ void
+ arguments
+
+
+ ScriptName
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Resets the named script.
+
+ llResetScript
+
+ return
+ void
+ arguments
+
+ tooltip
+ Resets the script.
+
+ llResetTime
+
+ return
+ void
+ arguments
+
+ tooltip
+ Sets the time to zero.\nSets the internal timer to zero.
+
+ llReturnObjectsByID
+
+ return
+ integer
+ arguments
+
+
+ ObjectIDs
+
+ type
+ list
+ tooltip
+ List of object UUIDs to be returned.
+
+
+
+ tooltip
+ Return objects using their UUIDs.\nRequires the PERMISSION_RETURN_OBJECTS permission and that the script owner owns the parcel the returned objects are in, or is an estate manager or region owner.
+
+ llReturnObjectsByOwner
+
+ return
+ integer
+ arguments
+
+
+ ID
+
+ type
+ key
+ tooltip
+ Object owner's UUID.
+
+
+
+ Scope
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Return objects based upon their owner and a scope of parcel, parcel owner, or region.\nRequires the PERMISSION_RETURN_OBJECTS permission and that the script owner owns the parcel the returned objects are in, or is an estate manager or region owner.
+
+ llRezAtRoot
+
+ sleep
+ 0.1
+ return
+ void
+ arguments
+
+
+ InventoryItem
+
+ type
+ string
+ tooltip
+
+
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Velocity
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ StartParameter
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Instantiate owner's InventoryItem at Position with Velocity, Rotation and with StartParameter. The last selected root object's location will be set to Position.\nCreates object's inventory item at the given Position, with Velocity, Rotation, and StartParameter.
+
+ llRezObject
+
+ sleep
+ 0.1
+ return
+ void
+ arguments
+
+
+ InventoryItem
+
+ type
+ string
+ tooltip
+
+
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Velocity
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ StartParameter
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Instantiate owners InventoryItem at Position with Velocity, Rotation and with start StartParameter.\nCreates object's inventory item at Position with Velocity and Rotation supplied. The StartParameter value will be available to the newly created object in the on_rez event or through the llGetStartParameter function.\nThe Velocity parameter is ignored if the rezzed object is not physical.
+
+ llRot2Angle
+
+ return
+ float
+ arguments
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ tooltip
+ Returns the rotation angle represented by Rotation.\nReturns the angle represented by the Rotation.
+
+ llRot2Axis
+
+ return
+ vector
+ arguments
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ tooltip
+ Returns the rotation axis represented by Rotation.\nReturns the axis represented by the Rotation.
+
+ llRot2Euler
+
+ return
+ vector
+ arguments
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ tooltip
+ Returns the Euler representation (roll, pitch, yaw) of Rotation.\nReturns the Euler Angle representation of the Rotation.
+
+ llRot2Fwd
+
+ return
+ vector
+ arguments
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ tooltip
+ Returns the forward vector defined by Rotation.\nReturns the forward axis represented by the Rotation.
+
+ llRot2Left
+
+ return
+ vector
+ arguments
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ tooltip
+ Returns the left vector defined by Rotation.\nReturns the left axis represented by the Rotation.
+
+ llRot2Up
+
+ return
+ vector
+ arguments
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ tooltip
+ Returns the up vector defined by Rotation.\nReturns the up axis represented by the Rotation.
+
+ llRotateTexture
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ Radians
+
+ type
+ float
+ tooltip
+
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Sets the texture rotation for the specified Face to angle Radians.\nIf Face is ALL_SIDES, rotates the texture of all sides.
+
+ llRotBetween
+
+ return
+ rotation
+ arguments
+
+
+ Vector1
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Vector2
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the rotation to rotate Vector1 to Vector2.\nReturns the rotation needed to rotate Vector1 to Vector2.
+
+ llRotLookAt
+
+
+ return
+ void
+ arguments
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ Strength
+
+ type
+ float
+ tooltip
+
+
+
+
+ Damping
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Cause object to rotate to Rotation, with a force function defined by Strength and Damping parameters. Good strength values are around half the mass of the object and good damping values are less than 1/10th of the strength.\nAsymmetrical shapes require smaller damping.\nA strength of 0.0 cancels the look at.
+
+ llRotTarget
+
+ return
+ integer
+ arguments
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ LeeWay
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Set rotations with error of LeeWay radians as a rotational target, and return an ID for the rotational target.\nThe returned number is a handle that can be used in at_rot_target and llRotTargetRemove.
+
+ llRotTargetRemove
+
+ return
+ void
+ arguments
+
+
+ Handle
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Removes rotational target number.\nRemove rotational target indicated by the handle.
+
+ llRound
+
+ return
+ integer
+ arguments
+
+
+ Value
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns Value rounded to the nearest integer.\nReturns the Value rounded to the nearest integer.
+
+ llSameGroup
+
+ return
+ integer
+ arguments
+
+
+ ID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Returns TRUE if avatar ID is in the same region and has the same active group, otherwise FALSE.\nReturns TRUE if the object or agent identified is in the same simulator and has the same active group as this object. Otherwise, returns FALSE.
+
+ llSay
+
+ return
+ void
+ arguments
+
+
+ Channel
+
+ type
+ integer
+ tooltip
+ Channel to use to say text on.
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+ Text to say.
+
+
+
+ tooltip
+ Says Text on Channel.\nThis chat method has a range of 20m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts.
+
+ llScaleByFactor
+
+ return
+ integer
+ arguments
+
+
+ ScalingFactor
+
+ type
+ float
+ tooltip
+ The multiplier to be used with the prim sizes and their local positions.
+
+
+
+ tooltip
+ Attempts to resize the entire object by ScalingFactor, maintaining the size-position ratios of the prims.\n\nResizing is subject to prim scale limits and linkability limits. This function can not resize the object if the linkset is physical, a pathfinding character, in a keyframed motion, or if resizing would cause the parcel to overflow.\nReturns a boolean (an integer) TRUE if it succeeds, FALSE if it fails.
+
+ llScaleTexture
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ Horizontal
+
+ type
+ float
+ tooltip
+
+
+
+
+ Vertical
+
+ type
+ float
+ tooltip
+
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Sets the diffuse texture Horizontal and Vertical repeats on Face of the prim the script is attached to.\nIf Face == ALL_SIDES, all sides are set in one call.\nNegative values for horizontal and vertical will flip the texture.
+
+ llScriptDanger
+
+ return
+ integer
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns TRUE if Position is over public land, sandbox land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.\nReturns true if the position is over public land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.
+
+ llScriptProfiler
+
+ return
+ void
+ arguments
+
+
+ State
+
+ type
+ integer
+ tooltip
+ PROFILE_NONE or PROFILE_SCRIPT_MEMORY flags to control the state.
+
+
+
+ tooltip
+ Enables or disables script profiling options. Currently only supports PROFILE_SCRIPT_MEMORY (Mono only) and PROFILE_NONE.\nMay significantly reduce script performance.
+
+ llSendRemoteData
+
+ deprecated
+ true
+ sleep
+ 3.0
+ return
+ key
+ arguments
+
+
+ ChannelID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Destination
+
+ type
+ string
+ tooltip
+
+
+
+
+ Value
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Deprecated: use HTTP functions and events instead.\nSends an XML-RPC request to Destination through ChannelID with payload of ChannelID (in a string), integer Value and string Text.\nReturns a key that is the message_id for the resulting remote_data events.
+
+ llSensor
+
+ return
+ void
+ arguments
+
+
+ Name
+
+ type
+ string
+ tooltip
+ Object or avatar name.
+
+
+
+ ID
+
+ type
+ key
+ tooltip
+ Object or avatar UUID.
+
+
+
+ Type
+
+ type
+ integer
+ tooltip
+ Bit-field mask of AGENT, AGENT_BY_LEGACY_NAME, AGENT_BY_USERNAME, ACTIVE, PASSIVE, and/or SCRIPTED
+
+
+
+ Range
+
+ type
+ float
+ tooltip
+ Distance to scan. 0.0 - 96.0m.
+
+
+
+ Arc
+
+ type
+ float
+ tooltip
+ Angle, in radians, from the local x-axis of the prim to scan.
+
+
+
+ tooltip
+ Performs a single scan for Name and ID with Type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within Range meters and Arc radians of forward vector.\nSpecifying a blank Name, 0 Type, or NULL_KEY ID will prevent filtering results based on that parameter. A range of 0.0 does not perform a scan.\nResults are returned in the sensor and no_sensor events.
+
+ llSensorRemove
+
+ return
+ void
+ arguments
+
+ tooltip
+ removes sensor.\nRemoves the sensor set by llSensorRepeat.
+
+ llSensorRepeat
+
+ return
+ void
+ arguments
+
+
+ Name
+
+ type
+ string
+ tooltip
+ Object or avatar name.
+
+
+
+ ID
+
+ type
+ key
+ tooltip
+ Object or avatar UUID.
+
+
+
+ Type
+
+ type
+ integer
+ tooltip
+ Bit-field mask of AGENT, AGENT_BY_LEGACY_NAME, AGENT_BY_USERNAME, ACTIVE, PASSIVE, and/or SCRIPTED
+
+
+
+ Range
+
+ type
+ float
+ tooltip
+ Distance to scan. 0.0 - 96.0m.
+
+
+
+ Arc
+
+ type
+ float
+ tooltip
+ Angle, in radians, from the local x-axis of the prim to scan.
+
+
+
+ Rate
+
+ type
+ float
+ tooltip
+ Period, in seconds, between scans.
+
+
+
+ tooltip
+ Initiates a periodic scan every Rate seconds, for Name and ID with Type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within Range meters and Arc radians of forward vector.\nSpecifying a blank Name, 0 Type, or NULL_KEY ID will prevent filtering results based on that parameter. A range of 0.0 does not perform a scan.\nResults are returned in the sensor and no_sensor events.
+
+ llSetAlpha
+
+ return
+ void
+ arguments
+
+
+ Opacity
+
+ type
+ float
+ tooltip
+
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Sets the alpha (opacity) of Face.\nSets the alpha (opacity) value for Face. If Face is ALL_SIDES, sets the alpha for all faces. The alpha value is interpreted as an opacity percentage (1.0 is fully opaque, and 0.2 is mostly transparent). This function will clamp alpha values less than 0.1 to 0.1 and greater than 1.0 to 1.
+
+ llSetAngularVelocity
+
+ return
+ void
+ arguments
+
+
+ AngVel
+
+ type
+ vector
+ tooltip
+ The angular velocity to set the object to.
+
+
+
+ Local
+
+ type
+ integer
+ tooltip
+ If TRUE, the AngVel is treated as a local directional vector instead of a regional directional vector.
+
+
+
+ tooltip
+ Sets an object's angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical).\nHas no effect on non-physical objects.
+
+ llSetAnimationOverride
+
+ return
+ void
+ arguments
+
+
+ AnimationState
+
+ type
+ string
+ tooltip
+
+
+
+
+ AnimationName
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Sets the animation (in object inventory) that will play for the given animation state.\nTo use this function the script must obtain the PERMISSION_OVERRIDE_ANIMATIONS permission.
+
+ llSetBuoyancy
+
+ return
+ void
+ arguments
+
+
+ Buoyancy
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Set the tasks buoyancy (0 is none, < 1.0 sinks, 1.0 floats, > 1.0 rises).\nSet the object buoyancy. A value of 0 is none, less than 1.0 sinks, 1.0 floats, and greater than 1.0 rises.
+
+ llSetCameraAtOffset
+
+ return
+ void
+ arguments
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Sets the camera used in this object, at offset, if an avatar sits on it.\nSets the offset that an avatar's camera will be moved to if the avatar sits on the object.
+
+ llSetCameraEyeOffset
+
+ return
+ void
+ arguments
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Sets the camera eye offset used in this object if an avatar sits on it.
+
+ llSetCameraParams
+
+ return
+ void
+ arguments
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Sets multiple camera parameters at once. List format is [ rule-1, data-1, rule-2, data-2 . . . rule-n, data-n ].
+
+ llSetClickAction
+
+ return
+ void
+ arguments
+
+
+ Action
+
+ type
+ integer
+ tooltip
+ A CLICK_ACTION_* flag
+
+
+
+ tooltip
+ Sets the action performed when a prim is clicked upon.
+
+ llSetColor
+
+ return
+ void
+ arguments
+
+
+ Color
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Sets the color, for the face.\nSets the color of the side specified. If Face is ALL_SIDES, sets the color on all faces.
+
+ llSetContentType
+
+ return
+ void
+ arguments
+
+
+ HTTPRequestID
+
+ type
+ key
+ tooltip
+ A valid http_request() key
+
+
+
+ ContentType
+
+ type
+ integer
+ tooltip
+ Media type to use with any following llHTTPResponse(HTTPRequestID, ...)
+
+
+
+ tooltip
+ Set the media type of an LSL HTTP server response to ContentType.\nHTTPRequestID must be a valid http_request ID. ContentType must be one of the CONTENT_TYPE_* constants.
+
+ llSetDamage
+
+ return
+ void
+ arguments
+
+
+ Damage
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Sets the amount of damage that will be done to an avatar that this task hits. Task will be killed.\nSets the amount of damage that will be done to an avatar that this object hits. This object will be destroyed on damaging an avatar, and no collision event is triggered.
+
+ llSetForce
+
+ return
+ void
+ arguments
+
+
+ Force
+
+ type
+ vector
+ tooltip
+ Directional force.
+
+
+
+ Local
+
+ type
+ integer
+ tooltip
+ Boolean, if TRUE uses local axis, if FALSE uses region axis.
+
+
+
+ tooltip
+ Sets Force on object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects.
+
+ llSetForceAndTorque
+
+ return
+ void
+ arguments
+
+
+ Force
+
+ type
+ vector
+ tooltip
+ Directional force.
+
+
+
+ Torque
+
+ type
+ vector
+ tooltip
+ Torque force.
+
+
+
+ Local
+
+ type
+ integer
+ tooltip
+ Boolean, if TRUE uses local axis, if FALSE uses region axis.
+
+
+
+ tooltip
+ Sets the Force and Torque of object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects.
+
+ llSetHoverHeight
+
+ return
+ void
+ arguments
+
+
+ Height
+
+ type
+ float
+ tooltip
+ Distance above the ground.
+
+
+
+ Water
+
+ type
+ integer
+ tooltip
+ Boolean, if TRUE then hover above water too.
+
+
+
+ Tau
+
+ type
+ float
+ tooltip
+ Seconds to critically damp in.
+
+
+
+ tooltip
+ Critically damps a physical object to a Height (either above ground level or above the higher of land and water if water == TRUE).\nDo not use with vehicles. Use llStopHover to stop hovering.
+
+ llSetInventoryPermMask
+
+ god-mode
+ true
+ return
+ void
+ arguments
+
+
+ InventoryItem
+
+ type
+ string
+ tooltip
+ An item in the prim's inventory
+
+
+
+ PermissionFlag
+
+ type
+ integer
+ tooltip
+ MASK_* flag
+
+
+
+ PermissionMask
+
+ type
+ integer
+ tooltip
+ Permission bit-field (PERM_* flags)
+
+
+
+ tooltip
+ Sets the given permission mask to the new value on the inventory item.
+
+ llSetKeyframedMotion
+
+ return
+ void
+ arguments
+
+
+ Keyframes
+
+ type
+ list
+ tooltip
+ Strided keyframe list of the form: position, orientation, time. Each keyframe is interpreted relative to the previous transform of the object.
+
+
+
+ Options
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Requests that a non-physical object be key-framed according to key-frame list.\nSpecify a list of times, positions, and orientations to be followed by an object. The object will be smoothly moved between key-frames by the simulator. Collisions with other non-physical or key-framed objects will be ignored (no script events will fire and collision processing will not occur). Collisions with physical objects will be computed and reported, but the key-framed object will be unaffected by those collisions.\nKeyframes is a strided list containing positional, rotational, and time data for each step in the motion. Options is a list containing optional arguments and parameters (specified by KFM_* constants).
+
+ llSetLinkAlpha
+
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Opacity
+
+ type
+ float
+ tooltip
+
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ If a prim exists in the link chain at LinkNumber, set Face to Opacity.\nSets the Face, on the linked prim specified, to the Opacity.
+
+ llSetLinkCamera
+
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Prim link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
+
+
+
+ EyeOffset
+
+ type
+ vector
+ tooltip
+ Offset, relative to the object's centre and expressed in local coordinates, that the camera looks from.
+
+
+
+ LookOffset
+
+ type
+ vector
+ tooltip
+ Offset, relative to the object's centre and expressed in local coordinates, that the camera looks toward.
+
+
+
+ tooltip
+ Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim.
+
+ llSetLinkColor
+
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.
+
+
+
+ Color
+
+ type
+ vector
+ tooltip
+ Color in RGB <R.R, G.G, B.B>
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+ Side number or ALL_SIDES.
+
+
+
+ tooltip
+ If a task exists in the link chain at LinkNumber, set the Face to color.\nSets the color of the linked child's side, specified by LinkNumber.
+
+ llSetLinkMedia
+
+ return
+ integer
+ arguments
+
+
+ Link
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims).
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+ Face number.
+
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+ A set of name/value pairs (in no particular order)
+
+
+
+ tooltip
+ Set the media parameters for a particular face on linked prim, specified by Link. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters is a set of name/value pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified.
+
+ llSetLinkPrimitiveParams
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
+
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Set primitive parameters for LinkNumber based on Parameters.\nSets the parameters (or properties) of any linked prim in one step.
+
+ llSetLinkPrimitiveParamsFast
+
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
+
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+
+
+
+
+ tooltip
+ Set primitive parameters for LinkNumber based on Parameters, without a delay.\nSet parameters for link number, from the list of Parameters, with no built-in script sleep. This function is identical to llSetLinkPrimitiveParams, except without the delay.
+
+ llSetLinkTexture
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Texture
+
+ type
+ string
+ tooltip
+
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Sets the Texture of Face on a linked prim, specified by LinkNumber. Texture may be a UUID or name of a texture in prim inventory.
+
+ llSetLinkTextureAnim
+
+ return
+ void
+ arguments
+
+
+ LinkNumber
+
+ type
+ integer
+ tooltip
+ Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag to effect
+
+
+
+ Mode
+
+ type
+ integer
+ tooltip
+ Bitmask of animation options.
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+ Specifies which object face to animate or ALL_SIDES.
+
+
+
+ SizeX
+
+ type
+ integer
+ tooltip
+ Horizontal frames (ignored for ROTATE and SCALE).
+
+
+
+ SizeY
+
+ type
+ integer
+ tooltip
+ Vertical frames (ignored for ROTATE and SCALE).
+
+
+
+ Start
+
+ type
+ float
+ tooltip
+ Start position/frame number (or radians for ROTATE).
+
+
+
+ Length
+
+ type
+ float
+ tooltip
+ Specifies the animation duration, in frames (or radians for ROTATE).
+
+
+
+ Rate
+
+ type
+ float
+ tooltip
+ Specifies the animation playback rate, in frames per second (must be greater than zero).
+
+
+
+ tooltip
+ Animates a texture on the prim specified by LinkNumber, by setting the texture scale and offset.\nMode is a bitmask of animation options.\nFace specifies which object face to animate.\nSizeX and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\nLength specifies the animation duration.\nRate specifies the animation playback rate.
+
+ llSetLocalRot
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ tooltip
+ Sets the rotation of a child prim relative to the root prim.
+
+ llSetMemoryLimit
+
+ return
+ integer
+ arguments
+
+
+ Limit
+
+ type
+ integer
+ tooltip
+ The amount to reserve, which must be less than the allowed maximum (currently 64KB) and not already have been exceeded.
+
+
+
+ tooltip
+ Requests Limit bytes to be reserved for this script.\nReturns TRUE or FALSE indicating whether the limit was set successfully.\nThis function has no effect if the script is running in the LSO VM.
+
+ llSetObjectDesc
+
+
+ return
+ void
+ arguments
+
+
+ Description
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Sets the description of the prim to Description.\nThe description field is limited to 127 characters.
+
+ llSetObjectName
+
+ return
+ void
+ arguments
+
+
+ Name
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Sets the prim's name to Name.
+
+ llSetObjectPermMask
+
+ god-mode
+ true
+ return
+ void
+ arguments
+
+
+ PermissionFlag
+
+ type
+ integer
+ tooltip
+ MASK_* flag
+
+
+
+ PermissionMask
+
+ type
+ integer
+ tooltip
+ Permission bit-field (PERM_* flags)
+
+
+
+ tooltip
+ Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to.
+
+ llSetParcelMusicURL
+
+ sleep
+ 2.0
+ return
+ void
+ arguments
+
+
+ URL
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Sets the streaming audio URL for the parcel the object is on.\nThe object must be owned by the owner of the parcel; if the parcel is group owned the object must be owned by that group.
+
+ llSetPayPrice
+
+ return
+ void
+ arguments
+
+
+ Price
+
+ type
+ integer
+ tooltip
+ The default price shown in the textu input field.
+
+
+
+ QuickButtons
+
+ type
+ list
+ tooltip
+ Specifies the 4 payment values shown in the payment dialog's buttons (or PAY_HIDE).
+
+
+
+ tooltip
+ Sets the default amount when someone chooses to pay this object.\nPrice is the default price shown in the textu input field. QuickButtons specifies the 4 payment values shown in the payment dialog's buttons.\nInput field and buttons may be hidden with PAY_HIDE constant, and may be set to their default values using PAY_DEFAULT.
+
+ llSetPhysicsMaterial
+
+ energy
+ 0.0
+ return
+ void
+ arguments
+
+
+ MaterialBits
+
+ type
+ integer
+ tooltip
+ A bitmask specifying which of the parameters in the other arguments should be applied to the object.
+
+
+
+ GravityMultiplier
+
+ type
+ float
+ tooltip
+
+
+
+
+ Restitution
+
+ type
+ float
+ tooltip
+
+
+
+
+ Friction
+
+ type
+ float
+ tooltip
+
+
+
+
+ Density
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Sets the selected parameters of the object's physics behavior.\nMaterialBits is a bitmask specifying which of the parameters in the other arguments should be applied to the object. GravityMultiplier, Restitution, Friction, and Density are the possible parameters to manipulate.
+
+ llSetPos
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+ Region coordinates to move to (within 10m).
+
+
+
+ tooltip
+ If the object is not physical, this function sets the position of the prim.\nIf the script is in a child prim, Position is treated as root relative and the link-set is adjusted.\nIf the prim is the root prim, the entire object is moved (up to 10m) to Position in region coordinates.
+
+ llSetPrimitiveParams
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ Parameters
+
+ type
+ list
+ tooltip
+ A list of changes.
+
+
+
+ tooltip
+ This function changes the many properties (or "parameters") of a prim in one operation. Parameters is a list of changes.
+
+ llSetPrimMediaParams
+
+ sleep
+ 1.0
+ return
+ integer
+ arguments
+
+
+ Face
+
+ type
+ integer
+ tooltip
+ Face number
+
+
+
+ MediaParameters
+
+ type
+ list
+ tooltip
+ A set of name/value pairs (in no particular order)
+
+
+
+ tooltip
+ Sets the MediaParameters for a particular Face on the prim. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters is a set of name/value pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified.
+
+ llSetPrimURL
+
+ deprecated
+ true
+ sleep
+ 20.0
+ return
+ void
+ arguments
+
+
+ URL
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Deprecated: Use llSetPrimMediaParams instead.
+
+ llSetRegionPos
+
+ energy
+ 0.0
+ return
+ integer
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+ Vector. The location to move to, in region coordinates.
+
+
+
+ tooltip
+ Attempts to move the object so that the root prim is within 0.1m of Position.\nReturns an integer boolean, TRUE if the object is successfully placed within 0.1 m of Position, FALSE otherwise.\nPosition may be any location within the region or up to 10m across a region border.\nIf the position is below ground, it will be set to the ground level at that x,y location.
+
+ llSetRemoteScriptAccessPin
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ PIN
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ If PIN is set to a non-zero number, the task will accept remote script loads via llRemoteLoadScriptPin() if it passes in the correct PIN. Othersise, llRemoteLoadScriptPin() is ignored.
+
+ llSetRot
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ tooltip
+ If the object is not physical, this function sets the rotation of the prim.\nIf the script is in a child prim, Rotation is treated as root relative and the link-set is adjusted.\nIf the prim is the root prim, the entire object is rotated to Rotation in the global reference frame.
+
+ llSetScale
+
+ return
+ void
+ arguments
+
+
+ Scale
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Sets the prim's scale (size) to Scale.
+
+ llSetScriptState
+
+ return
+ void
+ arguments
+
+
+ ScriptName
+
+ type
+ string
+ tooltip
+
+
+
+
+ Running
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Enable or disable the script Running state of Script in the prim.
+
+ llSetSitText
+
+ return
+ void
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Displays Text rather than 'Sit' in the viewer's context menu.
+
+ llSetSoundQueueing
+
+ return
+ void
+ arguments
+
+
+ QueueEnable
+
+ type
+ integer
+ tooltip
+ Boolean, sound queuing: TRUE enables, FALSE disables (default).
+
+
+
+ tooltip
+ Sets whether successive calls to llPlaySound, llLoopSound, etc., (attached sounds) interrupt the currently playing sound.\nThe default for objects is FALSE. Setting this value to TRUE will make the sound wait until the current playing sound reaches its end. The queue is one level deep.
+
+ llSetSoundRadius
+
+ return
+ void
+ arguments
+
+
+ Radius
+
+ type
+ float
+ tooltip
+ Maximum distance that sounds can be heard.
+
+
+
+ tooltip
+ Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius.
+
+ llSetStatus
+
+ return
+ void
+ arguments
+
+
+ Status
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Value
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Sets object status specified in Status bitmask (e.g. STATUS_PHYSICS|STATUS_PHANTOM) to boolean Value.\nFor a full list of STATUS_* constants, see wiki documentation.
+
+ llSetText
+
+ return
+ void
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ Color
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Opacity
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Causes Text to float above the prim, using the specified Color and Opacity.
+
+ llSetTexture
+
+ sleep
+ 0.2
+ return
+ void
+ arguments
+
+
+ Texture
+
+ type
+ string
+ tooltip
+
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Applies Texture to Face of prim.\nTexture may be a UUID or name of a texture in prim inventory.\nIf Face is ALL_SIDES, set the texture on all faces.
+
+ llSetTextureAnim
+
+ return
+ void
+ arguments
+
+
+ Mode
+
+ type
+ integer
+ tooltip
+ Mask of Mode flags.
+
+
+
+ Face
+
+ type
+ integer
+ tooltip
+ Face number or ALL_SIDES.
+
+
+
+ SizeX
+
+ type
+ integer
+ tooltip
+ Horizontal frames (ignored for ROTATE and SCALE).
+
+
+
+ SizeY
+
+ type
+ integer
+ tooltip
+ Vertical frames (ignored for ROTATE and SCALE).
+
+
+
+ Start
+
+ type
+ float
+ tooltip
+ Start position/frame number (or radians for ROTATE).
+
+
+
+ Length
+
+ type
+ float
+ tooltip
+ number of frames to display (or radians for ROTATE).
+
+
+
+ Rate
+
+ type
+ float
+ tooltip
+ Frames per second (must not greater than zero).
+
+
+
+ tooltip
+ Animates a texture by setting the texture scale and offset.\nMode is a bitmask of animation options.\nFace specifies which object face to animate.\nSizeX and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\nLength specifies the animation duration.\nRate specifies the animation playback rate.
+
+ llSetTimerEvent
+
+ return
+ void
+ arguments
+
+
+ Rate
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Causes the timer event to be triggered every Rate seconds.\n Passing in 0.0 stops further timer events.
+
+ llSetTorque
+
+ return
+ void
+ arguments
+
+
+ Torque
+
+ type
+ vector
+ tooltip
+ Torque force.
+
+
+
+ Local
+
+ type
+ integer
+ tooltip
+ Boolean, if TRUE uses local axis, if FALSE uses region axis.
+
+
+
+ tooltip
+ Sets the Torque acting on the script's object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects.
+
+ llSetTouchText
+
+ return
+ void
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Displays Text in the viewer context menu that acts on a touch.
+
+ llSetVehicleFlags
+
+
+ return
+ void
+ arguments
+
+
+ Flags
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Enables the vehicle flags specified in the Flags bitmask.\nValid parameters can be found in the wiki documentation.
+
+ llSetVehicleFloatParam
+
+ return
+ void
+ arguments
+
+
+ ParameterName
+
+ type
+ integer
+ tooltip
+
+
+
+
+ ParameterValue
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Sets a vehicle float parameter.\nValid parameters can be found in the wiki documentation.
+
+ llSetVehicleRotationParam
+
+ return
+ void
+ arguments
+
+
+ ParameterName
+
+ type
+ integer
+ tooltip
+
+
+
+
+ ParameterValue
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ tooltip
+ Sets a vehicle rotation parameter.\nValid parameters can be found in the wiki documentation.
+
+ llSetVehicleType
+
+ return
+ void
+ arguments
+
+
+ Type
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Activates the vehicle action on the object with vehicle preset Type.\nValid Types and an explanation of their characteristics can be found in wiki documentation.
+
+ llSetVehicleVectorParam
+
+ return
+ void
+ arguments
+
+
+ ParameterName
+
+ type
+ integer
+ tooltip
+
+
+
+
+ ParameterValue
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Sets a vehicle vector parameter.\nValid parameters can be found in the wiki documentation.
+
+ llSetVelocity
+
+ return
+ void
+ arguments
+
+
+ Velocity
+
+ type
+ vector
+ tooltip
+ The velocity to apply.
+
+
+
+ Local
+
+ type
+ integer
+ tooltip
+ If TRUE, the Velocity is treated as a local directional vector instead of a regional directional vector.
+
+
+
+ tooltip
+ If the object is physics-enabled, sets the object's linear velocity to Velocity.\nIf Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global directional vector.
+
+ llSHA1String
+
+ return
+ string
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns a string of 40 hex characters that is the SHA1 security Hash of Text.
+
+ llShout
+
+ return
+ void
+ arguments
+
+
+ Channel
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Shouts Text on Channel.\nThis chat method has a range of 100m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts.
+
+ llSin
+
+ return
+ float
+ arguments
+
+
+ Theta
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns the sine of Theta (Theta in radians).
+
+ llSitTarget
+
+ return
+ void
+ arguments
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Rotation
+
+ type
+ rotation
+ tooltip
+
+
+
+
+ tooltip
+ Set the sit location for this object. If offset == ZERO_VECTOR, clears the sit target.
+
+ llSleep
+
+ return
+ void
+ arguments
+
+
+ Time
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Put script to sleep for Time seconds.
+
+ llSound
+
+ deprecated
+ true
+ return
+ void
+ arguments
+
+
+ Sound
+
+ type
+ string
+ tooltip
+
+
+
+
+ Volume
+
+ type
+ float
+ tooltip
+
+
+
+
+ Queue
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Loop
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Deprecated: Use llPlaySound instead.\nPlays Sound at Volume and specifies whether the sound should loop and/or be enqueued.
+
+ llSoundPreload
+
+ deprecated
+ true
+ return
+ void
+ arguments
+
+
+ Sound
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Deprecated: Use llPreloadSound instead.\nPreloads a sound on viewers within range.
+
+ llSqrt
+
+ return
+ float
+ arguments
+
+
+ Value
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns the square root of Value.\nTriggers a math runtime error for imaginary results (if Value < 0.0).
+
+ llStartAnimation
+
+ return
+ void
+ arguments
+
+
+ Animation
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ This function plays the specified animation from playing on the avatar who received the script's most recent permissions request.\nAnimation may be an animation in task inventory or a built-in animation.\nRequires PERMISSION_TRIGGER_ANIMATION.
+
+ llStopAnimation
+
+ return
+ void
+ arguments
+
+
+ Animation
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ This function stops the specified animation on the avatar who received the script's most recent permissions request.\nAnimation may be an animation in task inventory, a built-in animation, or the uuid of an animation.\nRequires PERMISSION_TRIGGER_ANIMATION.
+
+ llStopHover
+
+ return
+ void
+ arguments
+
+ tooltip
+ Stop hovering to a height (due to llSetHoverHeight()).
+
+ llStopLookAt
+
+ return
+ void
+ arguments
+
+ tooltip
+ Stop causing object to point at a target (due to llLookAt() or llRotLookAt()).
+
+ llStopMoveToTarget
+
+ return
+ void
+ arguments
+
+ tooltip
+ Stops critically damped motion (due to llMoveToTarget()).
+
+ llStopSound
+
+ return
+ void
+ arguments
+
+ tooltip
+ Stops playback of the currently attached sound.
+
+ llStringLength
+
+ return
+ integer
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns an integer that is the number of characters in Text (not counting the null).
+
+ llStringToBase64
+
+ return
+ string
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns the string Base64 representation of the input string.
+
+ llStringTrim
+
+ return
+ string
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+ String to trim
+
+
+
+ TrimType
+
+ type
+ integer
+ tooltip
+ STRING_TRIM_HEAD, STRING_TRIM_TAIL, or STRING_TRIM.
+
+
+
+ tooltip
+ Outputs a string, eliminating white-space from the start and/or end of the input string Text.\nValid options for TrimType:\nSTRING_TRIM_HEAD: trim all leading spaces in Text\nSTRING_TRIM_TAIL: trim all trailing spaces in Text\nSTRING_TRIM: trim all leading and trailing spaces in Text.
+
+ llSubStringIndex
+
+ return
+ integer
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ Sequence
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns an integer that is the index in Text where string pattern Sequence first appears. Returns -1 if not found.
+
+ llTakeCamera
+
+ deprecated
+ true
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Deprecated: Use llSetCameraParams instead.
+
+ llTakeControls
+
+ return
+ void
+ arguments
+
+
+ Controls
+
+ type
+ integer
+ tooltip
+ Bit-field of CONTROL_* flags.
+
+
+
+ Accept
+
+ type
+ integer
+ tooltip
+ Boolean, determines whether control events are generated.
+
+
+
+ PassOn
+
+ type
+ integer
+ tooltip
+ Boolean, determines whether controls are disabled.
+
+
+
+ tooltip
+ Take controls from the agent the script has permissions for.\nIf (Accept == (Controls & input)), send input to the script. PassOn determines whether Controls also perform their normal functions.\nRequires the PERMISSION_TAKE_CONTROLS permission to run.
+
+ llTan
+
+ return
+ float
+ arguments
+
+
+ Theta
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Returns the tangent of Theta (Theta in radians).
+
+ llTarget
+
+ return
+ integer
+ arguments
+
+
+ Position
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Range
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ This function is to have the script know when it has reached a position.\nIt registers a Position with a Range that triggers at_target and not_at_target events continuously until unregistered.
+
+ llTargetOmega
+
+
+ return
+ void
+ arguments
+
+
+ Axis
+
+ type
+ vector
+ tooltip
+
+
+
+
+ SpinRate
+
+ type
+ float
+ tooltip
+
+
+
+
+ Gain
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Attempt to spin at SpinRate with strength Gain on Axis.\nA spin rate of 0.0 cancels the spin. This function always works in object-local coordinates.
+
+ llTargetRemove
+
+ return
+ void
+ arguments
+
+
+ Target
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Removes positional target Handle registered with llTarget.
+
+ llTeleportAgent
+
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+ UUID of avatar.
+
+
+
+ LandmarkName
+
+ type
+ string
+ tooltip
+ Name of landmark (in object contents), or empty string, to use.
+
+
+
+ Position
+
+ type
+ vector
+ tooltip
+ If no landmark was provided, the position within the current region to teleport the avatar to.
+
+
+
+ LookAtPoint
+
+ type
+ vector
+ tooltip
+ The position within the target region that the avatar should be turned to face upon arrival.
+
+
+
+ tooltip
+ Requests a teleport of avatar to a landmark stored in the object's inventory. If no landmark is provided (an empty string), the avatar is teleported to the location position in the current region. In either case, the avatar is turned to face the position given by look_at in local coordinates.\nRequires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.
+
+ llTeleportAgentGlobalCoords
+
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+ UUID of avatar.
+
+
+
+ GlobalPosition
+
+ type
+ vector
+ tooltip
+ Global coordinates of the destination region. Can be retrieved by using llRequestSimulatorData(region_name, DATA_SIM_POS).
+
+
+
+ RegionPosition
+
+ type
+ vector
+ tooltip
+ The position within the target region to teleport the avatar to, if no landmark was provided.
+
+
+
+ LookAtPoint
+
+ type
+ vector
+ tooltip
+ The position within the target region that the avatar should be turned to face upon arrival.
+
+
+
+ tooltip
+ Teleports an agent to the RegionPosition local coordinates within a region which is specified by the GlobalPosition global coordinates. The agent lands facing the position defined by LookAtPoint local coordinates.\nRequires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.
+
+ llTeleportAgentHome
+
+ sleep
+ 5.0
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ Teleport agent over the owner's land to agent's home location.
+
+ llTextBox
+
+ sleep
+ 1.0
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ Channel
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Opens a dialog for the specified avatar with message Text, which contains a text box for input. Any text that is entered is said on the specified Channel (as if by the avatar) when the "OK" button is clicked.
+
+ llToLower
+
+ return
+ string
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns a string that is Text with all lower-case characters.
+
+ llToUpper
+
+ return
+ string
+ arguments
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns a string that is Text with all upper-case characters.
+
+ llTransferLindenDollars
+
+ return
+ key
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ Amount
+
+ type
+ integer
+ tooltip
+
+
+
+
+ tooltip
+ Transfer Amount of linden dollars (L$) from script owner to AvatarID. Returns a key to a corresponding transaction_result event for the success of the transfer.\nAttempts to send the amount of money to the specified avatar, and trigger a transaction_result event identified by the returned key.
+
+ llTriggerSound
+
+ return
+ void
+ arguments
+
+
+ Sound
+
+ type
+ string
+ tooltip
+
+
+
+
+ Volume
+
+ type
+ float
+ tooltip
+
+
+
+
+ tooltip
+ Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object.\nThere is no limit to the number of triggered sounds which can be generated by an object, and calling llTriggerSound does not affect the attached sounds created by llPlaySound and llLoopSound. This is very useful for things like collision noises, explosions, etc. There is no way to stop or alter the volume of a sound triggered by this function.
+
+ llTriggerSoundLimited
+
+ return
+ void
+ arguments
+
+
+ Sound
+
+ type
+ string
+ tooltip
+
+
+
+
+ Volume
+
+ type
+ float
+ tooltip
+
+
+
+
+ TNE
+
+ type
+ vector
+ tooltip
+
+
+
+
+ BSW
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object, limited to axis-aligned bounding box defined by vectors top-north-east (TNE) and bottom-south-west (BSW).\nThere is no limit to the number of triggered sounds which can be generated by an object, and calling llTriggerSound does not affect the attached sounds created by llPlaySound and llLoopSound. This is very useful for things like collision noises, explosions, etc. There is no way to stop or alter the volume of a sound triggered by this function.
+
+ llUnescapeURL
+
+ return
+ string
+ arguments
+
+
+ URL
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Returns the string that is the URL unescaped, replacing "%20" with spaces, etc., version of URL.\nThis function can output raw UTF-8 strings.
+
+ llUnSit
+
+ return
+ void
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ tooltip
+ If agent identified by AvatarID is sitting on the object the script is attached to or is over land owned by the objects owner, the agent is forced to stand up.
+
+ llVecDist
+
+ return
+ float
+ arguments
+
+
+ Location1
+
+ type
+ vector
+ tooltip
+
+
+
+
+ Location2
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the distance between Location1 and Location2.
+
+ llVecMag
+
+ return
+ float
+ arguments
+
+
+ Vector
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the magnitude of the vector.
+
+ llVecNorm
+
+ return
+ vector
+ arguments
+
+
+ Vector
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns normalized vector.
+
+ llVolumeDetect
+
+
+ return
+ void
+ arguments
+
+
+ DetectEnabled
+
+ type
+ integer
+ tooltip
+ TRUE enables, FALSE disables.
+
+
+
+ tooltip
+ If DetectEnabled = TRUE, object becomes phantom but triggers collision_start and collision_end events when other objects start and stop interpenetrating.\nIf another object (including avatars) interpenetrates it, it will get a collision_start event.\nWhen an object stops interpenetrating, a collision_end event is generated. While the other is inter-penetrating, collision events are NOT generated.
+
+ llWater
+
+ return
+ float
+ arguments
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the water height below the object position + Offset.
+
+ llWhisper
+
+ return
+ void
+ arguments
+
+
+ Channel
+
+ type
+ integer
+ tooltip
+
+
+
+
+ Text
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Whispers Text on Channel.\nThis chat method has a range of 10m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts.
+
+ llWind
+
+ return
+ vector
+ arguments
+
+
+ Offset
+
+ type
+ vector
+ tooltip
+
+
+
+
+ tooltip
+ Returns the wind velocity at the object position + Offset.
+
+ llXorBase64
+
+ return
+ string
+ arguments
+
+
+ Text1
+
+ type
+ string
+ tooltip
+
+
+
+
+ Text2
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Performs an exclusive OR on two Base64 strings and returns a Base64 string. Text2 repeats if it is shorter than Text1.
+
+ llXorBase64Strings
+
+ deprecated
+ true
+ sleep
+ 0.3
+ return
+ string
+ arguments
+
+
+ Text1
+
+ type
+ string
+ tooltip
+
+
+
+
+ Text2
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Deprecated: Please use llXorBase64 instead.\nIncorrectly performs an exclusive OR on two Base64 strings and returns a Base64 string. Text2 repeats if it is shorter than Text1.\nRetained for backwards compatibility.
+
+ llXorBase64StringsCorrect
+
+ deprecated
+ true
+ return
+ string
+ arguments
+
+
+ Text1
+
+ type
+ string
+ tooltip
+
+
+
+
+ Text2
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Deprecated: Please use llXorBase64 instead.\nCorrectly (unless nulls are present) performs an exclusive OR on two Base64 strings and returns a Base64 string.\nText2 repeats if it is shorter than Text1.
+
+ llGetMinScaleFactor
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns the smallest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.
+
+ llGetMaxScaleFactor
+
+ return
+ float
+ arguments
+
+ tooltip
+ Returns the largest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.
+
+ osAgentSaveAppearance
+
+ return
+ key
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ notecard
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ Creates a notecard with the specified avatar's current appearance inside the object
+
+ osTest
+
+ return
+ key
+ arguments
+
+
+ AvatarID
+
+ type
+ key
+ tooltip
+
+
+
+
+ notecard
+
+ type
+ string
+ tooltip
+
+
+
+
+ tooltip
+ dummy to test lslsyntax
+
+