diff --git a/indra/newview/app_settings/scriptlibrary_aa.xml b/indra/newview/app_settings/scriptlibrary_aa.xml
index 7bada58b43..9e3f9250b2 100644
--- a/indra/newview/app_settings/scriptlibrary_aa.xml
+++ b/indra/newview/app_settings/scriptlibrary_aa.xml
@@ -1,280 +1,343 @@
-
+
diff --git a/indra/newview/app_settings/scriptlibrary_lsl.xml b/indra/newview/app_settings/scriptlibrary_lsl.xml
index 6629a53d46..6f4f1fbb2e 100644
--- a/indra/newview/app_settings/scriptlibrary_lsl.xml
+++ b/indra/newview/app_settings/scriptlibrary_lsl.xml
@@ -1,2107 +1,2572 @@
-
+
llSin
- sleep
- 0
+ desc
+ float llSin(float theta)
+Returns the sine of theta (theta in radians)
llCos
- sleep
- 0
+ desc
+ float llCos(float theta)
+Returns the cosine of theta (theta in radians)
llTan
- sleep
- 0
+ desc
+ float llTan(float theta)
+Returns the tangent of theta (theta in radians)
llAtan2
- sleep
- 0
+ desc
+ float llAtan2(float y, float x)
+Returns the arctangent2 of y, x
llSqrt
- sleep
- 0
+ desc
+ float llSqrt(float val)
+Returns the square root of val, or returns 0 and triggers a Math Error for imaginary results
llPow
- sleep
- 0
+ desc
+ float llPow(float base, float exponent)
+Returns the base raised to the power exponent, or returns 0 and triggers Math Error for imaginary results
llAbs
- sleep
- 0
+ desc
+ integer llAbs(integer val)
+Returns the positive version of val
llFabs
- sleep
- 0
+ desc
+ float llFabs(float val)
+Returns the positive version of val
llFrand
- sleep
- 0
+ desc
+ float llFrand(float mag)
+Returns a pseudo random number in the range [0,mag) or (mag,0]
llFloor
- sleep
- 0
+ desc
+ integer llFloor(float val)
+Returns largest integer value <= val
llCeil
- sleep
- 0
+ desc
+ integer llCeil(float val)
+Returns smallest integer value >= val
llRound
- sleep
- 0
+ desc
+ integer llRound(float val)
+Returns val rounded to the nearest integer
llVecMag
- sleep
- 0
+ desc
+ float llVecMag(vector v)
+Returns the magnitude of v
llVecNorm
- sleep
- 0
+ desc
+ vector llVecNorm(vector v)
+Returns the v normalized
llVecDist
- sleep
- 0
+ desc
+ float llVecDist(vector v1, vector v2)
+Returns the 3D distance between v1 and v2
llRot2Euler
- sleep
- 0
+ desc
+ vector llRot2Euler(rotation q)
+Returns the Euler representation (roll, pitch, yaw) of q
llEuler2Rot
- sleep
- 0
+ desc
+ rotation llEuler2Rot(vector v)
+Returns the rotation representation of Euler Angles v
llAxes2Rot
- sleep
- 0
+ desc
+ rotation llAxes2Rot(vector fwd, vector left, vector up)
+Returns the rotation defined by the coordinate axes
llRot2Fwd
- sleep
- 0
+ desc
+ vector llRot2Fwd(rotation q)
+Returns the forward vector defined by q
llRot2Left
- sleep
- 0
+ desc
+ vector llRot2Left(rotation q)
+Returns the left vector defined by q
llRot2Up
- sleep
- 0
+ desc
+ vector llRot2Up(rotation q)
+Returns the up vector defined by q
llRotBetween
- sleep
- 0
+ desc
+ rotation llRotBetween(vector v1, vector v2)
+Returns the rotation to rotate v1 to v2
llWhisper
- sleep
- 0
+ desc
+ llWhisper(integer channel, string message)
+Whispers the text of message on channel
llSay
- sleep
- 0
+ desc
+ llSay(integer channel, string message)
+Says the text of message on channel
llShout
- sleep
- 0
+ desc
+ llShout(integer channel, string message)
+Shouts the text of message on channel
llListen
- sleep
- 0
+ desc
+ integer llListen(integer channel, string name, key id, string message)
+Sets a callback for message on channel from name and id (name, id, and/or message can be empty) and returns an identifier that can be used to deactivate or remove the listen
llListenControl
- sleep
- 0
+ desc
+ llListenControl(integer number, integer active)
+Makes a listen event callback active or inactive
llListenRemove
- sleep
- 0
+ desc
+ llListenRemove(integer number)
+Removes listen event callback number
llSensor
- sleep
- 0
+ desc
+ llSensor(string name, key id, integer type, float range, float arc)
+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 (name, id, and/or keytype can be empty or 0)
llSensorRepeat
- sleep
- 0
+ desc
+ llSensorRepeat(string name, key id, integer type, float range, float arc, float rate)
+Sets a callback for name and id with type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within range meters and arc radians of forward vector (name, id, and/or keytype can be empty or 0) and repeats every rate seconds
llSensorRemove
- sleep
- 0
+ desc
+ llSensorRemove()
+Removes the sensor setup by llSensorRepeat
llDetectedName
- sleep
- 0
+ desc
+ string llDetectedName(integer number)
+Returns the name of detected object number (returns empty string if number is not a valid sensed object)
llDetectedKey
- sleep
- 0
+ desc
+ key llDetectedKey(integer number)
+Returns the key of detected object number (returns empty key if number is not a valid sensed object)
llDetectedOwner
- sleep
- 0
+ desc
+ key llDetectedOwner(integer number)
+Returns the key of detected object's owner (returns empty key if number is not a valid sensed object)
llDetectedType
- sleep
- 0
+ desc
+ integer llDetectedType(integer number)
+Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object (returns 0 if number is not a valid sensed object)
llDetectedPos
- sleep
- 0
+ desc
+ vector llDetectedPos(integer number)
+Returns the position of detected object number (returns <0,0,0> if number is not a valid sensed object)
llDetectedVel
- sleep
- 0
+ desc
+ vector llDetectedVel(integer number)
+Returns the velocity of detected object number (returns <0,0,0> if number is not a valid sensed object)
llDetectedGrab
- sleep
- 0
+ desc
+ vector llDetectedGrab(integer number)
+Returns the grab offset of the user touching object (returns <0,0,0> if number is not a valid sensed object)
llDetectedRot
- sleep
- 0
+ desc
+ rotation llDetectedRot(integer number)
+Returns the rotation of detected object number (returns <0,0,0,1> if number is not a valid sensed object)
llDetectedGroup
- sleep
- 0
+ desc
+ integer llDetectedGroup(integer number)
+Returns TRUE if detected object is part of same group as owner
llDetectedLinkNumber
- sleep
- 0
+ desc
+ integer llDetectedLinkNumber(integer number)
+Returns the link position of the triggered event for touches and collisions only
llDie
- sleep
- 0
+ desc
+ llDie()
+Deletes the object
llGround
- sleep
- 0
+ desc
+ float llGround(vector offset)
+Returns the ground height below the object position + offset
llCloud
- sleep
- 0
+ desc
+ float llCloud(vector offset)
+Returns the cloud density at the object position + offset
llWind
- sleep
- 0
+ desc
+ vector llWind(vector offset)
+Returns the wind velocity at the object position + offset
llSetStatus
- sleep
- 0
+ desc
+ llSetStatus(integer status, integer value)
+Sets status (STATUS_PHYSICS, STATUS_PHANTOM, STATUS_BLOCK_GRAB, STATUS_ROTATE_X, STATUS_ROTATE_Y, and/or STATUS_ROTATE_Z) to value
llGetStatus
- sleep
- 0
+ desc
+ integer llGetStatus(integer status)
+Returns value of status (STATUS_PHYSICS, STATUS_PHANTOM, STATUS_BLOCK_GRAB, STATUS_ROTATE_X, STATUS_ROTATE_Y, and/or STATUS_ROTATE_Z)
llSetScale
- sleep
- 0
+ desc
+ llSetScale(vector scale)
+Sets the scale of the prim
llGetScale
- sleep
- 0
+ desc
+ vector llGetScale()
+Returns the scale of the prim
llSetColor
- sleep
- 0
+ desc
+ llSetColor(vector color, integer face)
+Sets the color on face of the prim
llGetAlpha
- sleep
- 0
+ desc
+ float llGetAlpha(integer face)
+Returns the alpha of face
llSetAlpha
- sleep
- 0
+ desc
+ llSetAlpha(float alpha, integer face)
+Sets the alpha on face
llGetColor
- sleep
- 0
+ desc
+ vector llGetColor(integer face)
+Returns the color on face
llSetTexture
- sleep
- 0
+ desc
+ llSetTexture(string texture, integer face)
+Sets the texture of face or ALL_SIDES
llScaleTexture
- sleep
- 0.2
+ desc
+ llScaleTexture(float u, float v, integer face)
+Sets the texture u & v scales for the chosen face or ALL_SIDES
+(Sleep: 0.2)
llOffsetTexture
- sleep
- 0.2
+ desc
+ llOffsetTexture(float u, float v, integer face)
+Sets the texture u & v offsets for the chosen face or ALL_SIDES
+(Sleep: 0.2)
llRotateTexture
- sleep
- 0.2
+ desc
+ llRotateTexture(float rotation, integer face)
+Sets the texture rotation for the chosen face
+(sleep: 0.2)
llGetTexture
- sleep
- 0
+ desc
+ string llGetTexture(integer face)
+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)
llSetPos
- sleep
- 0
+ desc
+ llSetPos(vector pos)
+Moves the object or prim towards pos without using physics (if the script isn't physical)
llGetPos
- sleep
- 0
+ desc
+ vector llGetPos()
+Returns the position of the task in region coordinates
llGetLocalPos
- sleep
- 0
+ desc
+ vector llGetLocalPos()
+Returns the position relative to the root
llSetRot
- sleep
- 0.2
+ desc
+ llSetRot(rotation rot)
+Sets the rotation
+(Sleep: 0.2)
llGetRot
- sleep
- 0
+ desc
+ rotation llGetRot()
+Returns the rotation relative to the region's axes
llGetLocalRot
- sleep
- 0
+ desc
+ rotation llGetLocalRot()
+Returns the rotation local to the root
llSetForce
- sleep
- 0
+ desc
+ llSetForce(vector force, integer local)
+Applies force to the object (if the script is physical), in local coords if local == TRUE
llGetForce
- sleep
- 0
+ desc
+ vector llGetForce()
+Returns the force (if the script is physical)
llTarget
- sleep
- 0
+ desc
+ integer llTarget(vector position, float range)
+Sets positions within range of position as a target and return an ID for the target
llTargetRemove
- sleep
- 0
+ desc
+ llTargetRemove(integer number)
+Removes positional target number registered with llTarget
llRotTarget
- sleep
- 0
+ desc
+ integer llRotTarget(rotation rot, float error)
+Set rotations with error of rot as a rotational target and return an ID for the rotational target
llRotTargetRemove
- sleep
- 0
+ desc
+ llRotTargetRemove(integer number)
+Removes rotational target number registered with llRotTarget
llMoveToTarget
- sleep
- 0
+ desc
+ llMoveToTarget(vector target, float tau)
+Critically damps to target in tau seconds (if the script is physical)
llStopMoveToTarget
- sleep
- 0
+ desc
+ llStopMoveToTarget()
+Stops critically damped motion
llApplyImpulse
- sleep
- 0
+ desc
+ llApplyImpulse(vector force, integer local)
+Applies impulse to object (if the script is physical), in local coords if local == TRUE
llApplyRotationalImpulse
- sleep
- 0
+ desc
+ llApplyRotationalImpulse(vector force, integer local)
+Applies rotational impulse to object (if the script is physical), in local coords if local == TRUE
llSetTorque
- sleep
- 0
+ desc
+ llSetTorque(vector torque, integer local)
+Sets the torque of object (if the script is physical), in local coords if local == TRUE
llGetTorque
- sleep
- 0
+ desc
+ vector llGetTorque()
+Returns the torque (if the script is physical)
llSetForceAndTorque
- sleep
- 0
+ desc
+ llSetForceAndTorque(vector force, vector torque, integer local)
+Sets the force and torque of object (if the script is physical), in local coords if local == TRUE
llGetVel
- sleep
- 0
+ desc
+ vector llGetVel()
+Returns the velocity of the object
llGetAccel
- sleep
- 0
+ desc
+ vector llGetAccel()
+Returns the acceleration of the object relative to the region's axes
llGetOmega
- sleep
- 0
+ desc
+ vector llGetOmega()
+Returns the rotation velocity in radians per second
llGetTimeOfDay
- sleep
- 0
+ desc
+ float llGetTimeOfDay()
+Returns the time in seconds since grid server midnight or since region up-time, whichever is smaller
llGetWallclock
- sleep
- 0
+ desc
+ float llGetWallclock()
+Returns the time in seconds since midnight California Pacific time (PST/PDT)
llGetTime
- sleep
- 0
+ desc
+ float llGetTime()
+Returns the time in seconds since the last region reset, script reset, or call to either llResetTime or llGetAndResetTime
llResetTime
- sleep
- 0
+ desc
+ llResetTime()
+Sets the script timer to zero
llGetAndResetTime
- sleep
- 0
+ desc
+ float llGetAndResetTime()
+Returns the script time in seconds and then resets the script timer to zero
llSound
- sleep
- 0
+ desc
+ llSound(string sound, float volume, integer queue, integer loop)
+Plays sound at volume and whether it should loop or not.
llPlaySound
- sleep
- 0
+ desc
+ llPlaySound(string sound, float volume)
+Plays attached sound once at volume (0.0 - 1.0)
llLoopSound
- sleep
- 0
+ desc
+ llLoopSound(string sound, float volume)
+Plays attached sound looping indefinitely at volume (0.0 - 1.0)
llLoopSoundMaster
- sleep
- 0
+ desc
+ llLoopSoundMaster(string sound, float volume)
+Plays attached sound looping at volume (0.0 - 1.0), declares it a sync master
llLoopSoundSlave
- sleep
- 0
+ desc
+ llLoopSoundSlave(string sound, float volume)
+Plays attached sound looping at volume (0.0 - 1.0), synced to most audible sync master
llPlaySoundSlave
- sleep
- 0
+ desc
+ llPlaySoundSlave(string sound, float volume)
+Plays attached sound once at volume (0.0 - 1.0), synced to next loop of most audible sync master
llTriggerSound
- sleep
- 0
+ desc
+ llTriggerSound(string sound, float volume)
+Plays sound at volume (0.0 - 1.0), centered at but not attached to object
llStopSound
- sleep
- 0
+ desc
+ llStopSound()
+Stops currently attached sound
llPreloadSound
- sleep
- 1
+ desc
+ llPreloadSound(string sound)
+Preloads a sound on viewers within range
+(Sleep: 1.0)
llGetSubString
- sleep
- 0
+ desc
+ string llGetSubString(string src, integer start, integer end)
+Returns the indicated substring
llDeleteSubString
- sleep
- 0
+ desc
+ string llDeleteSubString(string src, integer start, integer end)
+Removes the indicated substring and returns the result
llInsertString
- sleep
- 0
+ desc
+ string llInsertString(string dst, integer position, string src)
+Returns a destination string dst with the string src inserted starting at position pos
llToUpper
- sleep
- 0
+ desc
+ string llToUpper(string src)
+Returns a string that is src with all upper-case characters
llToLower
- sleep
- 0
+ desc
+ string llToLower(string src)
+Returns a string that is src with all lower-case characters
llGiveMoney
- sleep
- 0
+ desc
+ llGiveMoney(key destination, integer amount)
+Transfers amount of L$ from script owner to destination
llMakeExplosion
- sleep
- 0.1
+ desc
+ llMakeExplosion(integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset)
+Makes a round explosion of particles
+(Sleep: 0.1)
llMakeFountain
- sleep
- 0.1
+ desc
+ llMakeFountain(integer particles, float scale, float vel, float lifetime, float arc, integer bounce, string texture, vector offset, float bounce_offset)
+Makes a fountain of particles
+(Sleep: 0.1)
llMakeSmoke
- sleep
- 0.1
+ desc
+ llMakeSmoke(integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset)
+Makes smoke like particles
+(Sleep: 0.1)
llMakeFire
- sleep
- 0.1
+ desc
+ llMakeFire(integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset)
+Makes fire like particles
+(Sleep: 0.1)
llRezObject
- sleep
- 0.1
+ desc
+ llRezObject(string inventory, vector pos, vector vel, rotation rot, integer param)
+Instantiates owner's inventory object at pos with velocity vel and rotation rot with start parameter param
+(Sleep 0.1)
llLookAt
- sleep
- 0
+ desc
+ llLookAt(vector target, float strength, float damping)
+Causes object to point its up axis (positive z) towards target, while keeping its forward axis (positive x) below the horizon
llStopLookAt
- sleep
- 0
+ desc
+ llStopLookAt()
+Stops causing object to point at a target
llSetTimerEvent
- sleep
- 0
+ desc
+ llSetTimerEvent(float sec)
+Causes the timer event to be triggered a maximum of once every sec seconds
llSleep
- sleep
- 0
+ desc
+ llSleep(float sec)
+Puts the script to sleep for sec seconds
llGetMass
- sleep
- 0
+ desc
+ float llGetMass()
+Returns the mass of object that the script is attached to
llCollisionFilter
- sleep
- 0
+ desc
+ llCollisionFilter(string name, key id, integer accept)
+Sets the collision filter, exclusively or inclusively. If accept == TRUE, only accept collisions with objects name and id (either is optional), otherwise with objects not name or id
llTakeControls
- sleep
- 0
+ desc
+ llTakeControls(integer controls, integer accept, integer pass_on)
+Allows for intercepting keyboard and mouse clicks from the agent the script has permissions for
llReleaseControls
- sleep
- 0
+ desc
+ llReleaseControls()
+Stops taking inputs that were taken with llTakeControls
llAttachToAvatar
- sleep
- 0
+ desc
+ llAttachToAvatar(integer attach_point)
+Attaches the object to the avatar who has granted permission to the script
llDetachFromAvatar
- sleep
- 0
+ desc
+ llDetachFromAvatar()
+Detaches object from avatar
llTakeCamera
- sleep
- 0
+ desc
+ llTakeCamera(key avatar)
+Moves avatar's viewpoint to task
llReleaseCamera
- sleep
- 0
+ desc
+ llReleaseCamera(key avatar)
+Returns camera to agent avatar
llGetOwner
- sleep
- 0
+ desc
+ key llGetOwner()
+Returns the object owner's UUID
llInstantMessage
- sleep
- 2.0
+ desc
+ llInstantMessage(key user, string message)
+Sends the specified string as an Instant Message to the user
+(Sleep: 2.0)
llEmail
- sleep
- 20.0
+ desc
+ llEmail(string address, string subject, string message)
+Sends an email to address with the subject and message
+(Sleep: 20.0)
llGetNextEmail
- sleep
- 0
+ desc
+ llGetNextEmail(string address, string subject)
+Gets the next waiting email that comes from address, with specified subject
llGetKey
- sleep
- 0
+ desc
+ key llGetKey()
+Returns the key of the prim the script is attached to
llSetBuoyancy
- sleep
- 0
+ desc
+ llSetBuoyancy(float buoyancy)
+Sets the buoyancy of the task or object (0 is disabled, < 1.0 sinks, 1.0 floats, > 1.0 rises)
llSetHoverHeight
- sleep
- 0
+ desc
+ llSetHoverHeight(float height, integer water, float tau)
+Critically damps to a height above the ground (or water) in tau seconds
llStopHover
- sleep
- 0
+ desc
+ llStopHover()
+Stops hovering to a height
llMinEventDelay
- sleep
- 0
+ desc
+ llMinEventDelay(float delay)
+Sets the minimum time between events being handled
llSoundPreload
- sleep
- 0
+ desc
+ llSoundPreload(string sound)
+Preloads a sound on viewers within range
llRotLookAt
- sleep
- 0
+ desc
+ llRotLookAt(rotation target, float strength, float damping)
+Causes object to point its forward axis towards target
llStringLength
- sleep
- 0
+ desc
+ integer llStringLength(string str)
+Returns the length of string
llStartAnimation
- sleep
- 0
+ desc
+ llStartAnimation(string anim)
+Starts animation anim for agent that granted PERMISSION_TRIGGER_ANIMATION if the permission has not been revoked
llStopAnimation
- sleep
- 0
+ desc
+ llStopAnimation(string anim)
+Stops animation anim for agent that granted permission
llPointAt
- sleep
- 0
+ desc
+ llPointAt(vector pos)
+Makes agent that owns object point at pos
llStopPointAt
- sleep
- 0
+ desc
+ llStopPointAt()
+Stops pointing agent that owns object
llTargetOmega
- sleep
- 0
+ desc
+ llTargetOmega(vector axis, float spinrate, float gain)
+Rotates the object around axis at spinrate with strength gain
llGetStartParameter
- sleep
- 0
+ desc
+ integer llGetStartParameter()
+Returns an integer that is the script start/rez parameter
llGodLikeRezObject
- sleep
- 0
+ desc
+ llGodLikeRezObject(key inventory, vector pos)
+Rezzes directly off of UUID if owner is in God Mode
gods-only
true
llRequestPermissions
- sleep
- 0
+ desc
+ llRequestPermissions(key agent, integer perm)
+Asks the agent for permission to run certain classes of functions
llGetPermissionsKey
- sleep
- 0
+ desc
+ key llGetPermissionsKey()
+Returns the key of the avatar that last granted permissions to the script
llGetPermissions
- sleep
- 0
+ desc
+ integer llGetPermissions()
+Returns an integer bitfield with the permissions that have been granted
llGetLinkNumber
- sleep
- 0
+ desc
+ integer llGetLinkNumber()
+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)
llSetLinkColor
- sleep
- 0
+ desc
+ llSetLinkColor(integer linknumber, vector color, integer face)
+Sets face to color if a task exists in the link chain at linknumber
llCreateLink
- sleep
- 0
+ desc
+ llCreateLink(key target, integer parent)
+Attempts to link the script's object with the target (requires that PERMISSION_CHANGE_LINKS be granted). If parent == TRUE, then the script's object becomes the root
llBreakLink
- sleep
- 0
+ desc
+ llBreakLink(integer linknum)
+Delinks the prim with the given link number in a linked object set (requires that PERMISSION_CHANGE_LINKS be granted)
llBreakAllLinks
- sleep
- 0
+ desc
+ llBreakAllLinks()
+Delinks all prims in the link set (requires that PERMISSION_CHANGE_LINKS be granted)
llGetLinkKey
- sleep
- 0
+ desc
+ key llGetLinkKey(integer linknumber)
+Returns the key of the linked prim linknumber
llGetLinkName
- sleep
- 0
+ desc
+ string llGetLinkName(integer linknumber)
+Returns the name of linknumber in a link set
llGetInventoryNumber
- sleep
- 0
+ desc
+ integer llGetInventoryNumber(integer type)
+Returns the number of items of a given type (INVENTORY_* flag) in the prim's inventory
llGetInventoryName
- sleep
- 0
+ desc
+ string llGetInventoryName(integer type, integer number)
+Returns the name of the inventory item number of a given type
llSetScriptState
- sleep
- 0
+ desc
+ llSetScriptState(string name, integer run)
+Sets the running state of the specified script
llGetEnergy
- sleep
- 0
+ desc
+ float llGetEnergy()
+Returns how much energy is in the object as a percentage of maximum
llGiveInventory
- sleep
- 0
+ desc
+ llGiveInventory(key destination, string inventory)
+Gives inventory to destination
llRemoveInventory
- sleep
- 0
+ desc
+ llRemoveInventory(string item)
+Removes the named inventory item
llSetText
- sleep
- 0
+ desc
+ llSetText(string text, vector color, float alpha)
+Displays text that hovers over the prim with specific color and translucency specified with alpha
llWater
- sleep
- 0
+ desc
+ float llWater(vector offset)
+Returns the water height below the object position + offset
llPassTouches
- sleep
- 0
+ desc
+ llPassTouches(integer pass)
+If pass == TRUE, touches are passed from children on to parents
llRequestAgentData
- sleep
- 0
+ desc
+ key llRequestAgentData(key id, integer data)
+Requests data about agent id. When data is available the dataserver event will be raised.
llRequestInventoryData
- sleep
- 0
+ desc
+ key llRequestInventoryData(string name)
+Requests data from object's inventory object. When data is available the dataserver event will be raised.
llSetDamage
- sleep
- 0
+ desc
+ llSetDamage(float damage)
+Sets the amount of damage that will be done when this object hits an avatar.
llTeleportAgentHome
- sleep
- 5.0
+ desc
+ llTeleportAgentHome(key id)
+Teleports avatar on the owner's land to their home location without any warning
+(Sleep: 5.0)
llModifyLand
- sleep
- 0
+ desc
+ llModifyLand(integer action, integer brush)
+Modifies land using the specified action on the specified brush size of land
llCollisionSound
- sleep
- 0
+ desc
+ llCollisionSound(string impact_sound, float impact_volume)
+Suppresses default collision sounds, replaces default impact sounds with impact_sound at the volume impact_volume
llCollisionSprite
- sleep
- 0
+ desc
+ llCollisionSprite(string impact_sprite)
+Suppresses default collision sprites, replaces default impact sprite with impact_sprite (use an empty string to just suppress)
llGetAnimation
- sleep
- 0
+ desc
+ string llGetAnimation(key id)
+Returns the name of the currently playing locomotion animation for avatar id
llResetScript
- sleep
- 0
+ desc
+ llResetScript()
+Resets the script
llMessageLinked
- sleep
- 0
+ desc
+ llMessageLinked(integer linknum, integer num, string str, key id)
+Allows scripts in the same object to communicate. Triggers a link_message event with the same parameters num, str, and id in all scripts in the prim(s) described by linknum.
llPushObject
- sleep
- 0
+ desc
+ llPushObject(key id, vector impulse, vector ang_impulse, integer local)
+Applies impulse and ang_impulse to object id
llPassCollisions
- sleep
- 0
+ desc
+ llPassCollisions(integer pass)
+If pass == TRUE, collisions are passed from children on to parents (default is FALSE)
llGetScriptName
- sleep
- 0
+ desc
+ string llGetScriptName()
+Returns the name of the script that this function is used in
llGetNumberOfSides
- sleep
- 0
+ desc
+ integer llGetNumberOfSides()
+Returns the number of faces (or sides) of the prim
llAxisAngle2Rot
- sleep
- 0
+ desc
+ rotation llAxisAngle2Rot(vector axis, float angle)
+Returns the rotation that is a generated angle about axis
llRot2Axis
- sleep
- 0
+ desc
+ vector llRot2Axis(rotation rot)
+Returns the rotation axis represented by rot
llRot2Angle
- sleep
- 0
+ desc
+ float llRot2Angle(rotation rot)
+Returns the rotation angle represented by rot
llAcos
- sleep
- 0
+ desc
+ float llAcos(float val)
+Returns the arccosine in radians of val
llAsin
- sleep
- 0
+ desc
+ float llAsin(float val)
+Returns the arcsine in radians of val
llAngleBetween
- sleep
- 0
+ desc
+ float llAngleBetween(rotation a, rotation b)
+Returns angle between rotation a and b
llGetInventoryKey
- sleep
- 0
+ desc
+ key llGetInventoryKey(string name)
+Returns the key that is the UUID of the inventory name
llAllowInventoryDrop
- sleep
- 0
+ desc
+ llAllowInventoryDrop(integer add)
+If add == TRUE, users without modify permissions can still drop inventory items onto a prim
llGetSunDirection
- sleep
- 0
+ desc
+ vector llGetSunDirection()
+Returns a normalized vector of the direction of the sun in the region
llGetTextureOffset
- sleep
- 0
+ desc
+ vector llGetTextureOffset(integer face)
+Returns the texture offset of face in the x and y components of a vector
llGetTextureScale
- sleep
- 0
+ desc
+ vector llGetTextureScale(integer side)
+Returns the texture scale of side in the x and y components of a vector
llGetTextureRot
- sleep
- 0
+ desc
+ float llGetTextureRot(integer side)
+Returns the texture rotation of side
llSubStringIndex
- sleep
- 0
+ desc
+ integer llSubStringIndex(string source, string pattern)
+Returns an integer that is the index in source where pattern first appears.
+(Returns -1 if not found)
llGetOwnerKey
- sleep
- 0
+ desc
+ key llGetOwnerKey(key id)
+Returns the owner of object id
llGetCenterOfMass
- sleep
- 0
+ desc
+ vector llGetCenterOfMass()
+Returns the prim's center of mass (unless called from the root prim, where it returns the object's center of mass)
llListSort
- sleep
- 0
+ desc
+ list llListSort(list src, integer stride, integer ascending)
+Sorts the list into blocks of stride, in ascending order if ascending == TRUE.
+The sort order is affected by type.
llGetListLength
- sleep
- 0
+ desc
+ integer llGetListLength(list src)
+Returns the number of elements in the list
llList2Integer
- sleep
- 0
+ desc
+ integer llList2Integer(list src, integer index)
+Copies the integer at index in the list
llList2Float
- sleep
- 0
+ desc
+ float llList2Float(list src, integer index)
+Copies the float at index in the list
llList2String
- sleep
- 0
+ desc
+ string llList2String(list src, integer index)
+Copies the string at index in the list
llList2Key
- sleep
- 0
+ desc
+ key llList2Key(list src, integer index)
+Copies the key at index in the list
llList2Vector
- sleep
- 0
+ desc
+ vector llList2Vector(list src, integer index)
+Copies the vector at index in the list
llList2Rot
- sleep
- 0
+ desc
+ rotation llList2Rot(list src, integer index)
+Copies the rotation at index in the list
llList2List
- sleep
- 0
+ desc
+ list llList2List(list src, integer start, integer end)
+Copies the slice of the list from start to end
llDeleteSubList
- sleep
- 0
+ desc
+ list llDeleteSubList(list src, integer start, integer end)
+Removes the slice from start to end and returns the remainder of the list
llGetListEntryType
- sleep
- 0
+ desc
+ integer llGetListEntryType(list src, integer index)
+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)
llList2CSV
- sleep
- 0
+ desc
+ string llList2CSV(list src)
+Creates a string of comma separated values from list
llCSV2List
- sleep
- 0
+ desc
+ list llCSV2List(string src)
+Creates a list from a string of comma separated values
llListRandomize
- sleep
- 0
+ desc
+ list llListRandomize(list src, integer stride)
+Returns a randomized list of blocks of size stride
llList2ListStrided
- sleep
- 0
+ desc
+ list llList2ListStrided(list src, integer start, integer end, integer stride)
+Copies the strided slice of the list from start to end
llGetRegionCorner
- sleep
- 0
-
- llList2ListStrided
-
- sleep
- 0
-
- llGetRegionCorner
-
- sleep
- 0
+ desc
+ vector llGetRegionCorner()
+Returns a vector in meters that is the global location of the south-west corner of the region which the object is in
llListInsertList
- sleep
- 0
+ desc
+ list llListInsertList(list dest, list src, integer start)
+Returns a list that contains all the elements from dest but with the elements from src inserted at position start
llListFindList
- sleep
- 0
+ desc
+ integer llListFindList(list src, list test)
+Returns the index of the first instance of test in src
llGetObjectName
- sleep
- 0
+ desc
+ string llGetObjectName()
+Returns the name of the prim which the script is attached to
llSetObjectName
- sleep
- 0
+ desc
+ llSetObjectName(string name)
+Sets the prim's name to the name parameter
llGetDate
- sleep
- 0
+ desc
+ string llGetDate()
+Returns the current date in the UTC time zone in the format YYYY-MM-DD
llEdgeOfWorld
- sleep
- 0
+ desc
+ integer llEdgeOfWorld(vector pos, vector dir)
+Checks to see whether the border hit by dir from pos is the edge of the world (has no neighboring region)
llGetAgentInfo
- sleep
- 0
+ desc
+ integer llGetAgentInfo(key id)
+Returns an integer bitfield containing the agent information about id.
+Returns AGENT_FLYING, AGENT_ATTACHMENTS, AGENT_SCRIPTED, AGENT_SITTING, AGENT_ON_OBJECT, AGENT_MOUSELOOK, AGENT_AWAY, AGENT_BUSY, AGENT_TYPING, AGENT_CROUCHING, AGENT_ALWAYS_RUN, AGENT_WALKING and/or AGENT_IN_AIR.
+
llAdjustSoundVolume
- sleep
- 0
+ desc
+ llAdjustSoundVolume(float volume)
+Adjusts volume of attached sound (0.0 - 1.0)
llSetSoundQueueing
- sleep
- 0
+ desc
+ llSetSoundQueueing(integer queue)
+Sets whether attached sounds wait for the current sound to finish (If queue == TRUE then queuing is enabled, if FALSE queuing is disabled [default])
llSetSoundRadius
- sleep
- 0
+ desc
+ llSetSoundRadius(float radius)
+Establishes a hard cut-off radius for audibility of scripted sounds (both attached and triggered)
llKey2Name
- sleep
- 0
+ desc
+ string llKey2Name(key id)
+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.)
llSetTextureAnim
- sleep
- 0
+ desc
+ llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)
+Animates the texture on the specified face/faces
llTriggerSoundLimited
- sleep
- 0
+ desc
+ llTriggerSoundLimited(string sound, float volume, vector top_north_east, vector bottom_south_west)
+Plays sound at volume (0.0 - 1.0), centered at but not attached to object, limited to the box defined by vectors top_north_east and bottom_south_west
llEjectFromLand
- sleep
- 0
+ desc
+ llEjectFromLand(key avatar)
+Ejects avatar from the parcel
llParseString2List
- sleep
- 0
-
- llParseString2List
-
- sleep
- 0
+ desc
+ list llParseString2List(string src, list separators, list spacers)
+Breaks src into a list, discarding separators, keeping spacers
+(separators and spacers must be lists of strings, maximum of 8 each)
llOverMyLand
- sleep
- 0
+ desc
+ integer llOverMyLand(key id)
+Returns TRUE if id is over land owned by the script owner, otherwise FALSE
llGetLandOwnerAt
- sleep
- 0
+ desc
+ key llGetLandOwnerAt(vector pos)
+Returns the key of the land owner, returns NULL_KEY if public
llGetNotecardLine
- sleep
- 0
+ desc
+ key llGetNotecardLine(string name, integer line)
+Returns line line of notecard name via the dataserver event
llGetAgentSize
- sleep
- 0
+ desc
+ vector llGetAgentSize(key id)
+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
llSameGroup
- sleep
- 0
+ desc
+ integer llSameGroup(key id)
+Returns TRUE if avatar id is in the same region and has the same active group, otherwise FALSE
llUnSit
- sleep
- 0
+ desc
+ key llUnSit(key id)
+If avatar identified by id is sitting on the object the script is attached to or is over land owned by the object's owner, the avatar is forced to stand up
llGroundSlope
- sleep
- 0
+ desc
+ vector llGroundSlope(vector offset)
+Returns the ground slope below the object position + offset
llGroundNormal
- sleep
- 0
+ desc
+ vector llGroundNormal(vector offset)
+Returns the ground normal below the object position + offset
llGroundContour
- sleep
- 0
+ desc
+ vector llGroundCountour(vector offset)
+Returns the ground contour direction below the object position + offset
llGetAttached
- sleep
- 0
+ desc
+ integer llGetAttached()
+Returns the object's attachment point, or 0 if not attached
llGetFreeMemory
- sleep
- 0
+ desc
+ integer llGetFreeMemory()
+Returns the number of free bytes of memory the script can use
llGetRegionName
- sleep
- 0
+ desc
+ string llGetRegionName()
+Returns the current region name
llGetRegionTimeDilation
- sleep
- 0
+ desc
+ float llGetRegionTimeDilation()
+Returns the current time dilation as a float between 0.0 (full dilation) and 1.0 (no dilation)
llGetRegionFPS
- sleep
- 0
+ desc
+ float llGetRegionFPS()
+Returns the mean region frames per second
llParticleSystem
- sleep
- 0
+ desc
+ llParticleSystem(list rules)
+Creates a particle system based on rules. An empty list removes the particle system.
+List format is [ rule1, data1, rule2, data2 . . . rulen, datan ]
llGroundRepel
- sleep
- 0
+ desc
+ llGroundRepel(float height, integer water, float tau)
+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)
llGiveInventoryList
- sleep
- 0
+ desc
+ llGiveInventoryList(key target, string folder, list inventory)
+Gives inventory items to target, creating a new folder to put them in
llSetVehicleType
- sleep
- 0
+ desc
+ llSetVehicleType(integer type)
+Sets the vehicle to one of the default types
llSetVehicleFloatParam
- sleep
- 0
+ desc
+ llSetVehicleFloatParam(integer param, float value)
+Sets the specified vehicle float parameter
llSetVehicleVectorParam
- sleep
- 0
+ desc
+ llSetVehicleVectorParam(integer param, vector vec)
+Sets the specified vehicle vector parameter
llSetVehicleRotationParam
- sleep
- 0
+ desc
+ llSetVehicleVectorParam(integer param, rotation rot)
+Sets the specified vehicle rotation parameter
llSetVehicleFlags
- sleep
- 0
+ desc
+ llSetVehicleFlags(integer flags)
+Sets the enabled bits in 'flags'
llRemoveVehicleFlags
- sleep
- 0
+ desc
+ llRemoveVehicleFlags(integer flags)
+Removes the enabled bits in 'flags'
llSitTarget
- sleep
- 0
+ desc
+ llSitTarget(vector offset, rotation rot)
+Sets the sit location for the prim. If offset == <0,0,0> then the sit target is removed.
llAvatarOnSitTarget
- sleep
- 0
+ desc
+ key llAvatarOnSitTarget()
+If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY
llAddToLandPassList
- sleep
- 0
+ desc
+ llAddToLandPassList(key avatar, float hours)
+Adds avatar to the land pass list for hours, or indefinitely if hours is 0
llSetTouchText
- sleep
- 0
+ desc
+ llSetTouchText(string text)
+Displays text rather than the default 'Touch' in the pie menu
llSetSitText
- sleep
- 0
+ desc
+ llSetSitText(string text)
+Displays text rather than the default 'Sit Here' in the pie menu
llSetCameraEyeOffset
- sleep
- 0
+ desc
+ llSetCameraEyeOffset(vector offset)
+Sets the camera eye offset for avatars that sit on the object
llSetCameraAtOffset
- sleep
- 0
+ desc
+ llSetCameraAtOffset(vector offset)
+Sets the point the camera is looking at to offset for avatars that sit on the object
llDumpList2String
- sleep
- 0
+ desc
+ string llDumpList2String(list src, string separator)
+Returns the list in a single string, using separator between the entries
llScriptDanger
- sleep
- 0
+ desc
+ integer llScriptDanger(vector pos)
+Returns TRUE if pos is over public land, sandbox land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts
llDialog
- sleep
- 0
+ desc
+ llDialog(key avatar, string message, list buttons, integer chat_channel)
+Shows a dialog box on the avatar's screen with a message and up to 12 buttons.
+If a button is pressed, the avatar says the text of the button label on chat_channel.
llVolumeDetect
- sleep
- 0
+ desc
+ llVolumeDetect(integer detect)
+If detect = TRUE, object works much like Phantom, but triggers collision_start and collision_end events when other objects start and stop interpenetrating.
+Must be applied to the root prim.
llResetOtherScript
- sleep
- 0
+ desc
+ llResetOtherScript(string name)
+Resets script name
llGetScriptState
- sleep
- 0
+ desc
+ integer llGetScriptState(string name)
+Returns TRUE if the script name is running
llRemoteLoadScript
- sleep
- 0
+ desc
+ DEPRECATED! Please use llRemoteLoadScriptPin instead.
llSetRemoteScriptAccessPin
- sleep
- 0
+ desc
+ llSetRemoteScriptAccessPin(integer pin)
+If pin is set to a non-zero number, allows a prim to have scripts remotely loaded via llRemoteLoadScriptPin when it passes in the correct pin. Otherwise, llRemoteLoadScriptPin is ignored.
llRemoteLoadScriptPin
- sleep
- 0
+ desc
+ llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param)
+Copies script name onto target, if the owner of this scripted object can modify target and is in the same region, and the matching pin is used.
+If running == TRUE, starts the script with start_param
llOpenRemoteDataChannel
- sleep
- 1.0
+ desc
+ llOpenRemoteDataChannel()
+Creates a channel to listen for XML-RPC calls, and will trigger a remote_data event with channel id once it is available
+(Sleep: 1.0)
llSendRemoteData
- sleep
- 3.0
+ desc
+ key llSendRemoteData(key channel, string dest, integer idata, string sdata)
+Sends an XML-RPC request to dest through channel with payload of channel (in a string), integer idata and string sdata.
+Returns a key that is the message_id for the resulting remote_data events.
+(Sleep: 3.0)
llRemoteDataReply
- sleep
- 3.0
+ desc
+ llRemoteDataReply(key channel, key message_id, string sdata, integer idata)
+Sends an XML-RPC reply to message_id on channel with payload of string sdata and integer idata
+(Sleep: 3.0)
llCloseRemoteDataChannel
- sleep
- 1.0
+ desc
+ llCloseRemoteDataChannel(key channel)
+Closes XML-RPC channel
+(Sleep: 3.0)
llMD5String
- sleep
- 0
+ desc
+ string llMD5String(string src, integer nonce)
+Returns a string of 32 hex characters that is a RSA Data Security, Inc. MD5 Message-Digest Algorithm of src with nonce
llSetPrimitiveParams
- sleep
- 0.2
+ desc
+ llSetPrimitiveParams(list rules)
+Sets the prim's parameters according to rules
+(Sleep: 0.2)
llStringToBase64
- sleep
- 0
+ desc
+ string llStringToBase64(string str)
+Converts a string to the Base64 representation of the string
llBase64ToString
- sleep
- 0
-
- llXorBase64Strings
-
- sleep
- 0.3
+ desc
+ string llBase64ToString(string str)
+Converts a Base64 string to a conventional string.
+If the conversion creates any unprintable characters, they are converted to spaces
llRemoteDataSetRegion
- sleep
- 0
+ desc
+ llRemoteDataSetRegion()
+DEPRECATED! Please use llOpenRemoteDataChannel instead.
+If an object using remote data channels changes regions, you must call this function to reregister the remote data channels. This call is not needed if the prim does not change regions.
llLog10
- sleep
- 0
+ desc
+ float llLog10(float val)
+Returns the base 10 logarithm of val. Returns zero if val <= 0.
llLog
- sleep
- 0
+ desc
+ float llLog(float val)
+Returns the natural logarithm of val. Returns zero if val <= 0.
llGetAnimationList
- sleep
- 0
+ desc
+ list llGetAnimationList(key id)
+Returns a list of keys of playing animations for avatar described by id
llSetParcelMusicURL
- sleep
- 0
+ desc
+ llSetParcelMusicURL(string url)
+Sets the streaming audio URL for the parcel which the object is on
llGetRootPosition
- sleep
- 0
+ desc
+ vector llGetRootPosition()
+Returns the position (in region coordinates) of the root prim of the object which the script is attached to
llGetRootRotation
- sleep
- 0
+ desc
+ rotation llGetRootRotation()
+Returns the rotation (relative to the region) of the root prim of the object which the script is attached to
llGetObjectDesc
- sleep
- 0
+ desc
+ string llGetObjectDesc()
+Returns the description of the prim the script is attached to
llSetObjectDesc
- sleep
- 0
+ desc
+ llSetObjectDesc(string name)
+Sets the prim's description
llGetCreator
- sleep
- 0
+ desc
+ key llGetCreator()
+Returns a key for the creator of the prim
llGetTimestamp
- sleep
- 0
+ desc
+ string llGetTimestamp()
+Returns the timestamp in the UTC time zone in the format: YYYY-MM-DDThh:mm:ss.ff..fZ
llSetLinkAlpha
- sleep
- 0
+ desc
+ llSetLinkAlpha(integer linknumber, float alpha, integer face)
+If a prim exists in the link chain at linknumber, sets face to alpha
llGetNumberOfPrims
- sleep
- 0
+ desc
+ integer llGetNumberOfPrims()
+Returns the number of prims in a link set the script is attached to
llGetNumberOfNotecardLines
- sleep
- 0
+ desc
+ key llGetNumberOfNotecardLines(string name)
+Returns number of lines in notecard name via the dataserver event (cast return value to integer)
llGetBoundingBox
- sleep
- 0
+ desc
+ list llGetBoundingBox(key object)
+Returns the bounding box around the object (including any linked prims) relative to its root prim, in a list in the format [ (vector) min_corner, (vector) max_corner ]
llGetGeometricCenter
- sleep
- 0
+ desc
+ vector llGetGeometricCenter()
+Returns the geometric center of the linked set the script is attached to.
llGetPrimitiveParams
- sleep
- 0
+ desc
+ list llGetPrimitiveParams(list params)
+Returns the primitive parameters specified in the params list.
llIntegerToBase64
- sleep
- 0
+ desc
+ string llIntegerToBase64(integer number)
+Returns a string that is a Base64 big endian encode of number
llBase64ToInteger
- sleep
- 0
+ desc
+ integer llBase64ToInteger(string str)
+Returns an integer that is the str Base64 decoded as a big endian integer
llGetGMTclock
- sleep
- 0
+ desc
+ float llGetGMTclock()
+Returns the time in seconds since midnight GMT
llGetSimulatorHostname
- sleep
- 0
+ desc
+ string llGetSimulatorHostname()
+Returns the hostname of the machine which the script is running on (same as string in viewer Help dialog)
llSetLocalRot
- sleep
- 0.2
+ desc
+ llSetLocalRot(rotation rot)
+Sets the rotation of a child prim relative to the root prim
+(Sleep: 0.2)
llParseStringKeepNulls
- sleep
- 0
+ desc
+ list llParseStringKeepNulls(string src, list separators, list spacers)
+Breaks src into a list, discarding separators, keeping spacers, keeping any null values generated.
+(separators and spacers must be lists of strings, maximum of 8 each)
llRezAtRoot
- sleep
- 0.1
+ desc
+ llRezAtRoot(string inventory, vector pos, vector vel, rotation rot, integer param)
+Instantiates owner's inventory object rotated to rot with its root at pos, moving at vel, using param as the start parameter
+(Sleep: 0.1)
llGetObjectPermMask
- sleep
- 0
+ desc
+ integer llGetObjectPermMask(integer mask)
+Returns the requested permission mask for the root object the task is attached to
llSetObjectPermMask
- sleep
- 0
+ desc
+ llSetObjectPermMask(integer mask, integer value)
+Sets the given permission mask to the new value on the root object the task is attached to (requires God Mode)
+ gods-only
+ true
llGetInventoryPermMask
- sleep
- 0
+ desc
+ integer llGetInventoryPermMask(string item, integer mask)
+Returns the requested permission mask for the inventory item
llSetInventoryPermMask
- sleep
- 0
+ desc
+ llSetInventoryPermMask(string item, integer mask, integer value)
+Sets the given permission mask to the new value on the inventory item (requires God Mode)
+ gods-only
+ true
llGetInventoryCreator
- sleep
- 0
+ desc
+ key llGetInventoryCreator(string item)
+Returns a key for the creator of the inventory item
llOwnerSay
- sleep
- 0
+ desc
+ llOwnerSay(string message)
+Says message to owner only. (Owner must be in the same region.)
llRequestSimulatorData
- sleep
- 1.0
+ desc
+ key llRequestSimulatorData(string simulator, integer data)
+Requests data about simulator. When data is available the dataserver event will be raised.
+(sleep: 1.0)
llForceMouselook
- sleep
- 0
+ desc
+ llForceMouselook(integer mouselook)
+If mouselook is TRUE, any avatar that sits upon the prim will be forced into mouselook mode
llGetObjectMass
- sleep
- 0
+ desc
+ float llGetObjectMass(key id)
+Returns the mass of the avatar or object in the region
llListReplaceList
- sleep
- 0
+ desc
+ list llListReplaceList(list dest, list src, integer start, integer end)
+Returns a list that is dest with start through end removed and src inserted at start
llLoadURL
- sleep
- 10.0
+ desc
+ llLoadURL(key avatar, string message, string url)
+Shows a dialog to avatar offering to load the web page at url with a message.
+If user clicks yes, launches the page in their web browser.
+(Sleep: 10.0)
llParcelMediaCommandList
- sleep
- 2.0
+ desc
+ llParcelMediaCommandList(list command)
+Sends a list of commands, some with arguments, to a parcel to control the playback of movies and other media
+(Sleep: 2.0)
llParcelMediaQuery
- sleep
- 2.0
+ desc
+ list llParcelMediaQuery(list query)
+Returns a list containing results of the sent query
+(Sleep: 2.0)
llModPow
- sleep
- 0
+ desc
+ integer llModPow(integer a, integer b, integer c)
+Returns a raised to the b power, mod c. ( (a**b)%c )
+b is capped at 0xFFFF (16 bits).
llGetInventoryType
- sleep
- 0
+ desc
+ integer llGetInventoryType(string name)
+Returns the type of the inventory item name
llSetPayPrice
- sleep
- 0
+ desc
+ llSetPayPrice(integer price, list quick_pay_buttons)
+Sets the default amount on the dialog that appears when someone chooses to pay this prim
llGetCameraPos
- sleep
- 0
+ desc
+ vector llGetCameraPos()
+Returns the current camera position for the agent the task has permissions for
llGetCameraRot
- sleep
- 0
+ desc
+ rotation llGetCameraRot()
+Returns the current camera orientation for the agent the task has permissions for
llSetPrimURL
- sleep
- 20.0
+ desc
+ llSetPrimURL(string url)
+Updates the URL for the web page shown on the sides of the object
+(Sleep: 20.0)
llRefreshPrimURL
- sleep
- 20.0
+ desc
+ llRefreshPrimURL()
+Reloads the web page shown on the sides of the object
+(sleep: 20)
llEscapeURL
- sleep
- 0
+ desc
+ string llEscapeURL(string url)
+Returns an escaped/encoded version of url, replacing spaces with %20 etc.
llUnescapeURL
- sleep
- 0
+ desc
+ string llUnescapeURL(string url)
+Returns an unescaped/ unencoded version of url, replacing %20 with spaces etc.
llMapDestination
- sleep
- 0
+ desc
+ llMapDestination(string simname, vector pos, vector look_at)
+Opens the World Map centered on the region simname with pos highlighted. (NOTE: look_at currently does nothing.)
+Only works for scripts attached to avatar, or during touch events.
llAddToLandBanList
- sleep
- 0
+ desc
+ llAddToLandBanList(key avatar, float hours)
+Adds avatar to the land ban list for hours, or indefinitely if hours is 0
llRemoveFromLandPassList
- sleep
- 0
+ desc
+ llRemoveFromLandPassList(key avatar)
+Removes avatar from the land pass list
llRemoveFromLandBanList
- sleep
- 0
-
- llRemoveFromLandPassList
-
- sleep
- 0
-
- llRemoveFromLandBanList
-
- sleep
- 0
+ desc
+ llRemoveFromLandBanList(key avatar)
+Removes avatar from the land ban list
llSetCameraParams
- sleep
- 0
+ desc
+ llSetCameraParams(list rules)
+Sets multiple camera parameters at once.
+List format is [ rule1, data1, rule2, data2 . . . rulen, datan ]
llClearCameraParams
- sleep
- 0
+ desc
+ llClearCameraParams()
+Resets all camera parameters to default values and turns off scripted camera control
llListStatistics
- sleep
- 0
+ desc
+ float llListStatistics(integer operation, list src)
+Performs statistical aggregate functions on list src using LIST_STAT_* operations
llGetUnixTime
- sleep
- 0
+ desc
+ integer llGetUnixTime()
+Returns the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock
llGetParcelFlags
- sleep
- 0
+ desc
+ integer llGetParcelFlags(vector pos)
+Returns a mask of the parcel flags (PARCEL_FLAG_*) for the parcel that includes the point pos
llGetRegionFlags
- sleep
- 0
+ desc
+ integer llGetRegionFlags()
+Returns the region flags (REGION_FLAG_*) for the region the object is in
llXorBase64StringsCorrect
- sleep
- 0
+ desc
+ string llXorBase64StringsCorrect(string s1, string s2)
+Correctly performs an exclusive or on two Base64 strings and returns a Base64 string.
+s2 repeats if it is shorter than s1.
llHTTPRequest
- sleep
- 0
+ desc
+ llHTTPRequest(string url, list parameters, string body)
+Sends an HTTP request to the specified url with the body of the request and parameters
llResetLandBanList
- sleep
- 0.1
+ desc
+ llResetLandBanList()
+Removes all Residents from the land ban list
+(sleep: 1.0)
llResetLandPassList
- sleep
- 0
+ desc
+ llResetLandPassList()
+Removes all Residents from the land access/pass list
llGetObjectPrimCount
- sleep
- 0
+ desc
+ integer llGetObjectPrimCount(key object_id)
+Returns the total number of prims for an object in the region
llGetParcelPrimOwners
- sleep
- 2.0
+ desc
+ list llGetParcelPrimOwners(vector pos)
+Returns a list of all Residents who own objects on the parcel at pos and with individual prim counts.
+Requires owner-like permissions for the parcel.
+(Sleep: 2.0)
llGetParcelPrimCount
- sleep
- 0
+ desc
+ integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide)
+Returns the number of prims on the parcel at pos of the given category.
+Categories: PARCEL_COUNT_TOTAL, _OWNER, _GROUP, _OTHER, _SELECTED, _TEMP
llGetParcelMaxPrims
- sleep
- 0
+ desc
+ integer llGetParcelMaxPrims(vector pos, integer sim_wide)
+Returns the maximum number of prims allowed on the parcel at pos
llGetParcelDetails
- sleep
- 0
+ desc
+ list llGetParcelDetails(vector pos, list params)
+Returns the parcel details specified in params for the parcel at pos.
+Params is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA, _ID, _SEE_AVATARS
llSetLinkPrimitiveParams
- sleep
- 0.2
+ desc
+ llSetLinkPrimitiveParams(integer linknumber, list rules)
+Sets primitive parameters for linknumber based on rules
+(sleep: 0.2)
llSetLinkTexture
- sleep
- 0.2
+ desc
+ llSetLinkTexture(integer linknumber, string texture, integer face)
+Sets the texture of face for a task that exists in the link chain at linknumber
+(Sleep: 0.2)
llStringTrim
- sleep
- 0
+ desc
+ string llStringTrim(string src, integer trim_type)
+Trims the leading and/or trailing white spaces from a string.
+trim_type can be STRING_TRIM, STRING_TRIM_HEAD or STRING_TRIM_TAIL.
llRegionSay
- sleep
- 0
+ desc
+ llRegionSay(integer channel, string message)
+Broadcasts message on channel (not 0) that can be heard anywhere in the region by a script listening on channel
llGetObjectDetails
- sleep
- 0
+ desc
+ list llGetObjectDetails(key id, list params)
+Returns the object details specified in params for the object with key id.
+Params are OBJECT_NAME, _DESC, _POS, _ROT, _VELOCITY, _OWNER, _GROUP, _CREATOR
llSetClickAction
- sleep
- 0
+ desc
+ llSetClickAction(integer action)
+Sets the action performed when a prim is clicked upon
llGetRegionAgentCount
- sleep
- 0
+ desc
+ integer llGetRegionAgentCount()
+Returns the number of avatars in the region
llTextBox
- sleep
- 1.0
+ desc
+ llTextBox(key avatar, string message, integer chat_channel)
+Shows a window on the avatar's screen with the message.
+It contains a text box for input, and if entered that text is chatted on chat_channel.
+(Sleep: 1.0)
llGetAgentLanguage
- sleep
- 0
+ desc
+ string llGetAgentLanguage(key avatar)
+Returns the language code of the preferred interface language of the avatar
llDetectedTouchUV
- sleep
- 0
+ desc
+ vector llDetectedTouchUV(integer index)
+Returns the u and v coordinates in the first two components of a vector, for the texture coordinates where the prim was touched in a triggered touch event
llDetectedTouchFace
- sleep
- 0
+ desc
+ integer llDetectedTouchFace(integer index)
+Returns the index of the face where the avatar clicked in a triggered touch event
llDetectedTouchPos
- sleep
- 0
+ desc
+ vector llDetectedTouchPos(integer index)
+Returns the position where the object was touched in a triggered touch event
llDetectedTouchNormal
- sleep
- 0
+ desc
+ vector llDetectedTouchNormal(integer index)
+Returns the surface normal for a triggered touch event
llDetectedTouchBinormal
- sleep
- 0
+ desc
+ vector llDetectedTouchBinormal(integer index)
+Returns the surface binormal for a triggered touch event
llDetectedTouchST
- sleep
- 0
+ desc
+ vector llDetectedTouchST(integer index)
+Returns the s and t coordinates in the first two components of a vector, for the surface coordinates where the prim was touched in a triggered touch event
llSHA1String
- sleep
- 0
+ desc
+ string llSHA1String(string src)
+Returns a string of 40 hex characters that is the SHA1 security Hash of src
llGetFreeURLs
- sleep
- 0
+ desc
+ integer llGetFreeURLs()
+Returns the number of available URLs for the current script
llRequestURL
- sleep
- 0
+ desc
+ key llRequestURL()
+Requests one HTTP:// url for use by this object.
+An http_request event is triggered with the results.
llRequestSecureURL
- sleep
- 0
+ desc
+ key llRequestSecureURL()
+Requests one HTTPS:// (SSL) url for use by this object.
+An http_request event is triggered with the results.
llReleaseURL
- sleep
- 0
+ desc
+ llReleaseURL(string url)
+Releases the specified URL, it will no longer be usable
llHTTPResponse
- sleep
- 0
+ desc
+ llHTTPResponse(key request_id, integer status, string body)
+Responds to request_id with status and body
llGetHTTPHeader
- sleep
- 0
+ desc
+ string llGetHTTPHeader(key request_id, string header)
+Returns the value for header for request_id
llSetPrimMediaParams
- sleep
- 1.0
+ desc
+ llSetPrimMediaParams(integer face, list params)
+Sets the media params for a particular face on an object. If media is not already on this object, add it.
+List is a set of name/value pairs in no particular order. Params not specified are unchanged, or if new media is added then set to the default specified.
+The possible names are below, along with the types of values and what they mean.
+(Sleep: 1.0)
+
llGetPrimMediaParams
- sleep
- 1.0
+ desc
+ list llGetPrimMediaParams(integer face, list params)
+Returns the media params for a particular face on an object, given the desired list of names, in the order requested.
+(Returns an empty list if no media exists on the face.)
+(Sleep: 1.0)
llClearPrimMedia
- sleep
- 1.0
+ desc
+ llClearPrimMedia(integer face)
+Clears (deletes) the media and all params from the given face.
+(Sleep: 1.0)
llSetLinkPrimitiveParamsFast
- sleep
- 0
+ desc
+ llSetLinkPrimitiveParamsFast(integer linknumber,list rules)
+Set primitive parameters for linknumber based on rules.
llSetLinkPrimitiveParams
- sleep
- 0
+ desc
+ llGetLinkPrimitiveParams(integer linknumber,list rules)
+Get primitive parameters for linknumber based on rules.
llLinkParticleSystem
- sleep
- 0
+ desc
+ llLinkParticleSystem(integer linknumber,list rules)
+Creates a particle system based on rules. Empty list removes particle system from object.
+List format is [ rule1, data1, rule2, data2 . . . rulen, datan ].
llSetLinkTextureAnim
- sleep
- 0
+ desc
+ llSetLinkTextureAnim(integer link, integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)
+Animate the texture on the specified prim's face/faces.
llGetLinkNumberOfSides
- sleep
- 0
+ desc
+ integer llGetLinkNumberOfSides(integer link)
+Returns the number of sides of the specified linked prim.
llGetUsername
- sleep
- 0
+ desc
+ string llGetUsername(key id)
+Returns the single-word username of an avatar, iff the avatar is in the current region, otherwise the empty string.
llRequestUsername
- sleep
- 0
+ desc
+ key llRequestUsername(key id)
+Requests single-word username of an avatar. When data is available the dataserver event will be raised.
llGetDisplayName
- sleep
- 0
+ desc
+ string llGetDisplayName(key id)
+Returns the name of an avatar, iff the avatar is in the current simulator, and the name has been cached, otherwise the same as llGetUsername. Use llRequestDisplayName if you absolutely must have the display name.
llRequestDisplayName
- sleep
- 0
+ desc
+ key llRequestDisplayName(key id)
+Requests name of an avatar. When data is available the dataserver event will be raised.
llGetEnv
- sleep
- 0
-
- llRegionSayTo
-
- sleep
- 0
-
- llSetMemoryLimit
-
- sleep
- 0
-
- llGetMemoryLimit
-
- sleep
- 0
-
- llSetLinkMedia
-
- sleep
- 0
-
- llGetLinkMedia
-
- sleep
- 0
-
- llClearLinkMedia
-
- sleep
- 0
-
- llSetLinkCamera
-
- sleep
- 0
-
- llSetContentType
-
- sleep
- 0
-
- llLinkSitTarget
-
- sleep
- 0
-
- llAvatarOnLinkSitTarget
-
- sleep
- 0
-
- llSetVelocity
-
- sleep
- 0
+ desc
+ llGetEnv(string name)
+Returns a string with the requested data about the region
llCastRay
- sleep
- 0
+ desc
+ llCastRay(vector start, vector end, list params)
+Casts a ray into the physics world from 'start' to 'end' and returns data according to details in params
- llGetMassMKS
+
+ llRegionSayTo
- sleep
- 0
-
- llSetPhysicsMaterial
-
- sleep
- 0
-
- llGetPhysicsMaterial
-
- sleep
- 0
-
- llManageEstateAccess
-
- sleep
- 0
-
- llSetKeyframedMotion
-
- sleep
- 0
-
- llTransferLindenDollars
-
- sleep
- 0
-
- llGetParcelMusicURL
-
- sleep
- 0
-
- llScriptProfiler
-
- sleep
- 0
+ desc
+ llRegionSayTo(key target, integer channel, string message)
+Sends message on channel (not DEBUG_CHANNEL) directly to prim or avatar target anywhere within the region.
llGetSPMaxMemory
- sleep
- 0
+ desc
+ integer llGetSPMaxMemory()
+Returns the maximum used memory for the current script. Only valid after using PROFILE_SCRIPT_MEMORY. Non-mono scripts always use 16k.
- llGetUsedMemory
+ llGetMemoryUsed
- sleep
- 0
+ desc
+ integer llGetUsedMemory()
+Returns the current used memory for the current script. Non-mono scripts always use 16k.
+
+ llScriptProfiler
+
+ desc
+ llScriptProfiler(integer flags)
+Enabled or disables script profiling options. Currently only supports PROFILE_SCRIPT_MEMORY (mono only) and PROFILE_NONE.
+MAY SIGNIFICANTLY REDUCE SCRIPT PERFORMANCE!
+
+ llSetMemoryLimit
+
+ desc
+ integer llSetMemoryLimit(integer limit)
+Request limit bytes to be reserved for this script.
+Returns a success/failure flag (STATUS_OK when successful, another of the STATUS_* flags on failure) for whether the memory limit was set.
+Only relevant for Mono-compiled scripts.
+
+ llGetMemoryLimit
+
+ desc
+ integer llGetMemoryLimit()
+Get the maximum memory a script can use.
+Returns the integer amount of memory the script can use in bytes.
+
+ llSetLinkMedia
+
+ desc
+ llSetLinkMedia(integer link, integer face, list params)
+Set the media params for a particular face on linked prim. List is a set of name/value pairs (in no particular order). The possible names are below, along with the types of values and what they mean. If media is not already on this object, add it. Params not specified are unchanged, or if new media is added set to the default specified.
+
+ llGetLinkMedia
+
+ desc
+ list llGetLinkMedia(integer link, integer face, list params)
+Get the media params for a particular face on linked prim, given the desired list of names. Returns a list of values in the order requested. Returns an empty list if no media exists on the face.
+
+ llClearLinkMedia
+
+ desc
+ llClearLinkMedia(integer link, integer face)
+Clears (deletes) the media and all params from the given face on linked prim.
+
+ llSetLinkCamera
+
+ desc
+ llSetLinkCamera(integer link, vector eye, vector at)
+Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim.
+The two vector parameters are offsets relative to the object's center and expressed in local coordinates.
+
+ llSetContentType
+
+ desc
+ llSetContentType(key request_id, integer content_type)
+Set the Internet media type of an LSL HTTP server response.
+content_type may be one of CONTENT_TYPE_TEXT (default) "text/plain", or CONTENT_TYPE_HTML "text/html", only valid for embedded browsers on content owned by the person viewing. Falls back to "text/plain" otherwise.
+
+ llLinkSitTarget
+
+ desc
+ llLinkSitTarget(integer link, vector offset, rotation rot)
+Set the sit location for this object (if offset == <0,0,0> clear it)
+
+ llAvatarOnLinkSitTarget
+
+ desc
+ key llAvatarOnLinkSitTarget(integer link)
+If an avatar is sitting on the sit target, return the avatar's key, NULL_KEY otherwise
+
+ llSetVelocity
+
+ desc
+ llSetVelocity(vector velocity, integer local)
+Sets an objects velocity, in local coords if local == TRUE (if the script is physical)
llSetAngularVelocity
- sleep
- 0
+ desc
+ llSetAngularVelocity(vector angular_velocity, integer local)
+Sets an objects angular velocity, in local coords if local == TRUE (if the script is physical)
+
+ llSetPhysicsMaterial
+
+ desc
+ llSetPhysicsMaterial(integer flags, float gravity_multiplier, float restitution, float friction, float density )
+Sets the requested attributes of the root object's physics material
+
+ llGetPhysicsMaterial
+
+ desc
+ llGetPhysicsMaterial()
+Returns the gravity multiplier, restitution, friction, and density of the linkset as a list in that order
+
+ llGetMassMKS
+
+ desc
+ llGetMassMKS()
+Returns the mass of the linkset in kilograms
+
+ llManageEstateAccess
+
+ desc
+ integer llManageEstateAccess(integer action, key id)
+To add or remove agents from the estate's agent access or ban lists or groups from the estate's group access list.
+Only works for objects owned by the Estate Owner or an Estate Manager.
+Returns TRUE if successful and FALSE if throttled, on invalid action, on invalid or null id, or if object owner is not allowed to manage the estate.
+action can be any of: ESTATE_ACCESS_ALLOWED_[AGENT/GROUP]_[ADD/REMOVE] or ESTATE_ACCESS_BANNED_AGENT_[ADD/REMOVE]
+
+ llSetKeyframedMotion
+
+ desc
+ llSetKeyframedMotion(list keyframes, list options)
+Requests that a nonphysical object be keyframed according to keyframe list.
+
+ llTransferLindenDollars
+
+ desc
+ key llTransferLindenDollars(key destination, integer amount)
+Transfer amount of linden dollars (L$) from script owner to destination. Returns a key to a corresponding transaction_result event for the success of the transfer.
+
+ llGetParcelMusicURL
+
+ desc
+ string llGetParcelMusicURL()
+Returnss the streaming audio URL for the parcel of land on which the object is located.
llSetRegionPos
- sleep
- 0
+ desc
+ integer llSetRegionPos(vector pos)
+Sets the position anywhere within the region (if the object isn't physical)
llGetAgentList
- sleep
- 0
+ desc
+ list llGetAgentList(integer scope, list options)
+Requests a list of agents currently in the region, limited by the scope parameter.
llAttachToAvatarTemp
- sleep
- 0
+ desc
+ llAttachToAvatarTemp(integer attach_point)
+Attaches the object to the avatar who has granted permission to the script, with the exception that the object will not create new inventory for the user, and will disappear on detach or disconnect.
llTeleportAgent
- sleep
- 0
+ desc
+ llTeleportAgent(key avatar, string landmark, vector position, vector look_at)
+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.
llTeleportAgentGlobalCoords
- sleep
- 0
+ desc
+ llTeleportAgentGlobalCoords(key agent, vector global_coordinates, vector region_coordinates, vector look_at)
+Teleports an agent to set of a region_coordinates within a region at the specified global_coordinates. The agent lands facing the position defined by look_at local coordinates.
+A region's global coordinates can be retrieved using llRequestSimulatorData(region_name, DATA_SIM_POS)
llGenerateKey
- sleep
- 0
+ desc
+ key llGenerateKey()
+Return a unique generated key
llNavigateTo
- sleep
- 0
+ desc
+ llNavigateTo(vector point, list options)
+For AI Character: Navigate to destination.
llCreateCharacter
- sleep
- 0
+ desc
+ llCreateCharacter(list options)
+Convert linkset to AI Character which can navigate the world.
llPursue
- sleep
- 0
+ desc
+ llPursue(key target, list options)
+For AI Character: Chase after a target.
llWanderWithin
- sleep
- 0
+ desc
+ llWanderWithin(vector center, float radius, list options)
+For AI Character: Wander within a specified volume.
llFleeFrom
- sleep
- 0
+ desc
+ llFleeFrom(vector source, float radius, list options)
+For AI Character: Flee from a point.
llPatrolPoints
- sleep
- 0
+ desc
+ llPatrolPoints(list points, list options)
+For AI Character: Patrol a list of points.
llExecCharacterCmd
- sleep
- 0
+ desc
+ llExecCharacterCmd(integer cmd, list options)
+For AI Character: Execute a character command.
llDeleteCharacter
- sleep
- 0
+ desc
+ llDeleteCharacter()
+Convert linkset from AI Character to Physics object.
llUpdateCharacter
- sleep
- 0
+ desc
+ llUpdateCharacter(list options)
+Change the AI Character's settings.
llEvade
- sleep
- 0
+ desc
+ llEvade(key target, list options)
+For AI Character: Evade a specified target.
llGetClosestNavPoint
- sleep
- 0
+ desc
+ list llGetClosestNavPoint(vector point, list options)
+For AI Character: Get the closest navigable point to the point provided.
llGetStaticPath
- sleep
- 0
+ desc
+ list llGetStaticPath(vector start, vector end, float radius, list params)
+Returns a list of position vectors indicating pathfinding waypoints between positions at start and end, for a character of a given radius.
llGetSimStats
- sleep
- 0
+ desc
+ float llGetSimStats(integer stat_type)
+Returns the value of a particular simulator statistic
llSetAnimationOverride
- sleep
- 0
+ desc
+ llSetAnimationOverride(string anim_state, string anim)
+Set the animation (anim) that will play for the given animation state (anim_state)
llGetAnimationOverride
- sleep
- 0
+ desc
+ string llGetAnimationOverride(string anim_state)
+Returns a string that is the name of the animation that is being used for the specified animation state (anim_state)
llResetAnimationOverride
- sleep
- 0
+ desc
+ llResetAnimationOverride(string anim_state)
+Resets the animation override of the specified animation state (anim_state) to the corresponding default value
llJson2List
- sleep
- 0
+ desc
+ list llJson2List(string json)
+Converts the top level of the json string to a list.
llList2Json
- sleep
- 0
+ desc
+ string llList2Json(string type, list values)
+Converts either a strided list of key:value pairs to a JSON_OBJECT or a list of values to a JSON_ARRAY
llJsonGetValue
- sleep
- 0
+ desc
+ string llJsonGetValue(string json, list specifiers)
+Returns the value indicated by specifiers from the json string
llJsonSetValue
- sleep
- 0
+ desc
+ string llJsonSetValue(string json, list specifiers, string value)
+Returns a new json string that is the json given with the value indicated by specifiers set to value
llJsonValueType
- sleep
- 0
+ desc
+ string llJsonValueType(string json, list specifiers)
+Returns the type constant for the value in json indicated by specifiers
llReturnObjectsByID
- sleep
- 0
+ desc
+ integer LSLTipText_llReturnObjectsByID(list objects)
+Returns a list of objects by their IDs
llReturnObjectsByOwner
- sleep
- 0
+ desc
+ integer llReturnObjectsByOwner(key owner, integer scope)
+Returns all objects of a particular owner in the given scope
diff --git a/indra/newview/app_settings/scriptlibrary_ossl.xml b/indra/newview/app_settings/scriptlibrary_ossl.xml
index 3522d93039..29170a51a0 100644
--- a/indra/newview/app_settings/scriptlibrary_ossl.xml
+++ b/indra/newview/app_settings/scriptlibrary_ossl.xml
@@ -1,700 +1,859 @@
-
+
osSetRegionWaterHeight
- sleep
- 0
+ desc
+ osSetRegionWaterHeight(float height)
+Adjusts water height in current region
osSetRegionSunSettings
- sleep
- 0
+ desc
+ osSetRegionSunSettings(integer useEstateSun, integer sunFixed, float sunHour)
+Set the current region's sun settings
osSetEstateSunSettings
- sleep
- 0
+ desc
+ osSetEstateSunSettings(integer sunFixed, float sunHour)
+Set current estate's sun settings
osGetCurrentSunHour
- sleep
- 0
+ desc
+ float osGetCurrentSunHour()
+Returns the value of the current region's sun hour
osGetSunParam
- sleep
- 0
+ desc
+ string osGetSunParam(string param)
+Returns region's current sun parameters.
+Param are: day_length, year_length, day_night_offset, update_interval.
osSetSunParam
- sleep
- 0
+ desc
+ osSetSunParam(string param, float value)
+Sets the current region's sun parameters.
+Param are: day_length, year_length, day_night_offset, update_interval.
osWindActiveModelPluginName
- sleep
- 0
+ desc
+ string osWindActiveModelPluginName()
+Returns active wind plugin name, specified by "wind_plugin" in OpenSim.ini
osSetWindParam
- sleep
- 0
+ desc
+ osSetWindParam(string plugin, string param, float value)
+Sets value of param property for plugin module.
+SimpleRandomWind plugin param is: strength.
+ConfigurableWind plugin params are: avgStrength, avgDirection, varStrength, varDirection, rateChange
osGetWindParam
- sleep
- 0
+ desc
+ string osGetWindParam(string plugin, string param)
+Gets the value of param property for plugin module.
+SimpleRandomWind plugin param is: strength.
+ConfigurableWind plugin params are: avgStrength, avgDirection, varStrength, varDirection, rateChange.
osParcelJoin
- sleep
- 0
+ desc
+ osParcelJoin(vector start, vector end)
+Joins two adjacent parcels within the same region
osParcelSubdivide
- sleep
- 0
+ desc
+ osParcelSubdivide(vector start, vector end)
+Subdivides a parcel into two adjacent parcels within the same region
osSetParcelDetails
- sleep
- 0
+ desc
+ osSetParcelDetails(vector pos, list parameters)
+Sets parcel details
+PARCEL_DETAILS_NAME, PARCEL_DETAILS_DESC, PARCEL_DETAILS_OWNER, PARCEL_DETAILS_GROUP, PARCEL_DETAILS_CLAIMDATE are implemented
osList2Double
- sleep
- 0
+ desc
+ osList2Double(list src, integer index)
+This function converts a value in the specified index of the list src to the double data type. However, OSSL does not have a double data type. C# contains a double type, but the current LSL implementation does not.
osSetDynamicTextureURL
- sleep
- 0
-
- osSetDynamicTextureURLBlend
-
- sleep
- 0
-
- osSetDynamicTextureDataBlendFace
-
- sleep
- 0
+ desc
+ string osSetDynamicTextureURL(key dynamicID, string contentType, string url, string extraParams, integer timer)
+Renders a web texture on the prim containing the script and returns the UUID of the newly created texture
osSetDynamicTextureData
- sleep
- 0
+ desc
+ osSetDynamicTextureData(key dynamicID, string contentType, string data, string extraParams, integer timer)
+Renders a dynamically created texture on the prim containing the script and returns the UUID of the newly created texture
- osSetDynamicTextureDataBlend
+ osSetDynamicTextureURLBlend
- sleep
- 0
+ desc
+ string osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams, integer timer, integer alpha)
+Allows for two dynamic textures to blend on the prim containing this script
osSetDynamicTextureDataBlendFace
- sleep
- 0
+ desc
+ string osSetDynamicTextureDataBlendFace(string dynamicID, string contentType, string data, string extraParams, integer blend, integer disp, integer timer, integer alpha, integer face)
+Returns UUID of the generated texture. Intended to be used with subsequent calls to osSetDynamicTexture* functions in order to modify the texture
+
+ osSetDynamicTextureURLBlend
+
+ desc
+ osSetDynamicTextureURLBlend(key dynamicID, string contentType, string url, string extraParams, integer timer, integer alpha)
+Allows for two dynamic textures to blend on the prim containing this script
+
+ osSetDynamicTextureURLBlendFace
+
+ desc
+ osSetDynamicTextureURLBlendFace(key dynamicID, string contentType, string url, string extraParams, integer blend, integer disp, integer timer, integer alpha, integer face)
+Allows for two dynamic textures to blend on the specified face of the prim containing this script
osGetTerrainHeight
- sleep
- 0
+ desc
+ integer osGetTerrainHeight(integer x, integer y)
+Returns the current region's terrain height as a float at the given coordinates
osSetTerrainHeight
- sleep
- 0
+ desc
+ osSetTerrainHeight(integer x, integer y, float val)
+Sets the current region's terrain height at the given coordinates
osTerrainFlush
- sleep
- 0
+ desc
+ osTerrainFlush()
+Updates terrain changes in the grid's database
osRegionRestart
- sleep
- 0
+ desc
+ osRegionRestart(float seconds)
+Restarts the current region after a specified amount of time (in seconds)
osRegionNotice
- sleep
- 0
+ desc
+ osRegionNotice(string msg)
+Sends a region notice throughout the current region
osConsoleCommand
- sleep
- 0
+ desc
+ osConsoleCommand(string command)
+Sends a given console command to the region.
+NOTE: There are no security checks with this function. DO NOT USE THIS FUNCTION UNLESS YOU ARE ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING.
osSetParcelMediaURL
- sleep
- 0
+ desc
+ osSetParcelMediaURL(string url)
+Set parcel media to a given url
osSetParcelSIPaddress
- sleep
- 0
+ desc
+ osSetParcelSIPAddress(string SIPAddress)
+Set parcel SIP Address for voice
osSetPrimFloatOnWater
- sleep
- 0
+ desc
+ osSetPrimFloatOnWater(integer float)
+Set physical object to float at the given water level
osTeleportAgent
- sleep
- 0
+ desc
+ osTeleportAgent(key agent, integer regionX, integer regionY, vector position, vector lookat);
+osTeleportAgent(key agent, string regionName, vector position, vector lookat);
+osTeleportAgent(key agent, vector position, vector lookat)
+Teleports an agent to the specified location
osTeleportOwner
- sleep
- 0
+ desc
+ osTeleportOwner(integer regionX, integer regionY, vector position, vector lookat);
+osTeleportOwner(string regionName, vector position, vector lookat);
+osTeleportOwner(vector position, vector lookat)
+Teleports the owner of the object containing the script to the specified location
osGetAgentIP
- sleep
- 0
+ desc
+ string osGetAgentIP(key avatar)
+Returns the agent's IP Address
osGetAgents
- sleep
- 0
+ desc
+ list osGetAgents()
+Returns a list of all avatars in the current region
osAvatarPlayAnimation
- sleep
- 0
+ desc
+ osAvatarPlayAnimation(key avatar, string animation)
+Plays a given animation on a specified avatar.
+No PERMISSION_TRIGGER_ANIMATION check.
osAvatarStopAnimation
- sleep
- 0
+ desc
+ osAvatarStopAnimation(key UUID, string animation)
+Stops playing an animation on a specified avatar
osForceAttachToAvatar
- sleep
- 0
+ desc
+ osForceAttachToAvatar(integer attach_point)
+Attaches the object to the avatar.
+No PERMISSION_ATTACH check.
osForceAttachToAvatarFromInventory
- sleep
- 0
+ desc
+ osForceAttachToAvatarFromInventory(string item, integer attach_point)
+Attaches given inventory item to the avatar.
+No PERMISSION_ATTACH check.
osForceAttachToOtherAvatarFromInventory
- sleep
- 0
+ desc
+ osForceAttachToOtherAvatarFromInventory(key avatar, string item, integer attach_point)
+Attaches given inventory item to a specified avatar.
+No PERMISSION_ATTACH check.
osForceDetachFromAvatar
- sleep
- 0
+ desc
+ osForceDetachFromAvatar()
+Detaches the object from the avatar.
+No PERMISSION_ATTACH check.
osGetNumberOfAttachments
- sleep
- 0
+ desc
+ list osGetNumberOfAttachments(key avatar, list attach_point)
+Returns a strided list of the specified attachment points and the number of attachments on those points
osMessageAttachments
- sleep
- 0
+ desc
+ osMessageAttachments(key avatar, string message, list attach_point, integer flags)
+Sends a given message to the specified avatar's attachments on the given attachment points
osMovePen
- sleep
- 0
+ desc
+ osMovePen(string draw_list, integer x, integer y)
+Moves the pen's location to the coordinates specified by the x and y parameters, without drawing anything
osDrawLine
- sleep
- 0
+ desc
+ osDrawLine(string draw_list, integer start_x, integer start_y, integer end_x, integer end_y)
+osDrawLine(string draw_list, integer end_x, integer end_y)
+Draws a line on a dynamic texture
osDrawText
- sleep
- 0
+ desc
+ osDrawText(string draw_list, string text)
+Renders text on a dynamic texture
osDrawEllipse
- sleep
- 0
+ desc
+ osDrawEllipse(string draw_list, integer width, integer height)
+Draws an ellipse on a dynamic texture
osDrawRectangle
- sleep
- 0
+ desc
+ osDrawRectangle(string draw_list, integer width, integer height)
+Draws a rectangle on a dynamic texture
osDrawFilledRectangle
- sleep
- 0
+ desc
+ osDrawFilledRectangle(string draw_list, integer width, integer height)
+Draws a rectangle on a dynamic texture, and fills it with the current pen color
osDrawPolygon
- sleep
- 0
+ desc
+ osDrawPolygon (string draw_list, list x, list y)
+Draws a polygon on a dynamic texture
osDrawFilledPolygon
- sleep
- 0
+ desc
+ osDrawFilledPolygon (string draw_list, list x, list y)
+Draws a polygon on a dynamic texture, and fills it with the current pen color
osSetFontSize
- sleep
- 0
+ desc
+ osSetFontSize(string draw_list, integer font_size)
+Sets the font size to be used in osDrawText
osSetFontName
- sleep
- 0
+ desc
+ osSetFontName(string draw_list, string font_name)
+Sets the font to be used by osDrawText
osSetPenSize
- sleep
- 0
+ desc
+ osSetPenSize(string draw_list, integer pen_size)
+Sets the line thickness to be used when drawing dynamic textures
osSetPenColor
- sleep
- 0
+ desc
+ osSetPenColor(string draw_list, string color)
+Sets the pen color to be used when drawing dynamic textures
osSetPenCap
- sleep
- 0
+ desc
+ osSetPenCap(string draw_list, string direction, string type)
+Apply a shape on the end of a line
osDrawImage
- sleep
- 0
+ desc
+ osDrawImage(string draw_list, integer width, integer height, string url)
+Retrieves a specified image and draws it at the specified height and width
osGetDrawStringSize
- sleep
- 0
+ desc
+ osGetDrawStringSize(string contentType, string text, string fontName, integer fontSize)
+Returns a vector containing the horizontal and vertical dimensions in pixels of the specified text
osGetScriptEngineName
- sleep
- 0
+ desc
+ string osGetScriptEngineName()
+Returns the name of the script engine running on the current region
osGetSimulatorVersion
- sleep
- 0
+ desc
+ string osGetSimulatorVersion()
+Returns the current simulator version
osGetThreatLevel
- sleep
- 0
+ desc
+ string osGetThreatLevel()
+Returns the current scripting threat level
osParseJSON
- sleep
- 0
+ desc
+ string osParseJSON(string JSON)
+Returns a hashtable containing the structured JSON contents
osParseJSONNew
- sleep
- 0
+ desc
+ string osParseJSON(string JSON)
+Returns a hashtable containing the structured JSON contents
osMessageObject
- sleep
- 0
+ desc
+ osMessageObject(key object, string msg)
+Sends a specified message to an object
osMakeNotecard
- sleep
- 0
+ desc
+ osMakeNotecard(string notecard, list contents)
+Creates a notecard with contents of list
osGetNotecardLine
- sleep
- 0
+ desc
+ string osGetNotecardLine(string notecard, integer line)
+Returns a given line in a specified notecard contained in the object
osGetNotecard
- sleep
- 0
+ desc
+ string osGetNotecard(string notecard)
+Returns the full contents of a notecard
osGetNumberOfNotecardLines
- sleep
- 0
+ desc
+ integer osGetNumberOfNotecardLines(string notecard)
+Returns the number of lines in a notecard
osAvatarName2Key
- sleep
- 0
+ desc
+ key osAvatarName2Key(string firstname, string lastname)
+Returns the avatar's key from their first and last name
osKey2Name
- sleep
- 0
+ desc
+ string osKey2Name(key avatar)
+Returns the avatar's name from their key
osGetGridNick
- sleep
- 0
+ desc
+ string osGetGridNick()
+Returns the current grid's nickname
osGetGridName
- sleep
- 0
+ desc
+ string osGetGridName()
+Returns the current grid's name
osGetGridLoginURI
- sleep
- 0
+ desc
+ string osGetGridLoginURI()
+Returns the current grid's LoginURI
osGetGridHomeURI
- sleep
- 0
+ desc
+ string osGetGridHomeURI()
+Returns the current grid's HomeURI
osGetGridCustom
- sleep
- 0
+ desc
+ string osGetGridCustom()
+Returns the current grid's GridInfo key
osFormatString
- sleep
- 0
+ desc
+ string osFormatString(string to_format, list strings)
+Formats the given string using specified parameters
osMatchString
- sleep
- 0
+ desc
+ list osMatchString(string to_match, string pattern, integer start)
+Returns a list containing the matches from the specified string
osReplaceString
- sleep
- 0
+ desc
+
osLoadedCreationDate
- sleep
- 0
+ desc
+ string osLoadedCreationDate()
+Returns the creation date of the current region
osLoadedCreationTime
- sleep
- 0
+ desc
+ string osLoadedCreationTime()
+Returns the creation time of the current region
osLoadedCreationID
- sleep
- 0
+ desc
+ string osLoadedCreationID()
+Returns the original UUID of the current region
osGetLinkPrimitiveParams
- sleep
- 0
+ desc
+ list osGetLinkPrimitiveParams(integer link_num, list parameters)
+Returns prim params for the prim specified by link_num
osIsNpc
- sleep
- 0
+ desc
+ integer osIsNpc(key npc)
+Returns 1 if TRUE, 0 if FALSE
osNpcCreate
- sleep
- 0
+ desc
+ key osNpcCreate(string firstname, string lastname, vector position, string clone)
+key osNpcCreate(string firstname, string lastname, vector position, string clone, integer options)
+Creates an NPC
osNpcSaveAppearance
- sleep
- 0
+ desc
+ osNpcSaveAppearance(key npc, string notecard)
+Save the target NPC's current appearance to a notecard in the object's inventory
osNpcLoadAppearance
- sleep
- 0
+ desc
+ osNpcLoadAppearance(key npc, string notecard)
+Load the target NPC's appearance from a notecard
osNpcGetOwner
- sleep
- 0
+ desc
+ key osNpcGetOwner(key npc)
+Returns the avatar key for the target NPC's owner
osNpcGetPos
- sleep
- 0
+ desc
+ vector osNpcGetPos(key npc)
+Returns current position vector of the target NPC
osNpcGetRot
- sleep
- 0
+ desc
+ rotation osNpcGetRot(key npc)
+Returns the rotation of the the target NPC
osNpcSetRot
- sleep
- 0
+ desc
+ osNpcSetRot(key npc, rotation rot)
+Set the rotation of the target NPC
osNpcMoveTo
- sleep
- 0
+ desc
+ osNpcMoveTo(key npc, vector position)
+Moves the target NPC to a location within the region
osNpcMoveToTarget
- sleep
- 0
+ desc
+ osNpcMoveToTarget(key npc, vector target, integer options)
+Moves the target NPC to a specified location over a period of time
osNpcStopMoveToTarget
- sleep
- 0
+ desc
+ osNpcStopMoveToTarget(key npc)
+Stop the target NPC's movement
osNpcSay
- sleep
- 0
+ desc
+ osNpcSay(key npc, string message)
+Target NPC says message on the nearby chat channel
osNpcShout
- sleep
- 0
+ desc
+ osNpcShout(key npc, string message)
+Target NPC shouts message on the nearby chat channel
osNpcWhisper
- sleep
- 0
+ desc
+ osNpcWhisper(key npc, string message)
+Target NPC whispers message on the nearby chat channel
osNpcSit
- sleep
- 0
+ desc
+ osNpcSit(key npc, key object, integer options)
+Makes the target NPC sit on an object
osNpcStand
- sleep
- 0
+ desc
+ osNpcStand(key npc)
+Makes the target NPC stand up
osNpcTouch
- sleep
- 0
+ desc
+ osNpcTouch(key npcKey, key object_key, integer link_num)
+Makes the target NPC to touch the specified object
osNpcRemove
- sleep
- 0
+ desc
+ key osNpcRemove(key npc)
+Removes the NPC specified by key npc
osNpcPlayAnimation
- sleep
- 0
+ desc
+ osNpcPlayAnimation(key npc, string animation)
+Plays animation on the target NPC
osNpcStopAnimation
- sleep
- 0
+ desc
+ osNpcStopAnimation(key npc, string animation)
+Stops animation being played by the NPC
osOwnerSaveAppearance
- sleep
- 0
+ desc
+ key osOwnerSaveAppearance(string notecard)
+Creates a notecard with the object owner's current appearance inside the object
osAgentSaveAppearance
- sleep
- 0
+ desc
+ key osAgentSaveAppearance(key avatar, string notecard)
+Creates a notecard with the specified avatar's current appearance inside the object
osGetMapTexture
- sleep
- 0
+ desc
+ key osGetMapTexture()
+Returns the map texture key for the current region
osGetRegionMapTexture
- sleep
- 0
+ desc
+ key osGetRegionMapTexture(string region)
+Returns the map texture key for a specified region
osGetRegionStats
- sleep
- 0
+ desc
+ list osGetRegionStats()
+Returns the current region' statistics
osGetSimulatorMemory
- sleep
- 0
+ desc
+ integer osGetSimulatorMemory()
+Returns the memory in use by the current region
osKickAvatar
- sleep
- 0
+ desc
+ osKickAvatar(string FirstName, string LastName, string alert)
+Kicks specified avatar out of the current region
osSetSpeed
- sleep
- 0
+ desc
+ osSetSpeed(key avatar, float modifier)
+Modify the speed of movement for the given avatar
osGetHealth
- sleep
- 0
+ desc
+ osGetHealth(key avatar)
+Return the target avatar's health
osCauseDamage
- sleep
- 0
+ desc
+ osCauseDamage(key avatar, float damage)
+Causes health damage to the specified avatar
osCauseHealing
- sleep
- 0
+ desc
+ osCauseHealing(key avatar, float healing)
+Increase health to the specified avatar
osGetPrimitiveParams
- sleep
- 0
+ desc
+ list osGetPrimitiveParams(key prim, list parameters)
+Returns the parameters of a primitive, specified by its key
osSetPrimitiveParams
- sleep
- 0
+ desc
+ osSetPrimitiveParams(key prim, list parameters)
+Sets the primitive parameters for the given primitive
+
osSetProjectionParams
- sleep
- 0
+ desc
+ osSetProjectionParams(integer projection, key texture, float fov, float focus, float ambience);
+osSetProjectionParams(key prim, integer projection, key texture, float fov, float focus, float ambience)
+Sets the project parameters for the given primitive
osGetAvatarList
- sleep
- 0
+ desc
+ list osGetAvatarList()
+Returns a list with the keys, position, and name of each avatar in the current region
osUnixTimeToTimestamp
- sleep
- 0
+ desc
+ string osUnixTimeToTimestamp(integer time)
+Returns unix time as a formatted timestamp
osGetInventoryDesc
- sleep
- 0
+ desc
+ string osGetInventoryDesc(string name)
+Returns the description of inventory item
osInviteToGroup
- sleep
- 0
+ desc
+ integer osInviteToGroup(key avatar)
+Invited the specified avatar to the object's current group
osEjectFromGroup
- sleep
- 0
+ desc
+ integer osEjectFromGroup(key avatar)
+Eject the specified avatar from the object's current group
osSetTerrainTexture
- sleep
- 0
+ desc
+ osSetTerrainTexture(integer level, key texture)
+Set the terrain texture for the current region to a given texture
osSetTerrainTextureHeight
- sleep
- 0
+ desc
+ osSetTerrainTextureHeight(integer corner, float low, float high)
+Set the terrain texture height for the current region
osIsUUID
- sleep
- 0
+ desc
+ osIsUUID(string)
+Returns 1 if the given string is a valid UUID, 0 if not
osMin
- sleep
- 0
+ desc
+ float osMin(float x, float y)
+Returns the lesser of two numbers
osMax
- sleep
- 0
+ desc
+ float osMax(float x, float y)
+Returns the greater of two numbers
osGetRezzingObject
- sleep
- 0
+ desc
+ key osGetRezzingObject()
+Returns the key of the object's parent object
osSetContentType
- sleep
- 0
+ desc
+ osSetContentType(key id, string type)
+Sets a content return type for a llRequestUrl()
osDropAttachment
- sleep
- 0
+ desc
+ osDropAttachment()
+Drops an attachment
osDropAttachmentAt
- sleep
- 0
+ desc
+ osDropAttachmentAt(vector pos, rotation rot)
+Drops an attachment at a given position and rotation
osForceDropAttachment
- sleep
- 0
+ desc
+ osForceDropAttachment()
+Drops an attachment without a PERMISSION_ATTACH check
osForceDropAttachmentAt
- sleep
- 0
+ desc
+ osForceDropAttachmentAt(vector pos, rotation rot)
+Drops an attachment at a given position and rotation without a PERMISSION_ATTACH check
osListenRegex
- sleep
- 0
+ desc
+ osListenRegex(integer channel, string name, string id, string msg, integer regex_bitfield)
+Filter listen events by regex
osRegexIsMatch
- sleep
- 0
+ desc
+ osRegexIsMatch(string input, string pattern)
+Returns 1 if the input string matches the regular expression pattern, returns 0 if not
osReturnObject
- sleep
- 0
+ desc
+ osReturnObject(key avatar)
+Returns object to a specified avatar
osReturnObjects
- sleep
- 0
+ desc
+ osReturnObjects(integer param)
+Returns a group of objects
osShutDown
- sleep
- 0
+ desc
+ osShutDown()
+Shuts down the current simulator
osAddAgentToGroup
- sleep
- 0
+ desc
+ osAddAgentToGroup(key avatar, string group_name, string role_name)
+Adds the avatar to a group under a given role
osRezObject
- sleep
- 0
+ desc
+ osRezObject(string inventory, vector position, vector velocity, rotation rot, integer param, integer rez_at_root_, integer do_recoil, integer set_die_at_edge, integer check_pos)
+Rez an object
lsGetWindlightScene
- sleep
- 0
+ desc
+ list lsGetWindlightScene(list rules)
+Return the current Lightshare settings
lsSetWindlightScene
- sleep
- 0
+ desc
+ lsSetWindlightScene(list parameters)
+Sets the Lightshare scene
lsSetWindlightSceneTargeted
- sleep
- 0
+ desc
+ lsSetWindlightSceneTargeted(list parameters, key avatar)
+Sets the Lightshare scene for a given avatar
diff --git a/indra/newview/fsscriptlibrary.cpp b/indra/newview/fsscriptlibrary.cpp
index c005321f7b..f0c88282b8 100644
--- a/indra/newview/fsscriptlibrary.cpp
+++ b/indra/newview/fsscriptlibrary.cpp
@@ -52,7 +52,7 @@ void LLScriptLibrary::loadLibrary(const std::string& filename)
god_only = func_map["gods-only"].asBoolean();
}
addFunction(func_itr->first,
- func_map["sleep"].asReal(),
+ func_map["desc"].asString(),
god_only);
}
file.close();
@@ -69,15 +69,15 @@ void LLScriptLibrary::loadLibrary(const std::string& filename)
}
}
-void LLScriptLibrary::addFunction(std::string name, F32 st, bool god_only)
+void LLScriptLibrary::addFunction(std::string name, std::string desc, bool god_only)
{
- LLScriptLibraryFunction func(name, st, god_only);
+ LLScriptLibraryFunction func(name, desc, god_only);
mFunctions.push_back(func);
}
-LLScriptLibraryFunction::LLScriptLibraryFunction(std::string name, F32 st, bool god_only)
+LLScriptLibraryFunction::LLScriptLibraryFunction(std::string name, std::string desc, bool god_only)
: mName(name),
-mSleepTime(st),
+mDesc(desc),
mGodOnly(god_only)
{
}
diff --git a/indra/newview/fsscriptlibrary.h b/indra/newview/fsscriptlibrary.h
index f21d2a3e3a..0e7d411f83 100644
--- a/indra/newview/fsscriptlibrary.h
+++ b/indra/newview/fsscriptlibrary.h
@@ -31,10 +31,10 @@
class LLScriptLibraryFunction
{
public:
- LLScriptLibraryFunction(std::string name, F32 st, bool god_only = false);
+ LLScriptLibraryFunction(std::string name, std::string desc, bool god_only = false);
std::string mName;
- F32 mSleepTime;
+ std::string mDesc;
bool mGodOnly;
};
@@ -47,7 +47,7 @@ public:
std::vector mFunctions;
private:
- void addFunction(std::string name, F32 st, bool god_only = false);
+ void addFunction(std::string name, std::string desc, bool god_only = false);
};
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp
index b82eea79f6..631c249f45 100644
--- a/indra/newview/llpreviewscript.cpp
+++ b/indra/newview/llpreviewscript.cpp
@@ -333,23 +333,28 @@ BOOL LLScriptEdCore::postBuild()
std::string name = i->mName;
funcs.push_back(name);
- std::string desc_name = "LSLTipText_";
- desc_name += name;
- std::string desc = LLTrans::getString(desc_name);
+ // Dynamically loaded script library
+ //std::string desc_name = "LSLTipText_";
+ //desc_name += name;
+ //std::string desc = LLTrans::getString(desc_name);
- F32 sleep_time = i->mSleepTime;
- if( sleep_time )
- {
- desc += "\n";
-
- LLStringUtil::format_map_t args;
- args["[SLEEP_TIME]"] = llformat("%.1f", sleep_time );
- desc += LLTrans::getString("LSLTipSleepTime", args);
- }
+ //F32 sleep_time = i->mSleepTime;
+ //if( sleep_time )
+ //{
+ // desc += "\n";
+
+ // LLStringUtil::format_map_t args;
+ // args["[SLEEP_TIME]"] = llformat("%.1f", sleep_time );
+ // desc += LLTrans::getString("LSLTipSleepTime", args);
+ //}
// A \n linefeed is not part of xml. Let's add one to keep all
// the tips one-per-line in strings.xml
- LLStringUtil::replaceString( desc, "\\n", "\n" );
+ //LLStringUtil::replaceString( desc, "\\n", "\n" );
+ std::string desc = i->mDesc;
+
+ llinfos << "Adding script library function: (" << name << ") with the desc '" << desc << "'" << llendl;
+ //
tooltips.push_back(desc);
}
diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml
index 1b571c8372..78c6b6d9c5 100644
--- a/indra/newview/skins/default/xui/en/strings.xml
+++ b/indra/newview/skins/default/xui/en/strings.xml
@@ -474,2584 +474,7 @@ Please try logging in again in a minute.
Object Backups
-
-
-Sleeps script for [SLEEP_TIME] seconds.
-
-
-
-float llSin(float theta)
-Returns the sine of theta (theta in radians)
-
-
-float llCos(float theta)
-Returns the cosine of theta (theta in radians)
-
-
-float llTan(float theta)
-Returns the tangent of theta (theta in radians)
-
-
-float llAtan2(float y, float x)
-Returns the arctangent2 of y, x
-
-
-float llSqrt(float val)
-Returns the square root of val, or returns 0 and triggers a Math Error for imaginary results
-
-
-float llPow(float base, float exponent)
-Returns the base raised to the power exponent, or returns 0 and triggers Math Error for imaginary results
-
-
-integer llAbs(integer val)
-Returns the positive version of val
-
-
-float llFabs(float val)
-Returns the positive version of val
-
-
-float llFrand(float mag)
-Returns a pseudo random number in the range [0,mag) or (mag,0]
-
-
-integer llFloor(float val)
-Returns largest integer value <= val
-
-
-integer llCeil(float val)
-Returns smallest integer value >= val
-
-
-integer llRound(float val)
-Returns val rounded to the nearest integer
-
-
-float llVecMag(vector v)
-Returns the magnitude of v
-
-
-vector llVecNorm(vector v)
-Returns the v normalized
-
-
-float llVecDist(vector v1, vector v2)
-Returns the 3D distance between v1 and v2
-
-
-vector llRot2Euler(rotation q)
-Returns the Euler representation (roll, pitch, yaw) of q
-
-
-rotation llEuler2Rot(vector v)
-Returns the rotation representation of Euler Angles v
-
-
-rotation llAxes2Rot(vector fwd, vector left, vector up)
-Returns the rotation defined by the coordinate axes
-
-
-vector llRot2Fwd(rotation q)
-Returns the forward vector defined by q
-
-
-vector llRot2Left(rotation q)
-Returns the left vector defined by q
-
-
-vector llRot2Up(rotation q)
-Returns the up vector defined by q
-
-
-rotation llRotBetween(vector v1, vector v2)
-Returns the rotation to rotate v1 to v2
-
-
-llWhisper(integer channel, string msg)
-Whispers the text of msg on channel
-
-
-llSay(integer channel, string msg)
-Says the text of msg on channel
-
-
-llShout(integer channel, string msg)
-Shouts the text of msg on channel
-
-
-integer llListen(integer channel, string name, key id, string msg)
-Sets a callback for msg on channel from name and id (name, id, and/or msg can be empty) and returns an identifier that can be used to deactivate or remove the listen
-
-
-llListenControl(integer number, integer active)
-Makes a listen event callback active or inactive
-
-
-llListenRemove(integer number)
-Removes listen event callback number
-
-
-llSensor(string name, key id, integer type, float range, float arc)
-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 (name, id, and/or keytype can be empty or 0)
-
-
-llSensorRepeat(string name, key id, integer type, float range, float arc, float rate)
-Sets a callback for name and id with type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within range meters and arc radians of forward vector (name, id, and/or keytype can be empty or 0) and repeats every rate seconds
-
-
-llSensorRemove()
-Removes the sensor setup by llSensorRepeat
-
-
-string llDetectedName(integer number)
-Returns the name of detected object number (returns empty string if number is not a valid sensed object)
-
-
-key llDetectedKey(integer number)
-Returns the key of detected object number (returns empty key if number is not a valid sensed object)
-
-
-key llDetectedOwner(integer number)
-Returns the key of detected object's owner (returns empty key if number is not a valid sensed object)
-
-
-integer llDetectedType(integer number)
-Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object (returns 0 if number is not a valid sensed object)
-
-
-vector llDetectedPos(integer number)
-Returns the position of detected object number (returns <0,0,0> if number is not a valid sensed object)
-
-
-vector llDetectedVel(integer number)
-Returns the velocity of detected object number (returns <0,0,0> if number is not a valid sensed object)
-
-
-vector llDetectedGrab(integer number)
-Returns the grab offset of the user touching object (returns <0,0,0> if number is not a valid sensed object)
-
-
-rotation llDetectedRot(integer number)
-Returns the rotation of detected object number (returns <0,0,0,1> if number is not a valid sensed object)
-
-
-integer llDetectedGroup(integer number)
-Returns TRUE if detected object is part of same group as owner
-
-
-integer llDetectedLinkNumber(integer number)
-Returns the link position of the triggered event for touches and collisions only
-
-
-llDie()
-Deletes the object
-
-
-float llGround(vector offset)
-Returns the ground height below the object position + offset
-
-
-float llCloud(vector offset)
-Returns the cloud density at the object position + offset
-
-
-vector llWind(vector offset)
-Returns the wind velocity at the object position + offset
-
-
-llSetStatus(integer status, integer value)
-Sets status (STATUS_PHYSICS, STATUS_PHANTOM, STATUS_BLOCK_GRAB, STATUS_ROTATE_X, STATUS_ROTATE_Y, and/or STATUS_ROTATE_Z) to value
-
-
-integer llGetStatus(integer status)
-Returns value of status (STATUS_PHYSICS, STATUS_PHANTOM, STATUS_BLOCK_GRAB, STATUS_ROTATE_X, STATUS_ROTATE_Y, and/or STATUS_ROTATE_Z)
-
-
-llSetScale(vector scale)
-Sets the scale of the prim
-
-
-vector llGetScale()
-Returns the scale of the prim
-
-
-llSetColor(vector color, integer face)
-Sets the color on face of the prim
-
-
-float llGetAlpha(integer face)
-Returns the alpha of face
-
-
-llSetAlpha(float alpha, integer face)
-Sets the alpha on face
-
-
-vector llGetColor(integer face)
-Returns the color on face
-
-
-llSetTexture(string texture, integer face)
-Sets the texture of face or ALL_SIDES
-
-
-llScaleTexture(float u, float v, integer face)
-Sets the texture u & v scales for the chosen face or ALL_SIDES
-
-
-llOffsetTexture(float u, float v, integer face)
-Sets the texture u & v offsets for the chosen face or ALL_SIDES
-
-
-llRotateTexture(float rotation, integer face)
-Sets the texture rotation for the chosen face
-
-
-string llGetTexture(integer face)
-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)
-
-
-llSetPos(vector pos)
-Moves the object or prim towards pos without using physics (if the script isn't physical)
-
-
-vector llGetPos()
-Returns the position of the task in region coordinates
-
-
-vector llGetLocalPos()
-Returns the position relative to the root
-
-
-llSetRot(rotation rot)
-Sets the rotation
-
-
-rotation llGetRot()
-Returns the rotation relative to the region's axes
-
-
-rotation llGetLocalRot()
-Returns the rotation local to the root
-
-
-llSetForce(vector force, integer local)
-Applies force to the object (if the script is physical), in local coords if local == TRUE
-
-
-vector llGetForce()
-Returns the force (if the script is physical)
-
-
-integer llTarget(vector position, float range)
-Sets positions within range of position as a target and return an ID for the target
-
-
-llTargetRemove(integer number)
-Removes positional target number registered with llTarget
-
-
-integer llRotTarget(rotation rot, float error)
-Set rotations with error of rot as a rotational target and return an ID for the rotational target
-
-
-llRotTargetRemove(integer number)
-Removes rotational target number registered with llRotTarget
-
-
-llMoveToTarget(vector target, float tau)
-Critically damps to target in tau seconds (if the script is physical)
-
-
-llStopMoveToTarget()
-Stops critically damped motion
-
-
-llApplyImpulse(vector force, integer local)
-Applies impulse to object (if the script is physical), in local coords if local == TRUE
-
-
-llApplyRotationalImpulse(vector force, integer local)
-Applies rotational impulse to object (if the script is physical), in local coords if local == TRUE
-
-
-llSetTorque(vector torque, integer local)
-Sets the torque of object (if the script is physical), in local coords if local == TRUE
-
-
-vector llGetTorque()
-Returns the torque (if the script is physical)
-
-
-llSetForceAndTorque(vector force, vector torque, integer local)
-Sets the force and torque of object (if the script is physical), in local coords if local == TRUE
-
-
-vector llGetVel()
-Returns the velocity of the object
-
-
-vector llGetAccel()
-Returns the acceleration of the object relative to the region's axes
-
-
-vector llGetOmega()
-Returns the rotation velocity in radians per second
-
-
-float llGetTimeOfDay()
-Returns the time in seconds since [CURRENT_GRID] server midnight or since region up-time, whichever is smaller
-
-
-float llGetWallclock()
-Returns the time in seconds since midnight California Pacific time (PST/PDT)
-
-
-float llGetTime()
-Returns the time in seconds since the last region reset, script reset, or call to either llResetTime or llGetAndResetTime
-
-
-llResetTime()
-Sets the script timer to zero
-
-
-float llGetAndResetTime()
-Returns the script time in seconds and then resets the script timer to zero
-
-
-llSound(string sound, float volume, integer queue, integer loop)
-Plays sound at volume and whether it should loop or not.
-
-
-llPlaySound(string sound, float volume)
-Plays attached sound once at volume (0.0 - 1.0)
-
-
-llLoopSound(string sound, float volume)
-Plays attached sound looping indefinitely at volume (0.0 - 1.0)
-
-
-llLoopSoundMaster(string sound, float volume)
-Plays attached sound looping at volume (0.0 - 1.0), declares it a sync master
-
-
-llLoopSoundSlave(string sound, float volume)
-Plays attached sound looping at volume (0.0 - 1.0), synced to most audible sync master
-
-
-llPlaySoundSlave(string sound, float volume)
-Plays attached sound once at volume (0.0 - 1.0), synced to next loop of most audible sync master
-
-
-llTriggerSound(string sound, float volume)
-Plays sound at volume (0.0 - 1.0), centered at but not attached to object
-
-
-llStopSound()
-Stops currently attached sound
-
-
-llPreloadSound(string sound)
-Preloads a sound on viewers within range
-
-
-string llGetSubString(string src, integer start, integer end)
-Returns the indicated substring
-
-
-string llDeleteSubString(string src, integer start, integer end)
-Removes the indicated substring and returns the result
-
-
-string llInsertString(string dst, integer position, string src)
-Returns a destination string dst with the string src inserted starting at position pos
-
-
-string llToUpper(string src)
-Returns a string that is src with all upper-case characters
-
-
-string llToLower(string src)
-Returns a string that is src with all lower-case characters
-
-
-llGiveMoney(key destination, integer amount)
-Transfers amount of L$ from script owner to destination
-
-
-llMakeExplosion(integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset)
-Makes a round explosion of particles
-
-
-llMakeFountain(integer particles, float scale, float vel, float lifetime, float arc, integer bounce, string texture, vector offset, float bounce_offset)
-Makes a fountain of particles
-
-
-llMakeSmoke(integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset)
-Makes smoke like particles
-
-
-llMakeFire(integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset)
-Makes fire like particles
-
-
-llRezObject(string inventory, vector pos, vector vel, rotation rot, integer param)
-Instantiates owner's inventory object at pos with velocity vel and rotation rot with start parameter param
-
-
-llLookAt(vector target, float strength, float damping)
-Causes object to point its up axis (positive z) towards target, while keeping its forward axis (positive x) below the horizon
-
-
-llStopLookAt()
-Stops causing object to point at a target
-
-
-llSetTimerEvent(float sec)
-Causes the timer event to be triggered a maximum of once every sec seconds
-
-
-llSleep(float sec)
-Puts the script to sleep for sec seconds
-
-
-float llGetMass()
-Returns the mass of object that the script is attached to
-
-
-llCollisionFilter(string name, key id, integer accept)
-Sets the collision filter, exclusively or inclusively. If accept == TRUE, only accept collisions with objects name and id (either is optional), otherwise with objects not name or id
-
-
-llTakeControls(integer controls, integer accept, integer pass_on)
-Allows for intercepting keyboard and mouse clicks from the agent the script has permissions for
-
-
-llReleaseControls()
-Stops taking inputs that were taken with llTakeControls
-
-
-llAttachToAvatar(integer attach_point)
-Attaches the object to the avatar who has granted permission to the script
-
-
-llDetachFromAvatar()
-Detaches object from avatar
-
-
-llTakeCamera(key avatar)
-Moves avatar's viewpoint to task
-
-
-llReleaseCamera(key avatar)
-Returns camera to agent avatar
-
-
-key llGetOwner()
-Returns the object owner's UUID
-
-
-llInstantMessage(key user, string message)
-Sends the specified string as an Instant Message to the user
-
-
-llEmail(string address, string subject, string message)
-Sends an email to address with the subject and message
-
-
-llGetNextEmail(string address, string subject)
-Gets the next waiting email that comes from address, with specified subject
-
-
-key llGetKey()
-Returns the key of the prim the script is attached to
-
-
-llSetBuoyancy(float buoyancy)
-Sets the buoyancy of the task or object (0 is disabled, < 1.0 sinks, 1.0 floats, > 1.0 rises)
-
-
-llSetHoverHeight(float height, integer water, float tau)
-Critically damps to a height above the ground (or water) in tau seconds
-
-
-llStopHover()
-Stops hovering to a height
-
-
-llMinEventDelay(float delay)
-Sets the minimum time between events being handled
-
-
-llSound(string sound, float volume, integer queue, integer loop)
-Plays sound at volume and whether it should loop or not
-
-
-llSoundPreload(string sound)
-Preloads a sound on viewers within range
-
-
-llRotLookAt(rotation target, float strength, float damping)
-Causes object to point its forward axis towards target
-
-
-integer llStringLength(string str)
-Returns the length of string
-
-
-llStartAnimation(string anim)
-Starts animation anim for agent that granted PERMISSION_TRIGGER_ANIMATION if the permission has not been revoked
-
-
-llStopAnimation(string anim)
-Stops animation anim for agent that granted permission
-
-
-llPointAt(vector pos)
-Makes agent that owns object point at pos
-
-
-llStopPointAt()
-Stops pointing agent that owns object
-
-
-llTargetOmega(vector axis, float spinrate, float gain)
-Rotates the object around axis at spinrate with strength gain
-
-
-integer llGetStartParameter()
-Returns an integer that is the script start/rez parameter
-
-
-llGodLikeRezObject(key inventory, vector pos)
-Rezzes directly off of UUID if owner is in God Mode
-
-
-llRequestPermissions(key agent, integer perm)
-Asks the agent for permission to run certain classes of functions
-
-
-key llGetPermissionsKey()
-Returns the key of the avatar that last granted permissions to the script
-
-
-integer llGetPermissions()
-Returns an integer bitfield with the permissions that have been granted
-
-
-integer llGetLinkNumber()
-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)
-
-
-llSetLinkColor(integer linknumber, vector color, integer face)
-Sets face to color if a task exists in the link chain at linknumber
-
-
-llCreateLink(key target, integer parent)
-Attempts to link the script's object with the target (requires that PERMISSION_CHANGE_LINKS be granted). If parent == TRUE, then the script's object becomes the root
-
-
-llBreakLink(integer linknum)
-Delinks the prim with the given link number in a linked object set (requires that PERMISSION_CHANGE_LINKS be granted)
-
-
-llBreakAllLinks()
-Delinks all prims in the link set (requires that PERMISSION_CHANGE_LINKS be granted)
-
-
-key llGetLinkKey(integer linknumber)
-Returns the key of the linked prim linknumber
-
-
-string llGetLinkName(integer linknumber)
-Returns the name of linknumber in a link set
-
-
-integer llGetInventoryNumber(integer type)
-Returns the number of items of a given type (INVENTORY_* flag) in the prim's inventory
-
-
-string llGetInventoryName(integer type, integer number)
-Returns the name of the inventory item number of a given type
-
-
-llSetScriptState(string name, integer run)
-Sets the running state of the specified script
-
-
-float llGetEnergy()
-Returns how much energy is in the object as a percentage of maximum
-
-
-llGiveInventory(key destination, string inventory)
-Gives inventory to destination
-
-
-llRemoveInventory(string item)
-Removes the named inventory item
-
-
-llSetText(string text, vector color, float alpha)
-Displays text that hovers over the prim with specific color and translucency specified with alpha
-
-
-float llWater(vector offset)
-Returns the water height below the object position + offset
-
-
-llPassTouches(integer pass)
-If pass == TRUE, touches are passed from children on to parents
-
-
-key llRequestAgentData(key id, integer data)
-Requests data about agent id. When data is available the dataserver event will be raised.
-
-
-key llRequestInventoryData(string name)
-Requests data from object's inventory object. When data is available the dataserver event will be raised.
-
-
-llSetDamage(float damage)
-Sets the amount of damage that will be done when this object hits an avatar.
-
-
-llTeleportAgentHome(key id)
-Teleports avatar on the owner's land to their home location without any warning
-
-
-llModifyLand(integer action, integer brush)
-Modifies land using the specified action on the specified brush size of land
-
-
-llCollisionSound(string impact_sound, float impact_volume)
-Suppresses default collision sounds, replaces default impact sounds with impact_sound at the volume impact_volume
-
-
-llCollisionSprite(string impact_sprite)
-Suppresses default collision sprites, replaces default impact sprite with impact_sprite (use an empty string to just suppress)
-
-
-string llGetAnimation(key id)
-Returns the name of the currently playing locomotion animation for avatar id
-
-
-llResetScript()
-Resets the script
-
-
-llMessageLinked(integer linknum, integer num, string str, key id)
-Allows scripts in the same object to communicate. Triggers a link_message event with the same parameters num, str, and id in all scripts in the prim(s) described by linknum.
-
-
-llPushObject(key id, vector impulse, vector ang_impulse, integer local)
-Applies impulse and ang_impulse to object id
-
-
-llPassCollisions(integer pass)
-If pass == TRUE, collisions are passed from children on to parents (default is FALSE)
-
-
-string llGetScriptName()
-Returns the name of the script that this function is used in
-
-
-integer llGetNumberOfSides()
-Returns the number of faces (or sides) of the prim
-
-
-rotation llAxisAngle2Rot(vector axis, float angle)
-Returns the rotation that is a generated angle about axis
-
-
-vector llRot2Axis(rotation rot)
-Returns the rotation axis represented by rot
-
-
-float llRot2Angle(rotation rot)
-Returns the rotation angle represented by rot
-
-
-float llAcos(float val)
-Returns the arccosine in radians of val
-
-
-float llAsin(float val)
-Returns the arcsine in radians of val
-
-
-float llAngleBetween(rotation a, rotation b)
-Returns angle between rotation a and b
-
-
-key llGetInventoryKey(string name)
-Returns the key that is the UUID of the inventory name
-
-
-llAllowInventoryDrop(integer add)
-If add == TRUE, users without modify permissions can still drop inventory items onto a prim
-
-
-vector llGetSunDirection()
-Returns a normalized vector of the direction of the sun in the region
-
-
-vector llGetTextureOffset(integer face)
-Returns the texture offset of face in the x and y components of a vector
-
-
-vector llGetTextureScale(integer side)
-Returns the texture scale of side in the x and y components of a vector
-
-
-float llGetTextureRot(integer side)
-Returns the texture rotation of side
-
-
-integer llSubStringIndex(string source, string pattern)
-Returns an integer that is the index in source where pattern first appears.
-(Returns -1 if not found)
-
-
-key llGetOwnerKey(key id)
-Returns the owner of object id
-
-
-vector llGetCenterOfMass()
-Returns the prim's center of mass (unless called from the root prim, where it returns the object's center of mass)
-
-
-list llListSort(list src, integer stride, integer ascending)
-Sorts the list into blocks of stride, in ascending order if ascending == TRUE.
-The sort order is affected by type.
-
-
-integer llGetListLength(list src)
-Returns the number of elements in the list
-
-
-integer llList2Integer(list src, integer index)
-Copies the integer at index in the list
-
-
-float llList2Float(list src, integer index)
-Copies the float at index in the list
-
-
-string llList2String(list src, integer index)
-Copies the string at index in the list
-
-
-key llList2Key(list src, integer index)
-Copies the key at index in the list
-
-
-vector llList2Vector(list src, integer index)
-Copies the vector at index in the list
-
-
-rotation llList2Rot(list src, integer index)
-Copies the rotation at index in the list
-
-
-list llList2List(list src, integer start, integer end)
-Copies the slice of the list from start to end
-
-
-list llDeleteSubList(list src, integer start, integer end)
-Removes the slice from start to end and returns the remainder of the list
-
-
-integer llGetListEntryType(list src, integer index)
-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)
-
-
-string llList2CSV(list src)
-Creates a string of comma separated values from list
-
-
-list llCSV2List(string src)
-Creates a list from a string of comma separated values
-
-
-list llListRandomize(list src, integer stride)
-Returns a randomized list of blocks of size stride
-
-
-list llList2ListStrided(list src, integer start, integer end, integer stride)
-Copies the strided slice of the list from start to end
-
-
-vector llGetRegionCorner()
-Returns a vector in meters that is the global location of the south-west corner of the region which the object is in
-
-
-list llListInsertList(list dest, list src, integer start)
-Returns a list that contains all the elements from dest but with the elements from src inserted at position start
-
-
-integer llListFindList(list src, list test)
-Returns the index of the first instance of test in src.
-(Returns -1 if not found)
-
-
-string llGetObjectName()
-Returns the name of the prim which the script is attached to
-
-
-llSetObjectName(string name)
-Sets the prim's name to the name parameter
-
-
-string llGetDate()
-Returns the current date in the UTC time zone in the format YYYY-MM-DD
-
-
-integer llEdgeOfWorld(vector pos, vector dir)
-Checks to see whether the border hit by dir from pos is the edge of the world (has no neighboring region)
-
-
-integer llGetAgentInfo(key id)
-Returns an integer bitfield containing the agent information about id.
-Returns AGENT_FLYING, AGENT_ATTACHMENTS, AGENT_SCRIPTED, AGENT_SITTING, AGENT_ON_OBJECT, AGENT_MOUSELOOK, AGENT_AWAY, AGENT_BUSY, AGENT_TYPING, AGENT_CROUCHING, AGENT_ALWAYS_RUN, AGENT_WALKING and/or AGENT_IN_AIR.
-
-
-llAdjustSoundVolume(float volume)
-Adjusts volume of attached sound (0.0 - 1.0)
-
-
-llSetSoundQueueing(integer queue)
-Sets whether attached sounds wait for the current sound to finish (If queue == TRUE then queuing is enabled, if FALSE queuing is disabled [default])
-
-
-llSetSoundRadius(float radius)
-Establishes a hard cut-off radius for audibility of scripted sounds (both attached and triggered)
-
-
-string llKey2Name(key id)
-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.)
-
-
-llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)
-Animates the texture on the specified face/faces
-
-
-llTriggerSoundLimited(string sound, float volume, vector top_north_east, vector bottom_south_west)
-Plays sound at volume (0.0 - 1.0), centered at but not attached to object, limited to the box defined by vectors top_north_east and bottom_south_west
-
-
-llEjectFromLand(key avatar)
-Ejects avatar from the parcel
-
-
-list llParseString2List(string src, list separators, list spacers)
-Breaks src into a list, discarding separators, keeping spacers
-(separators and spacers must be lists of strings, maximum of 8 each)
-
-
-integer llOverMyLand(key id)
-Returns TRUE if id is over land owned by the script owner, otherwise FALSE
-
-
-key llGetLandOwnerAt(vector pos)
-Returns the key of the land owner, returns NULL_KEY if public
-
-
-key llGetNotecardLine(string name, integer line)
-Returns line line of notecard name via the dataserver event
-
-
-vector llGetAgentSize(key id)
-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
-
-
-integer llSameGroup(key id)
-Returns TRUE if avatar id is in the same region and has the same active group, otherwise FALSE
-
-
-key llUnSit(key id)
-If avatar identified by id is sitting on the object the script is attached to or is over land owned by the object's owner, the avatar is forced to stand up
-
-
-vector llGroundSlope(vector offset)
-Returns the ground slope below the object position + offset
-
-
-vector llGroundNormal(vector offset)
-Returns the ground normal below the object position + offset
-
-
-vector llGroundCountour(vector offset)
-Returns the ground contour direction below the object position + offset
-
-
-integer llGetAttached()
-Returns the object's attachment point, or 0 if not attached
-
-
-integer llGetFreeMemory()
-Returns the number of free bytes of memory the script can use
-
-
-string llGetRegionName()
-Returns the current region name
-
-
-float llGetRegionTimeDilation()
-Returns the current time dilation as a float between 0.0 (full dilation) and 1.0 (no dilation)
-
-
-float llGetRegionFPS()
-Returns the mean region frames per second
-
-
-llParticleSystem(list rules)
-Creates a particle system based on rules. An empty list removes the particle system.
-List format is [ rule1, data1, rule2, data2 . . . rulen, datan ]
-
-
-llGroundRepel(float height, integer water, float tau)
-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)
-
-
-llGiveInventoryList(key target, string folder, list inventory)
-Gives inventory items to target, creating a new folder to put them in
-
-
-llSetVehicleType(integer type)
-Sets the vehicle to one of the default types
-
-
-llSetVehicleFloatParam(integer param, float value)
-Sets the specified vehicle float parameter
-
-
-llSetVehicleVectorParam(integer param, vector vec)
-Sets the specified vehicle vector parameter
-
-
-llSetVehicleVectorParam(integer param, rotation rot)
-Sets the specified vehicle rotation parameter
-
-
-llSetVehicleFlags(integer flags)
-Sets the enabled bits in 'flags'
-
-
-llRemoveVehicleFlags(integer flags)
-Removes the enabled bits in 'flags'
-
-
-llSitTarget(vector offset, rotation rot)
-Sets the sit location for the prim. If offset == <0,0,0> then the sit target is removed.
-
-
-key llAvatarOnSitTarget()
-If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY
-
-
-llAddToLandPassList(key avatar, float hours)
-Adds avatar to the land pass list for hours, or indefinitely if hours is 0
-
-
-llSetTouchText(string text)
-Displays text rather than the default 'Touch' in the pie menu
-
-
-llSetSitText(string text)
-Displays text rather than the default 'Sit Here' in the pie menu
-
-
-llSetCameraEyeOffset(vector offset)
-Sets the camera eye offset for avatars that sit on the object
-
-
-llSetCameraAtOffset(vector offset)
-Sets the point the camera is looking at to offset for avatars that sit on the object
-
-
-string llDumpList2String(list src, string separator)
-Returns the list in a single string, using separator between the entries
-
-
-integer llScriptDanger(vector pos)
-Returns TRUE if pos is over public land, sandbox land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts
-
-
-llDialog(key avatar, string message, list buttons, integer chat_channel)
-Shows a dialog box on the avatar's screen with a message and up to 12 buttons.
-If a button is pressed, the avatar says the text of the button label on chat_channel.
-
-
-llVolumeDetect(integer detect)
-If detect = TRUE, object works much like Phantom, but triggers collision_start and collision_end events when other objects start and stop interpenetrating.
-Must be applied to the root prim.
-
-
-llResetOtherScript(string name)
-Resets script name
-
-
-integer llGetScriptState(string name)
-Returns TRUE if the script name is running
-
-
-DEPRECATED! Please use llRemoteLoadScriptPin instead.
-
-
-llSetRemoteScriptAccessPin(integer pin)
-If pin is set to a non-zero number, allows a prim to have scripts remotely loaded via llRemoteLoadScriptPin when it passes in the correct pin. Otherwise, llRemoteLoadScriptPin is ignored.
-
-
-llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param)
-Copies script name onto target, if the owner of this scripted object can modify target and is in the same region, and the matching pin is used.
-If running == TRUE, starts the script with start_param
-
-
-llOpenRemoteDataChannel()
-Creates a channel to listen for XML-RPC calls, and will trigger a remote_data event with channel id once it is available
-
-
-key llSendRemoteData(key channel, string dest, integer idata, string sdata)
-Sends an XML-RPC request to dest through channel with payload of channel (in a string), integer idata and string sdata.
-Returns a key that is the message_id for the resulting remote_data events.
-
-
-llRemoteDataReply(key channel, key message_id, string sdata, integer idata)
-Sends an XML-RPC reply to message_id on channel with payload of string sdata and integer idata
-
-
-llCloseRemoteDataChannel(key channel)
-Closes XML-RPC channel
-
-
-string llMD5String(string src, integer nonce)
-Returns a string of 32 hex characters that is a RSA Data Security, Inc. MD5 Message-Digest Algorithm of src with nonce
-
-
-llSetPrimitiveParams(list rules)
-Sets the prim's parameters according to rules
-
-
-string llStringToBase64(string str)
-Converts a string to the Base64 representation of the string
-
-
-string llBase64ToString(string str)
-Converts a Base64 string to a conventional string.
-If the conversion creates any unprintable characters, they are converted to spaces.
-
-
-string llXorBase64Strings(string s1, string s2)
-DEPRECATED! Please use llXorBase64StringsCorrect instead.
-Incorrectly performs an exclusive or on two Base64 strings and returns a Base64 string. s2 repeats if it is shorter than s1. Retained for backwards compatability.
-
-
-llRemoteDataSetRegion()
-DEPRECATED! Please use llOpenRemoteDataChannel instead.
-If an object using remote data channels changes regions, you must call this function to reregister the remote data channels. This call is not needed if the prim does not change regions.
-
-
-float llLog10(float val)
-Returns the base 10 logarithm of val. Returns zero if val <= 0.
-
-
-float llLog(float val)
-Returns the natural logarithm of val. Returns zero if val <= 0.
-
-
-list llGetAnimationList(key id)
-Returns a list of keys of playing animations for avatar described by id
-
-
-llSetParcelMusicURL(string url)
-Sets the streaming audio URL for the parcel which the object is on
-
-
-vector llGetRootPosition()
-Returns the position (in region coordinates) of the root prim of the object which the script is attached to
-
-
-rotation llGetRootRotation()
-Returns the rotation (relative to the region) of the root prim of the object which the script is attached to
-
-
-string llGetObjectDesc()
-Returns the description of the prim the script is attached to
-
-
-llSetObjectDesc(string name)
-Sets the prim's description
-
-
-key llGetCreator()
-Returns a key for the creator of the prim
-
-
-string llGetTimestamp()
-Returns the timestamp in the UTC time zone in the format: YYYY-MM-DDThh:mm:ss.ff..fZ
-
-
-llSetLinkAlpha(integer linknumber, float alpha, integer face)
-If a prim exists in the link chain at linknumber, sets face to alpha
-
-
-integer llGetNumberOfPrims()
-Returns the number of prims in a link set the script is attached to
-
-
-key llGetNumberOfNotecardLines(string name)
-Returns number of lines in notecard name via the dataserver event (cast return value to integer)
-
-
-list llGetBoundingBox(key object)
-Returns the bounding box around the object (including any linked prims) relative to its root prim, in a list in the format [ (vector) min_corner, (vector) max_corner ]
-
-
-vector llGetGeometricCenter()
-Returns the geometric center of the linked set the script is attached to.
-
-
-list llGetPrimitiveParams(list params)
-Returns the primitive parameters specified in the params list.
-
-
-string llIntegerToBase64(integer number)
-Returns a string that is a Base64 big endian encode of number
-
-
-integer llBase64ToInteger(string str)
-Returns an integer that is the str Base64 decoded as a big endian integer
-
-
-float llGetGMTclock()
-Returns the time in seconds since midnight GMT
-
-
-string llGetSimulatorHostname()
-Returns the hostname of the machine which the script is running on (same as string in viewer Help dialog)
-
-
-llSetLocalRot(rotation rot)
-Sets the rotation of a child prim relative to the root prim
-
-
-list llParseStringKeepNulls(string src, list separators, list spacers)
-Breaks src into a list, discarding separators, keeping spacers, keeping any null values generated.
-(separators and spacers must be lists of strings, maximum of 8 each)
-
-
-llRezAtRoot(string inventory, vector pos, vector vel, rotation rot, integer param)
-Instantiates owner's inventory object rotated to rot with its root at pos, moving at vel, using param as the start parameter
-
-
-integer llGetObjectPermMask(integer mask)
-Returns the requested permission mask for the root object the task is attached to
-
-
-llSetObjectPermMask(integer mask, integer value)
-Sets the given permission mask to the new value on the root object the task is attached to (requires God Mode)
-
-
-integer llGetInventoryPermMask(string item, integer mask)
-Returns the requested permission mask for the inventory item
-
-
-llSetInventoryPermMask(string item, integer mask, integer value)
-Sets the given permission mask to the new value on the inventory item (requires God Mode)
-
-
-key llGetInventoryCreator(string item)
-Returns a key for the creator of the inventory item
-
-
-llOwnerSay(string msg)
-Says msg to owner only. (Owner must be in the same region.)
-
-
-key llRequestSimulatorData(string simulator, integer data)
-Requests data about simulator. When data is available the dataserver event will be raised.
-
-
-llForceMouselook(integer mouselook)
-If mouselook is TRUE, any avatar that sits upon the prim will be forced into mouselook mode
-
-
-float llGetObjectMass(key id)
-Returns the mass of the avatar or object in the region
-
-
-list llListReplaceList(list dest, list src, integer start, integer end)
-Returns a list that is dest with start through end removed and src inserted at start
-
-
-llLoadURL(key avatar, string message, string url)
-Shows a dialog to avatar offering to load the web page at url with a message.
-If user clicks yes, launches the page in their web browser.
-
-
-llParcelMediaCommandList(list command)
-Sends a list of commands, some with arguments, to a parcel to control the playback of movies and other media
-
-
-list llParcelMediaQuery(list query)
-Returns a list containing results of the sent query
-
-
-integer llModPow(integer a, integer b, integer c)
-Returns a raised to the b power, mod c. ( (a**b)%c )
-b is capped at 0xFFFF (16 bits).
-
-
-integer llGetInventoryType(string name)
-Returns the type of the inventory item name
-
-
-llSetPayPrice(integer price, list quick_pay_buttons)
-Sets the default amount on the dialog that appears when someone chooses to pay this prim
-
-
-vector llGetCameraPos()
-Returns the current camera position for the agent the task has permissions for
-
-
-rotation llGetCameraRot()
-Returns the current camera orientation for the agent the task has permissions for
-
-
-llSetPrimURL(string url)
-Updates the URL for the web page shown on the sides of the object
-
-
-llRefreshPrimURL()
-Reloads the web page shown on the sides of the object
-
-
-string llEscapeURL(string url)
-Returns an escaped/encoded version of url, replacing spaces with %20 etc.
-
-
-string llUnescapeURL(string url)
-Returns an unescaped/ unencoded version of url, replacing %20 with spaces etc.
-
-
-llMapDestination(string simname, vector pos, vector look_at)
-Opens the World Map centered on the region simname with pos highlighted. (NOTE: look_at currently does nothing.)
-Only works for scripts attached to avatar, or during touch events.
-
-
-llAddToLandBanList(key avatar, float hours)
-Adds avatar to the land ban list for hours, or indefinitely if hours is 0
-
-
-llRemoveFromLandPassList(key avatar)
-Removes avatar from the land pass list
-
-
-llRemoveFromLandBanList(key avatar)
-Removes avatar from the land ban list
-
-
-llSetCameraParams(list rules)
-Sets multiple camera parameters at once.
-List format is [ rule1, data1, rule2, data2 . . . rulen, datan ]
-
-
-llClearCameraParams()
-Resets all camera parameters to default values and turns off scripted camera control
-
-
-float llListStatistics(integer operation, list src)
-Performs statistical aggregate functions on list src using LIST_STAT_* operations
-
-
-integer llGetUnixTime()
-Returns the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock
-
-
-integer llGetParcelFlags(vector pos)
-Returns a mask of the parcel flags (PARCEL_FLAG_*) for the parcel that includes the point pos
-
-
-integer llGetRegionFlags()
-Returns the region flags (REGION_FLAG_*) for the region the object is in
-
-
-string llXorBase64StringsCorrect(string s1, string s2)
-Correctly performs an exclusive or on two Base64 strings and returns a Base64 string.
-s2 repeats if it is shorter than s1.
-
-
-llHTTPRequest(string url, list parameters, string body)
-Sends an HTTP request to the specified url with the body of the request and parameters
-
-
-llResetLandBanList()
-Removes all Residents from the land ban list
-
-
-llResetLandPassList()
-Removes all Residents from the land access/pass list
-
-
-integer llGetObjectPrimCount(key object_id)
-Returns the total number of prims for an object in the region
-
-
-list llGetParcelPrimOwners(vector pos)
-Returns a list of all Residents who own objects on the parcel at pos and with individual prim counts.
-Requires owner-like permissions for the parcel.
-
-
-integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide)
-Returns the number of prims on the parcel at pos of the given category.
-Categories: PARCEL_COUNT_TOTAL, _OWNER, _GROUP, _OTHER, _SELECTED, _TEMP
-
-
-integer llGetParcelMaxPrims(vector pos, integer sim_wide)
-Returns the maximum number of prims allowed on the parcel at pos
-
-
-list llGetParcelDetails(vector pos, list params)
-Returns the parcel details specified in params for the parcel at pos.
-Params is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA, _ID, _SEE_AVATARS
-
-
-llSetLinkPrimitiveParams(integer linknumber, list rules)
-Sets primitive parameters for linknumber based on rules
-
-
-llSetLinkTexture(integer linknumber, string texture, integer face)
-Sets the texture of face for a task that exists in the link chain at linknumber
-
-
-string llStringTrim(string src, integer trim_type)
-Trims the leading and/or trailing white spaces from a string.
-trim_type can be STRING_TRIM, STRING_TRIM_HEAD or STRING_TRIM_TAIL.
-
-
-llRegionSay(integer channel, string msg)
-Broadcasts msg on channel (not 0) that can be heard anywhere in the region by a script listening on channel
-
-
-list llGetObjectDetails(key id, list params)
-Returns the object details specified in params for the object with key id.
-Params are OBJECT_NAME, _DESC, _POS, _ROT, _VELOCITY, _OWNER, _GROUP, _CREATOR
-
-
-llSetClickAction(integer action)
-Sets the action performed when a prim is clicked upon
-
-
-integer llGetRegionAgentCount()
-Returns the number of avatars in the region
-
-
-llTextBox(key avatar, string message, integer chat_channel)
-Shows a window on the avatar's screen with the message.
-It contains a text box for input, and if entered that text is chatted on chat_channel.
-
-
-string llGetAgentLanguage(key avatar)
-Returns the language code of the preferred interface language of the avatar
-
-
-vector llDetectedTouchUV(integer index)
-Returns the u and v coordinates in the first two components of a vector, for the texture coordinates where the prim was touched in a triggered touch event
-
-
-integer llDetectedTouchFace(integer index)
-Returns the index of the face where the avatar clicked in a triggered touch event
-
-
-vector llDetectedTouchPos(integer index)
-Returns the position where the object was touched in a triggered touch event
-
-
-vector llDetectedTouchNormal(integer index)
-Returns the surface normal for a triggered touch event
-
-
-vector llDetectedTouchBinormal(integer index)
-Returns the surface binormal for a triggered touch event
-
-
-vector llDetectedTouchST(integer index)
-Returns the s and t coordinates in the first two components of a vector, for the surface coordinates where the prim was touched in a triggered touch event
-
-
-string llSHA1String(string src)
-Returns a string of 40 hex characters that is the SHA1 security Hash of src
-
-
-integer llGetFreeURLs()
-Returns the number of available URLs for the current script
-
-
-key llRequestURL()
-Requests one HTTP:// url for use by this object.
-An http_request event is triggered with the results.
-
-
-key llRequestSecureURL()
-Requests one HTTPS:// (SSL) url for use by this object.
-An http_request event is triggered with the results.
-
-
-llReleaseURL(string url)
-Releases the specified URL, it will no longer be usable
-
-
-llHTTPResponse(key request_id, integer status, string body)
-Responds to request_id with status and body
-
-
-string llGetHTTPHeader(key request_id, string header)
-Returns the value for header for request_id
-
-
-llSetPrimMediaParams(integer face, list params)
-Sets the media params for a particular face on an object. If media is not already on this object, add it.
-List is a set of name/value pairs in no particular order. Params not specified are unchanged, or if new media is added then set to the default specified.
-The possible names are below, along with the types of values and what they mean.
-
-
-list llGetPrimMediaParams(integer face, list params)
-Returns the media params for a particular face on an object, given the desired list of names, in the order requested.
-(Returns an empty list if no media exists on the face.)
-
-
-llClearPrimMedia(integer face)
-Clears (deletes) the media and all params from the given face.
-
-
-llSetLinkPrimitiveParamsFast(integer linknumber,list rules)
-Set primitive parameters for linknumber based on rules.
-
-
-llGetLinkPrimitiveParams(integer linknumber,list rules)
-Get primitive parameters for linknumber based on rules.
-
-
-llLinkParticleSystem(integer linknumber,list rules)
-Creates a particle system based on rules. Empty list removes particle system from object.
-List format is [ rule1, data1, rule2, data2 . . . rulen, datan ].
-
-
-llSetLinkTextureAnim(integer link, integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)
-Animate the texture on the specified prim's face/faces.
-
-
-integer llGetLinkNumberOfSides(integer link)
-Returns the number of sides of the specified linked prim.
-
-
-string llGetUsername(key id)
-Returns the single-word username of an avatar, iff the avatar is in the current region, otherwise the empty string.
-
-
-key llRequestUsername(key id)
-Requests single-word username of an avatar. When data is available the dataserver event will be raised.
-
-
-string llGetDisplayName(key id)
-Returns the name of an avatar, iff the avatar is in the current simulator, and the name has been cached, otherwise the same as llGetUsername. Use llRequestDisplayName if you absolutely must have the display name.
-
-
-key llRequestDisplayName(key id)
-Requests name of an avatar. When data is available the dataserver event will be raised.
-
-
-llGetEnv(string name)
-Returns a string with the requested data about the region
-
-
-llCastRay(vector start, vector end, list params)
-Casts a ray into the physics world from 'start' to 'end' and returns data according to details in params.
-
-
-llRegionSayTo(key target, integer channel, string msg)
-Sends msg on channel (not DEBUG_CHANNEL) directly to prim or avatar target anywhere within the region.
-
-
-integer llGetSPMaxMemory()
-Returns the maximum used memory for the current script. Only valid after using PROFILE_SCRIPT_MEMORY. Non-mono scripts always use 16k.
-
-
-integer llGetUsedMemory()
-Returns the current used memory for the current script. Non-mono scripts always use 16k.
-
-
-llScriptProfiler(integer flags)
-Enabled or disables script profiling options. Currently only supports PROFILE_SCRIPT_MEMORY (mono only) and PROFILE_NONE.
-MAY SIGNIFICANTLY REDUCE SCRIPT PERFORMANCE!
-
-
-
-llSetLinkMedia(integer link, integer face, list params)
-Set the media params for a particular face on linked prim. List is a set of name/value pairs (in no particular order). The possible names are below, along with the types of values and what they mean. If media is not already on this object, add it. Params not specified are unchanged, or if new media is added set to the default specified.
-
-
-list llGetLinkMedia(integer link, integer face, list params)
-Get the media params for a particular face on linked prim, given the desired list of names. Returns a list of values in the order requested. Returns an empty list if no media exists on the face.
-
-
-llClearLinkMedia(integer link, integer face)
-Clears (deletes) the media and all params from the given face on linked prim.
-
-
-
-llLinkSitTarget(integer link, vector offset, rotation rot)
-Set the sit location for this object (if offset == <0,0,0> clear it)
-
-
-key llAvatarOnLinkSitTarget(integer link)
-If an avatar is sitting on the sit target, return the avatar's key, NULL_KEY otherwise
-
-
-
-llSetVelocity(vector velocity, integer local)
-Sets an objects velocity, in local coords if local == TRUE (if the script is physical)
-
-
-llSetAngularVelocity(vector angular_velocity, integer local)
-Sets an objects angular velocity, in local coords if local == TRUE (if the script is physical)
-
-
-llSetPhysicsMaterial(integer flags, float gravity_multiplier, float restitution, float friction, float density )
-Sets the requested attributes of the root object's physics material.
-
-
-llGetPhysicsMaterial() returns the gravity multiplier, restitution, friction, and density of the linkset as a list in that order.
-
-
-llGetMassMKS() returns the mass of the linkset in kilograms.
-
-
-key llGenerateKey()
-Return a unique generated key
-
-
-llSetKeyframedMotion(list keyframes, list options)
-Requests that a nonphysical object be keyframed according to keyframe list.
-
-
-key llTransferLindenDollars(key destination, integer amount)
-Transfer amount of linden dollars (L$) from script owner to destination. Returns a key to a corresponding transaction_result event for the success of the transfer.
-
-
-string llGetParcelMusicURL()
-Gets the streaming audio URL for the parcel of land on which the object is located.
-
-
-integer llSetRegionPos(vector pos)
-Sets the position anywhere within the region (if the object isn't physical)
-
-
-llNavigateTo(vector point, list options)
-For AI Character: Navigate to destination.
-
-
-llCreateCharacter(list options)
-Convert linkset to AI Character which can navigate the world.
-
-
-llPursue(key target, list options)
-For AI Character: Chase after a target.
-
-
-llWanderWithin(vector center, float radius, list options)
-For AI Character: Wander within a specified volume.
-
-
-llFleeFrom(vector source, float radius, list options)
-For AI Character: Flee from a point.
-
-
-llPatrolPoints(list points, list options)
-For AI Character: Patrol a list of points.
-
-
-llExecCharacterCmd(integer cmd, list options)
-For AI Character: Execute a character command.
-
-
-llDeleteCharacter()
-Convert linkset from AI Character to Physics object.
-
-
-llUpdateCharacter(list options)
-Change the AI Character's settings.
-
-
-llEvade(key target, list options)
-For AI Character: Evade a specified target.
-
-
-list llGetClosestNavPoint(vector point, list options)
-For AI Character: Get the closest navigable point to the point provided.
-
-
-
-
-list llGetStaticPath(vector start, vector end, float radius, list params)
-Returns a list of position vectors indicating pathfinding waypoints between positions at start and end, for a character of a given radius.
-
-
-
-integer llSetMemoryLimit(integer limit)
-Request limit bytes to be reserved for this script.
-Returns a success/failure flag (STATUS_OK when successful, another of the STATUS_* flags on failure) for whether the memory limit was set.
-Only relevant for Mono-compiled scripts.
-
-
-integer llGetMemoryLimit()
-Get the maximum memory a script can use.
-Returns the integer amount of memory the script can use in bytes.
-
-
-llSetLinkCamera(integer link, vector eye, vector at)
-Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim.
-The two vector parameters are offsets relative to the object's center and expressed in local coordinates.
-
-
-llSetContentType(key request_id, integer content_type)
-Set the Internet media type of an LSL HTTP server response.
-content_type may be one of CONTENT_TYPE_TEXT (default) "text/plain", or CONTENT_TYPE_HTML "text/html", only valid for embedded browsers on content owned by the person viewing. Falls back to "text/plain" otherwise.
-
-
-integer llManageEstateAccess(integer action, key id)
-To add or remove agents from the estate's agent access or ban lists or groups from the estate's group access list.
-Only works for objects owned by the Estate Owner or an Estate Manager.
-Returns TRUE if successful and FALSE if throttled, on invalid action, on invalid or null id, or if object owner is not allowed to manage the estate.
-'action' can be any of: ESTATE_ACCESS_ALLOWED_[AGENT/GROUP]_[ADD/REMOVE] or ESTATE_ACCESS_BANNED_AGENT_[ADD/REMOVE]
-
-
-list llGetAgentList(integer scope, list options)
-Requests a list of agents currently in the region, limited by the scope parameter.
-
-
-llAttachToAvatarTemp(integer attach_point)
-Attaches the object to the avatar who has granted permission to the script, with the exception that the object will not create new inventory for the user, and will disappear on detach or disconnect.
-
-
-llTeleportAgent(key avatar, string landmark, vector position, vector look_at)
-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.
-
-
-llTeleportAgentGlobalCoords(key agent, vector global_coordinates, vector region_coordinates, vector look_at)
-Teleports an agent to set of a region_coordinates within a region at the specified global_coordinates. The agent lands facing the position defined by look_at local coordinates.
-A region's global coordinates can be retrieved using llRequestSimulatorData(region_name, DATA_SIM_POS)
-
-
-float llGetSimStats(integer stat_type)
-Returns the value of a particular simulator statistic.
-
-
-llSetAnimationOverride(string anim_state, string anim)
-Set the animation (anim) that will play for the given animation state (anim_state).
-
-
-string llGetAnimationOverride(string anim_state)
-Returns a string that is the name of the animation that is being used for the specified animation state (anim_state).
-
-
-llResetAnimationOverride(string anim_state)
-Resets the animation override of the specified animation state (anim_state) to the corresponding default value.
-
-
-list llJson2List(string json)
-Converts the top level of the json string to a list.
-
-
-string llList2Json(string type, list values)
-Converts either a strided list of key:value pairs to a JSON_OBJECT or a list of values to a JSON_ARRAY
-
-
-string llJsonGetValue(string json, list specifiers)
-Gets the value indicated by specifiers from the json string.
-
-
-string llJsonSetValue(string json, list specifiers, string value)
-Returns a new json string that is the json given with the value indicated by specifiers set to value.
-
-
-string llJsonValueType(string json, list specifiers)
-Returns the type constant for the value in json indicated by specifiers.
-
-
-integer LSLTipText_llReturnObjectsByID(list objects)
-Returns a list of objects by their IDs.
-
-
-integer llReturnObjectsByOwner(key owner, integer scope)
-Returns all objects of a particular owner in the given scope.
-
-
-
-
-
-
-
-osSetRegionWaterHeight(float height)
-Adjusts water height in current region.
-
-
-osSetRegionSunSettings(integer useEstateSun, integer sunFixed, float sunHour)
-Set the current region's sun settings.
-
-
-osSetEstateSunSettings(integer sunFixed, float sunHour)
-Set current estate's sun settings.
-
-
-osGetCurrentSunHour()
-Returns the value of the current region's sun hour.
-
-
-osGetSunParam(string param)
-Returns region's current sun parameters.
-Param are: day_length, year_length, day_night_offset, update_interval.
-
-
-osSetSunParam(string param, float value)
-Sets the current region's sun parameters.
-Param are: day_length, year_length, day_night_offset, update_interval.
-
-
-osWindActiveModelPluginName()
-Gets active wind plugin name, specified by "wind_plugin" in OpenSim.ini ("SimpleRandomWind" or "ConfigurableWind").
-
-
-osSetWindParam(string plugin, string param, float value)
-Sets value of param property for plugin module.
-SimpleRandomWind plugin param is: strength.
-ConfigurableWind plugin params are: avgStrength, avgDirection, varStrength, varDirection, rateChange.
-
-
-osGetWindParam(string plugin, string param)
-Gets the value of param property for plugin module.
-SimpleRandomWind plugin param is: strength.
-ConfigurableWind plugin params are: avgStrength, avgDirection, varStrength, varDirection, rateChange.
-
-
-osParcelJoin(vector start, vector end)
-Joins two adjacent parcels within the same region.
-
-
-osParcelSubdivide(vector start, vector end)
-Subdivides a parcel into two adjacent parcels within the same region.
-
-
-osSetParcelDetails(vector pos, list rules)
-This function is the counterpart to llGetParcelDetails. Currently PARCEL_DETAILS_NAME, PARCEL_DETAILS_DESC, PARCEL_DETAILS_OWNER, PARCEL_DETAILS_GROUP, PARCEL_DETAILS_CLAIMDATE are implemented
-
-
-osList2Double(list src, integer index)
-This function converts a value in the specified index of the list src to the double data type. However, OSSL does not have a double data type. C# contains a double type, but the current LSL implementation does not.
-
-
-string osSetDynamicTextureURL(key dynamicID, string contentType, string url, string extraParams, integer timer)
-Renders a web texture on the prim containing the script and returns the UUID of the newly created texture.
-
-
-string osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams, integer timer, integer alpha)
-Allows for two dynamic textures to blend on the prim containing this script.
-
-
-string osSetDynamicTextureDataBlendFace(string dynamicID, string contentType, string data, string extraParams, integer blend, integer disp, integer timer, integer alpha, integer face)
-Returns UUID of the generated texture. Intended to be used with subsequent calls to osSetDynamicTextureXXXX functions in order to modify the texture.
-
-
-osSetDynamicTextureURLBlend(key dynamicID, string contentType, string url, string extraParams, integer timer, integer alpha)
-Allows for two dynamic textures to blend on the prim containing this script.
-
-
-osSetDynamicTextureURLBlendFace(key dynamicID, string contentType, string url, string extraParams, integer blend, integer disp, integer timer, integer alpha, integer face)
-Allows for two dynamic textures to blend on the specified face of the prim containing this script.
-
-
-osSetDynamicTextureData(key dynamicID, string contentType, string data, string extraParams, integer timer)
-Renders a dynamically created texture on the prim containing the script and returns the UUID of the newly created texture.
-
-
-osGetTerrainHeight(integer x, integer y)
-Returns the current region's terrain height as a float at the given coordinates.
-
-
-osSetTerrainHeight(integer x, integer y, float val)
-Sets the current region's terrain height at the given coordinates.
-
-
-osTerrainFlush()
-Updates terrain changes to OpenSimulator database. This should be called after all the terrain-changes have been done to update Terrain Data.
-
-
-osRegionRestart(float seconds)
-Restarts a region after a specified timeout in seconds.
-
-
-osRegionNotice(string msg)
-Sends a region notice to the entire current region.
-
-
-osConsoleCommand(string command)
-There are no security checks, so it can do anything a user with access to the command console could do, such as changing the avatar passwords, deleting sims, changing the terrain, and just about everything else.
-NOTE: DO NOT USE THIS COMMAND UNLESS YOU ARE ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING!
-
-
-osSetParcelMediaURL(string url)
-Set parcel media to specified url.
-
-
-osSetParcelSIPAddress(string SIPAddress)
-Set parcel SIP Address for voice.
-
-
-osSetPrimFloatOnWater(integer float)
-Make physical prims float at the water level, boolean.
-
-
-osTeleportAgent(key agent, integer regionX, integer regionY, vector position, vector lookat);
-osTeleportAgent(key agent, string regionName, vector position, vector lookat);
-osTeleportAgent(key agent, vector position, vector lookat)
-Teleports an agent to the specified location. The first variant is able to teleport to any addressable region, including hypergrid destinations. The second variant teleports to a region in the local grid; the region coordinates are specified as region cells (not as global coordinates based on meters). The third variant teleports within the current region.
-For osTeleportAgent() to work, the owner of the prim containing the script must be the same as the parcel that the avatar is currently on. If this isn't the case then the function fails silently.
-
-
-osTeleportOwner(integer regionX, integer regionY, vector position, vector lookat);
-osTeleportOwner(string regionName, vector position, vector lookat);
-osTeleportOwner(vector position, vector lookat)
-Teleports the owner of the object containing the script to the specified location. The first variant is able to teleport to any addressable region, including hypergrid destinations. The second variant teleports to a region in the local grid; the region coordinates are specified as region cells (not as global coordinates based on meters). The third variant teleports within the current region.
-
-
-osAvatarPlayAnimation(key UUID, string animation)
- Causes an animation to be played on the specified avatar. The variable animation can be either the name of an animation within the prim's inventory, or it can be the animation's UUID. Instead of the name of an animation in the prim's inventory, you can also use the names of the viewer's built-in animations.
-No PERMISSION_TRIGGER_ANIMATION check.
-
-
-osAvatarStopAnimation(key UUID, string animation)
-This function stops the specified animation if it is playing on the avatar given.
-The value avatar is a UUID, and the animation value is either the name of an animation in the prim's inventory or the UUID of an animation.
-If the specified avatar is not logged in or on the same sim as the script, then osAvatarStopAnimation silently fails.
-
-
-string osGetAgentIP(key agent)
-Returns a string representing the Avatars IP Address.
-
-
-list osGetAgents()
-Returns a list of all the agents names in the region.
-
-
-osForceAttachToAvatar(integer attachmentPoint)
-Works exactly like llAttachToAvatar() except that PERMISSION_ATTACH is not required.
-
-
-osForceAttachToAvatarFromInventory(string itemName, integer attachmentPoint)
-Attach an inventory item in the object containing this script to any avatar in the region without asking for PERMISSION_ATTACH. Nothing happens if the avatar is not in the region.
- itemName - The name of the item. If this is not found then a warning is said to the owner.
- attachmentPoint - The attachment point. For example, ATTACH_CHEST.
-
-
-osForceAttachToOtherAvatarFromInventory(string rawAvatarId, string itemName, integer attachmentPoint)
-Attach an inventory item in the object containing this script to any avatar in the region without asking for PERMISSION_ATTACH.
-rawAvatarId = The UUID of the avatar to which to attach. itemName = The name of the item. attachmentPoint = The attachment point. Example, ATTACH_CHEST.
-
-
-osForceDetachFromAvatar()
-Works exactly like llDetachFromAvatar() except that PERMISSION_ATTACH is not required.
-
-
-osGetNumberOfAttachments(key avatar, list attachmentPoints)
-Returns a strided list of the specified attachment points and the number of attachments on those points.
-
-
-osMessageAttachments(key avatar, string message, list attachmentPoints, integer flags)
- Sends a specified message to the specified avatar's attachments on the specified attachment points.
- Behaves as osMessageObject, without the sending script needing to know the attachment keys in advance.
-
-
-osMovePen(string drawList, integer x, integer y)
-Moves the pen's location to the coordinates specified by the x and y parameters, without drawing anything.
-
-
-osDrawLine(string drawList, integer startX, integer startY, integer endX, integer endY)
- or
-osDrawLine(string drawList, integer endX, integer endY)
-NOTE: Polymorphic Command ! Draws a line on a dynamic texture.
-
-
-osDrawText(string drawList, string text)
-Renders text on a dynamic texture.
-
-
-osDrawEllipse(string drawList, integer width, integer height)
-Draws an ellipse on a dynamic texture.
-
-
-osDrawRectangle(string drawList, integer width, integer height)
-Draws a rectangle on a dynamic texture.
-
-
-osDrawFilledRectangle(string drawList, integer width, integer height)
-Draws a rectangle on a dynamic texture, and fills it with the current pen color.
-
-
-osDrawPolygon (string drawList, list x, list y)
-Draws a polygon on a dynamic texture.
-
-
-osDrawFilledPolygon (string drawList, list x, list y)
-Draws a polygon on a dynamic texture, and fills it with the current pen color.
-
-
-osSetFontSize(string drawList, integer fontSize)
-Sets the font size to be used in osDrawText.
-
-
-osSetFontName(string drawList, string fontName)
-Sets current font to be used by osDrawText. Font must exist on region server to display.
-
-
-osSetPenSize(string drawList, integer penSize)
-Sets the pen size (line thickness) that is to be used when drawing dynamic textures.
-
-
-osSetPenColor(string drawList, string color)
-Sets the pen color that is to be used when drawing dynamic textures.
-
-
-osSetPenCap(string drawList, string direction, string type)
-Apply a shape on the end of a line. This allows using arrow, diamond, round and flat caps.
-
-
-osDrawImage(string drawList, integer width, integer height, string imageUrl)
-Retrieves an image specified by the imageUrl parameter and draws it at the specified height and width.
-
-
-osGetDrawStringSize(string contentType, string text, string fontName, integer fontSize)
-Returns a vector containing the horizontal and vertical dimensions in pixels of the specified text.
-
-
-string osGetScriptEngineName()
-Returns the name of the script engine which is currently enabled on the server.
-
-
-string osGetSimulatorVersion()
-Returns current server version information as a string.
-
-
-string osParseJSON(string JSON)
-Returns a hashtable containing the structured JSON contents.
-
-
-osParseJSON(string JSON)
-Returns a hashtable containing the structured JSON contents.
-
-
-osMessageObject(key UUID, string message)
-Sends string to object identified by UUID. Receiving object requires a dataserver(key queryid, string data) in contained script(s). The queryid passed will be the id of the calling object.
-
-
-osMakeNotecard(string notecardName, list contents)
-Writes a Notecard contained inside the prim with contents of list.
-
-
-string osGetNotecardLine(string name, integer line)
-Reads the requested notecard line and return its data as a string.
-
-
-string osGetNotecard(string name)
-Reads the entire notecard and return its data as a string.
-
-
-integer osGetNumberOfNotecardLines(string name)
-Returns the total number of lines in a notecard.
-
-
-key osAvatarName2Key(string firstname, string lastname)
-Returns the avatar's UUID from their firstname, lastname.
-
-
-string osKey2Name(key UUID)
-Returns avatar name from their UUID key.
-
-
-string osGetGridNick()
-Returns the grid's nickname.
-
-
-string osGetGridName()
-Returns the grid's name.
-
-
-string osGetGridLoginURI()
-Returns the grid's LoginURI.
-
-
-string osFormatString(string to_format, list strings)
-Return the string with parameters substituted into it. These parameters need to be incrementing numbers, starting at zero, and surrounded by single accolades (also known as curly brackets).
-
-
-list osMatchString(string src, string pattern, integer start)
-This function returns a list containing the matches from the given string.
-
-
-string osLoadedCreationDate()
-This function returns a string containing the date that a sim was first created. It will return empty string if the region hasn't been created by oar import, or the region uses SQLite for region database.
-
-
-string osLoadedCreationTime()
-This function returns a string containing the time that a sim was first created. It will return empty string if the region hasn't been created by oar import, or the region uses SQLite for region database.
-
-
-string osLoadedCreationID()
-This function returns a string containing the UUID that a sim was originally created with. It will return empty string if the region hasn't been created by oar import, or the region uses SQLite for region database.
-
-
-list osGetLinkPrimitiveParams(integer linknumber, list rules)
-Returns prim params for the linkset prims specified by linknum.
-If using linkset constants (e.g. LINK_SET, LINK_ALL_CHILDREN, etc), the requested params of each relevant prim are concatenated to the end of the list. Usage is otherwise identical to llGetPrimitiveParams().
-
-
-integer osIsNpc(key npc)
-Returns TRUE (1) / FALSE (0) if key provided is an NPC
-
-
-key osNpcCreate(string firstname, string lastname, vector position, string cloneFrom)
-key osNpcCreate(string firstname, string lastname, vector position, string cloneFrom, integer options)
-Creates an NPC named firstname lastname at position from avatar appearance resource cloneFrom
-
-
-osNpcSaveAppearance(key npc, string notecard)
-Save the NPC's current appearance to a notecard in the prim's inventory. This includes body part data, clothing items and attachments. If a notecard with the same name already exists then it is replaced. The avatar must be present in the region when this function is invoked. The baked textures for the avatar (necessary to recreate appearance) are saved permanently.
-
-
-osNpcLoadAppearance(key npc, string notecard)
-Load appearance from a notecard. This notecard must contain appearance data created with one of the save appearance functions.
-
-
-vector osNpcGetPos(key npc)
-Returns current position vector of the NPC.
-
-
-osNpcMoveTo(key npc, vector position)
-Moves an NPC to a location within the region.
-
-
-osNpcMoveToTarget(key npc, vector target, integer options)
-Moves NPC to given target over time. Options = OS_NPC_FLY, OS_NPC_NO_FLY, OS_NPC_LAND_AT_TARGET
-
-
-rotation osNpcGetRot(key npc)
-Gets the rotation of the avatar. Only the rotation around the Z plane in Euler rotation (horizontal rotation) has any meaning.
-
-
-osNpcSetRot(key npc, rotation rot)
-Set the rotation of the NPC.
-Only setting the rotation in the Z plane in Euler rotation will have any meaningful effect (turning NPC facing direction). Setting X or Y Euler values will result in the avatar rotating in an undefined manner.
-
-
-osNpcStopMoveToTarget(key npc)
-Stop a current move to a target.
-
-
-osNpcSay(key npc, string message)
-npc says message.
-
-
-osNpcShout(key npc, string message)
-npc shouts message.
-
-
-osNpcWhisper(key npc, string message)
-npc whispers message.
-
-
-osNpcSit(key npc, key target, integer options)
-Makes an NPC sit on an object.
-
-
-osNpcStand(key npc)
-Makes a sitting NPC stand up.
-
-
-osNpcTouch(key npcKey, key object_key, integer link_num)
-Allows an NPC to touch the specified object determined by it's key and specific link number of the target object. Only LINK_THIS and LINK_ROOT are valid for this function. Any other of the LINK_* constants will be ignored and no touch takes place.
-
-
-key osNpcRemove(key npc)
-Removes the NPC specified by key npc.
-
-
-key osNpcGetOwner(key npc)
-Get the owner's npc's UUID
-
-
-osNpcPlayAnimation(key npc, string animation)
-Plays animation on the NPC identified by their key.
-
-
-osNpcStopAnimation(key npc, string animation)
-Stops animation on being played by the NPC identified by their key.
-
-
-key osOwnerSaveAppearance(string notecard)
-Save the owner's current appearance to a notecard in the prim's inventory. This includes body part data, clothing items and attachments. If a notecard with the same name already exists then it is replaced. The owner must be present in the region when this function is invoked. The baked textures for the owner (necessary to recreate appearance on the NPC) are saved permanently.
-
-
-key osAgentSaveAppearance(key agentId, string notecard)
-Save an arbitrary avatar's appearance to a notecard in the prim's inventory. This includes body part data, clothing items and attachments. If a notecard with the same name already exists then it is replaced. The avatar must be present in the region when this function is invoked. The baked textures for the avatar (necessary to recreate appearance on the NPC) are saved permanently.
-
-
-key osGetMapTexture()
-Returns the UUID of the map texture of the current region.
-
-
-key osGetRegionMapTexture(string regionName)
-This function retrieves the UUID of the texture used to represent the named region on the world map, and returns it.
-
-
-list osGetRegionStats()
-Returns a list of float values representing a number of region statistics (many of the values shown in the "Stats Bar" of LL-based clients). Provides similar functionality to llGetRegionFPS() and llGetRegionTimeDilation(), but returns 21 statistics simultaneously.
-
-
-integer osGetSimulatorMemory()
-Returns current memory used by simulator instance.
-
-
-osKickAvatar(string FirstName, string LastName, string alert)
-Kicks specified avatar from the current region.
-
-
-osSetSpeed(key UUID, float SpeedModifier)
-Allows for users to speed themselves up by multiplying the running, walking, rotating and flying of the avatar.
-
-
-osGetHealth(key avatar)
-Return the target avatar's health.
-
-
-osCauseDamage(key UUID, float damage)
-Causes damage to the specified avatar. Region must be damage enabled.
-
-
-osCauseHealing(key UUID, float healing)
-Heals the specified avatar.
-
-
-list osGetPrimitiveParams(key prim, list rules)
-Gets the parameters of a primitive, specified by its key.
-
-
-osSetPrimitiveParams(key prim, list rules)
-Sets the parameters for the prim specified by prim_uuid according to rules. This function has the same behave as llSetPrimitiveParams except you can specify target prim anywhere in the scene.
-
-
-osSetProjectionParams(integer projection, key texture, float fov, float focus, float ambience);
-osSetProjectionParams(key prim, integer projection, key texture, float fov, float focus, float ambience)
- 2 Variations possible: bool = TRUE / FALSE or double = float
-
-
-list osGetAvatarList()
-Returns strided list of the UUID, position, and name of each avatar in the region except for the owner.
-
-
-string osUnixTimeToTimestamp(integer unixtime)
-Converts unixtime to an llGetTimeStamp() formated string.
-
-
-string osGetInventoryDesc(string name)
-Returns a string that is the description of inventory item "name"
-
-
-integer osInviteToGroup(key user)
-Invite the given agent to the group the object is set to.
-
-
-integer osEjectFromGroup(key user)
-Eject the given agent to the group the object is set to.
-
-
-void osSetTerrainTexture(integer level, key texture)
-Set the terrain texture of the estate to the texture given as key. The level can be 0, 1, 2 or 3.
-
-
-void osSetTerrainTextureHeight(integer corner, float low, float high)
-Set the terrain texture height of the estate. The level can be 0, 1, 2 or 3. The values low and high are float values for the altitude measured in meters.
-
-
-osIsUUID(string thing)
-Returns 1 if the supplied string is a valid UUID, returns 0 otherwise.
-
-
-osMin(float A, float B)
-Returns the smaller of two numbers. Wraps to the system Math.Min() function
-
-
-osMax(float A, float B)
-Returns the larger of two numbers. Wraps to system Math.Max()
-
-
-osGetRezzingObject()
-Get the key of the object that rezzed this object. Will return NULL_KEY if rezzed by agent or otherwise unknown source. Should only be reliable inside the on_rez event.
-
-
-osSetContentType(key id, string type)
-Sets an arbitrary content return type for an llRequestUrl().
-
-
-osDropAttachment()
-Requires script to be granted PERMISSION_ATTACH, drops an attachment like a user-triggered attachment drop.
-
-
-osDropAttachmentAt(vector pos, rotation rot)
-Requires script to be granted PERMISSION_ATTACH, drops an attachment at position pos with rotation rot
-
-
-osForceDropAttachment()
-Drops an attachment like a user-triggered attachment drop without checking if PERMISSION_ATTACH has been granted.
-
-
-osForceDropAttachmentAt(vector pos, rotation rot)
-Drops an attachment at position pos with rotation rot without checking if PERMISSION_ATTACH has been granted.
-
-
-osListenRegex(integer channelID, string name, string ID, string msg, integer regexBitfield)
-Allows the server to filter listen events by regular expressions. name or message parameters can be regular expressions, these are behaviours are controlled via the regexBitField parameter using the constants OS_LISTEN_REGEX_NAME and OS_LISTEN_REGEX_MESSAGE. If the regex strings are invalid, an error will be shouted on the debug channel.
-
-
-osRegexIsMatch(string input, string pattern)
-Returns 1 if the input string matches the regular expression pattern. Wraps to Regex.IsMatch()
-
-
-osGetGridGatekeeperURI()
-Returns the current grid's Gatekeeper URI as a string.
-
-
-osGetGridHomeURI()
-Returns the current grid's home URI as a string.
-
-
-osGetGridCustom(string key)
-Returns the value of the GridInfo key as a string.
-
-
-osParseJSONNew(string JSON)
-Returns osd deserialized JSON to object.
-
-
-osReplaceString(string src, string pattern, string replace, integer count, integer start)
-This function is for regular expression-based string replacement. The count parameter specifies the total number of replacements to make where -1 makes all possible replacements.
-
-
-osReturnObject(key userID)
-Returns object to specified avatars UUID.
-
-
-osReturnObjects(float Parameter)
-Returns group of objects. Parameters are numeric, values are as follows: owner objects = 0, everyone except owner objects = 1, group objects = 2.
-
-
-osShutDown()
-Shut down current Simulator.
-Authorized Admin Only by config.
-
-
-osAddAgentToGroup(key avatarID, string group_name, string role_name)
-Adds an avatar to a group. Where group_name = name of the target group, role_name = role to assign within the group.
-
-
-osRezObject(string inventory, vector position, vector velocity, rotation rot, integer param, integer isRezAtRoot, integer doRecoil, integer SetDieAtEdge, integer CheckPos)
-Where inventory = object to rez. Position = vector to rez object. Velocity = initial velocity. Rot = initial rotation. Param = onrez event. IzAtRoot = TRUE/FALSE flag changes llRezAtRoot to llRezObject. doRecoil =TRUE/FALSE to push avatar. SetDieAtEdge = TRUE/FALSE for rezzed object to die at edge of region. CheckPos = TRUE/FALSE enable/disable 10m rez limit.
-
-
-osGetThreatLevel(string key)
-Returns string
-
-
-lsSetWindlightScene(list rules)
-Set the current WindLight scene. Estate managers and owners only.
-
-
-lsSetWindlightSceneTargeted(list rules, key target)
-Set the current WindLight scene directed at a specific avatar. Estate managers and owners only.
-
-
-list lsGetWindlightScene(list rules)
-Get the current WindLight settings.
-
-
-cmSetWindlightScene(list rules)
-Set the current WindLight scene. Estate managers and owners only.
-
-
-cmSetWindlightSceneTargeted(list rules, key target)
-Set the current WindLight scene directed at a specific avatar. Estate managers and owners only.
-
-
-list cmGetWindlightScene(list rules)
-Returns the current LightShare settings.
-
-
-AaSetCloudDensity(0.5)
-Where float density values are 0.0 = no cloud to 1.0 = 100% cloud.
-
-
-aaUpdateDatabase(Key, xmlDataToPutIntoTheDatabase, Token)
-Where Key = database field name, xmlDataToPutIntoTheDatabase = serialized XML data, Token = data-password
-
-
-aaQueryDatabase(Key, Token)
-Returns a list with first value is the token, the second the Key, and the third the value
-Where Key = database field name, Token = data-password
-
-
-aaSerializeXML(keys, values)
-Returns xml formatted string of the keys and values.
-Where keys = list of keys in the database, values = fields to retrieve from database.
-
-
-aaDeserializeXMLKeys(string xmlData)
-Returns a list of keys from XML data.
-Where xmlData = xml formatted data keys.
-
-
-aaDeserializeXMLValues(string xmlData)
-Returns a list of Values from XML data.
-Where xmlData = xml formatted data Values.
-
-
-aaSetConeOfSilence(float radius)
-Where radius = metres radius from centre of scripted item. This creates an area that sounds can only be heard by the people within the area(radius) and not heard outside and visa-versa.
-
-
-aaJoinCombatTeam(uuid, team)
-Where uuid = key of avatar, team = string of the team name.
-
-
-aaLeaveCombat(uuid)
-Where uuid = avatar key.
-
-
-aaJoinCombat(uuid)
-Where uuid = avatar key. If (perm and PERMISSION_COMBAT == PERMISSION_COMBAT) and permission is granted then join combat.
-
-
-aaGetHealth(uuid)
-Returns float value (0.0 to 100.0) of current health. Where uuid = avatar key.
-
-
-aaGetTeam(uuid)
-Returns a string of avatars team name. Where uuid = avatar key.
-
-
-aaGetTeamMembers(team)
-Return a list of team members. Where team = string of team name.
-
-
-aaGetLastOwner(PrimID)
-Returns last owner UUID of PrimID where PrimID = uuid of prim.
- or
-aaGetLastOwner()
-Returns last owner uuid of prim containg script.
-
-
-aaSayDistance(channelID, Distance, text)
-Where channelID = channel to say on, Distance = float in meters for distance to say, text = string to say.
-
-
-aaSayTo(userID, text)
- Where userID = avatar key, text = string msg. Similar to llOwnerSay but can be directly targeted to an avatar.
-
-
-aaGetText()
-Returns a string of the hover text of an object.
-
-
-aaGetTextColor()
-Returns the hovertext color in rotation.
-
-
-aaRaiseError(message)
-Allows you to have errors that end the execution of the event and fire another event in the script.
-
-
-aaFreezeAvatar(id)
-If combat permission are granted then avatar can be frozen (no movement).
-
-
-aaThawAvatar(id)
-If combat permission are granted then avatar can be un-frozen (movement re-enabled).
-
-
-aaRequestCombatPermission(id)
-Requests target avatar for Permissions to enter into combat mode.
-Raises a run_time_permissions event.
-if (perm and PERMISSION_COMBAT == PERMISSION_COMBAT).
-
-
-aaGetWalkDisabled(id)
-Returns integer of TRUE or FALSE for specifid ID.
-
-
-aaSetWalkDisabled(id, value)
-If PERMISSION_COMBAT is accepted, this disables walk, forcing avatar to fly.
-
-
-aaGetFlyDisabled(id)
-Returns integer of TRUE or FALSE for specifid ID. Where ID = avatar uuid
-
-
-aaSetFlyDisabled(id, value)
-Where ID = avatar uuid, Value = TRUE or FALSE.
-If PERMISSION_COMBAT is accepted, this disables flying, forcing avatar to walk.
-
-
-aaAvatarFullName2Key(FullName)
-Returns the avatar uuid from their fullname. Where FullName = "Firstname Lastname".
-
-
-aaSetCharacterStat(id, StatName, statValue)
-Sets Character Stats. Where ID = avatar uuid, StatName = stat to change, ststValue the value to change it to.
-
-
-aaSetEnv( EnvName, value)
- Sets environment values. Where EnvName = ENABLE_GRAVITY, GRAVITY_FORCE_X, GRAVITY_FORCE_Y, GRAVITY_FORCE_Z, ADD_GRAVITY_POINT, ADD_GRAVITY_FORCE, START_TIME_REVERSAL_SAVING, STOP_TIME_REVERSAL_SAVING, START_TIME_REVERSAL, STOP_TIME_REVERSAL.
-
-
-aaAllRegionInstanceSay(integer channelID, string text)
-
-
-aaWindlightGetSceneIsStatic()
-Returns TRUE / FALSE
-
-
-aaWindlightGetSceneDayCycleKeyFrameCount()
-Returns integer value
-
-
-aaWindlightGetDayCycle()
-Returns a List of settings
-
-
-aaWindlightAddDayCycleFrame(float dayCyclePosition, integer dayCycleFrameToCopy)
-Returns TRUE / FALSE
-
-
-aaWindlightRemoveDayCycleFrame(int dayCycleFrame)
- Returns TRUE / FALSE
-
-
-aaWindlightGetScene(list rules) Returns a List
- or
-aaWindlightGetScene(integer dayCycleKeyFrame, list rules)
-Returns a list
-
-
-aaWindlightSetScene(list list)
-Returns TRUE/FALSE
- or
-aaWindlightSetScene(integer dayCycleIndex, list list)
-Returns TRUE/FALSE
-
-
-aaGetIsInfiniteRegion()
- Returns TRUE/FALSE
-
-
-botGetWaitingTime (waitTime)
-Returns waitTime as vector.
-
-
-botSetMap(keyOfBot, positions, movementType, flags)
-keyOfBot = bot uuid, positions = list of position vectors, movementType = corresponding list of move modes: 0 – walk, 1 – fly, flags = BOT_FOLLOW_FLAG_NONE and BOT_FOLLOW_FLAG_INDEFINITELY.
-
-
-botCreateBot(FirstName, LastName, idToClone, startPos)
-Where FirstName and LastName = strings for new bot name. idToClone = uuid of prebuild avatar to clone OR another existing avatar. startPos = vector of starting position on region.
-
-
-botRemoveBot(botID)
-Where botID = uuid of bot. Removes bot identified by botID.
-
-
-botPauseMovement(botID)
-Where botID = bot uuid. Pauses bot at current position.
-
-
-botResumeMovement(botID)
-Where botID = bot uuid. Resumes bot movement.
-
-
-botFollowAvatar(botID, avName, startFollowDistance, endFollowDistance)
-Where botID = bot uuid. AvName = sting of avatar name OR avatar uuid. StartFollowDistance = distance to start following from. EndFollowDistance = distance to stop following avatar.
-
-
-botStopFollowAvatar(botID)
-Where botID = bot uuid. Stops bot from following an avatar.
-
-
-botSendChatMessage(botID, message, channel, sayType)
-Where botID = bot uuid. Message = string msg. Channel = channel to speak on. SayType = (0=whisper, 1=say, 2=shout).
-
-
-botSetShouldFly(botID, ShouldFly)
-Where botID = bot uuid. ShouldFly = TRUE/FALSE. Enables or disables flight mode.
-
-
-botSendIM(string bot, string user, string message)
-bot = bot UUID. user = Target Avatar UUID, message = text to send.
-
-
-botSitObject( botID, objectID, offset)
-Where botID = bot uuid, objectID = uuid of object to sit on, offset = Vector for sit position (note that VECTOR_ZERO = default sit pos).
-
-
-botStandUp(botID)
-Where botID = bot uuid. Command bot to stand up.
-
-
-botTouchObject(botID, objectID)
-Where botID = bot uuid, objectID = object uuid. Causes bot to touch object identified.
-
-
-botAddTag(botID, tag)
-Where botID = bot uuid, tag = string tag over bot.
-
-
-botGetBotsWithTag(tag)
-Where tag = tag string to match. Return a list of bot UUID's in region with the matching tag.
-
-
-botRemoveBotsWithTag(tag)
-Where tag = tag string to match. Removes bot's matching the tag.
-
-
-botSetSpeed(key, float)
-Sets the speed of a bot
-
-
-
+
Not Away