From a1ed9ccf7330354d5df5083b44643f2a7e56b748 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Sat, 29 Aug 2009 06:23:41 +0000 Subject: Partial merge of: viewer-2.0.0-3@131138 texture-pipeline-3@131862 -> viewer-2.0.0-3 Includes: * DEV-31909 VWR-13251: Revise lscript_library.cpp to allow localization of LSL editor hovertips * DEV-21938 llSHA1String does not appear where expected in the dropdown "Insert" menu in the LSL editor * Some cleanup to llerror so that it doesn't depend on llfixedbuffer * A few misc. server specific changes not related to the texture-pipeline changes (llapp, lloptioninterface) --- indra/newview/skins/default/xui/en/strings.xml | 356 ++++++++++++++++++++++++- 1 file changed, 355 insertions(+), 1 deletion(-) (limited to 'indra/newview/skins') diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml index 27b34d16a8..4c9b1897d5 100644 --- a/indra/newview/skins/default/xui/en/strings.xml +++ b/indra/newview/skins/default/xui/en/strings.xml @@ -286,7 +286,361 @@ Compressed Images Load Files Choose Directory - + + + Sleeps script for [SLEEP_TIME] seconds. + + float llSin(float theta)\ntheta in radians + float llCos(float theta)\ntheta in radians + float llTan(float theta)\ntheta radians + float llAtan2(float y, float x) + float llSqrt(float val)\nreturns 0 and triggers a Math Error for imaginary results + float llPow(float base, float exponent)\nreturns 0 and triggers Math Error for imaginary results + integer llAbs(integer val) + float llFabs(float val) + float llFrand(float mag)\nreturns random number in range [0,mag) + integer llFloor(float val)\nreturns largest integer value <= val + integer llCeil(float val)\nreturns smallest integer value >= val + integer llRound(float val)\nreturns val rounded to the nearest integer + float llVecMag(vector v)\nreturns the magnitude of v + vector llVecNorm(vector v)\nreturns the v normalized + float llVecDist(vector v1, vector v2)\nreturns the 3D distance between v1 and v2 + vector llRot2Euler(rotation q)\nreturns the Euler representation (roll, pitch, yaw) of q + rotation llEuler2Rot(vector v)\nreturns the rotation representation of Euler Angles v + rotation llAxes2Rot(vector fwd, vector left, vector up)\nreturns the rotation defined by the coordinate axes + vector llRot2Fwd(rotation q)\nreturns the forward vector defined by q + vector llRot2Left(rotation q)\nreturns the left vector defined by q + vector llRot2Up(rotation q)\nreturns the up vector defined by q + rotation llRotBetween(vector v1, vector v2)\nreturns the rotation to rotate v1 to v2 + llWhisper(integer channel, string msg)\nwhispers msg on channel + llSay(integer channel, string msg)\nsays msg on channel + llShout(integer channel, string msg)\nshouts msg on channel + integer llListen(integer channel, string name, key id, string msg)\nsets 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)\nmakes a listen event callback active or inactive + llListenRemove(integer number)\nremoves listen event callback number + llSensor(string name, key id, integer type, float range, float arc)\nPerforms 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)\nsets 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()\nremoves sensor + string llDetectedName(integer number)\nreturns the name of detected object number (returns empty string if number is not valid sensed object) + key llDetectedKey(integer number)\nreturns the key of detected object number (returns empty key if number is not valid sensed object) + key llDetectedOwner(integer number)\nreturns the key of detected object's owner (returns empty key if number is not valid sensed object) + integer llDetectedType(integer number)\nreturns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object (returns 0 if number is not valid sensed object) + vector llDetectedPos(integer number)\nreturns the position of detected object number (returns <0,0,0> if number is not valid sensed object) + vector llDetectedVel(integer number)\nreturns the velocity of detected object number (returns <0,0,0> if number is not valid sensed object) + vector llDetectedGrab(integer number)\nreturns the grab offset of the user touching object (returns <0,0,0> if number is not valid sensed object) + rotation llDetectedRot(integer number)\nreturns the rotation of detected object number (returns <0,0,0,1> if number is not valid sensed object) + integer llDetectedGroup(integer number)\nReturns TRUE if detected object is part of same group as owner + integer llDetectedLinkNumber(integer number)\nreturns the link position of the triggered event for touches and collisions only + llDie()\ndeletes the object + float llGround(vector v)\nreturns the ground height below the object position + v + float llCloud(vector v)\nreturns the cloud density at the object position + v + vector llWind(vector v)\nreturns the wind velocity at the object position + v + llSetStatus(integer status, integer value)\nsets status (STATUS_PHYSICS, STATUS_PHANTOM, STATUS_BLOCK_GRAB,\nSTATUS_ROTATE_X, STATUS_ROTATE_Y, and/or STATUS_ROTATE_Z) to value + integer llGetStatus(integer status)\ngets value of status (STATUS_PHYSICS, STATUS_PHANTOM, STATUS_BLOCK_GRAB,\nSTATUS_ROTATE_X, STATUS_ROTATE_Y, and/or STATUS_ROTATE_Z) + llSetScale(vector scale)\nsets the scale + vector llGetScale()\ngets the scale + llSetColor(vector color, integer face)\nsets the color + float llGetAlpha(integer face)\ngets the alpha + llSetAlpha(float alpha, integer face)\nsets the alpha + vector llGetColor(integer face)\ngets the color + llSetTexture(string texture, integer face)\nsets the texture of face + llScaleTexture(float scales, float scalet, integer face)\nsets the texture s, t scales for the chosen face + llOffsetTexture(float offsets, float offsett, integer face)\nsets the texture s, t offsets for the chosen face + llRotateTexture(float rotation, integer face)\nsets the texture rotation for the chosen face + string llGetTexture(integer face)\ngets the texture of face (if it's a texture in the object inventory, otherwise the key in a string) + llSetPos(vector pos)\nsets the position (if the script isn't physical) + vector llGetPos()\ngets the position (if the script isn't physical) + vector llGetLocalPos()\ngets the position relative to the root (if the script isn't physical) + llSetRot(rotation rot)\nsets the rotation (if the script isn't physical) + rotation llGetRot()\ngets the rotation (if the script isn't physical) + rotation llGetLocalRot()\ngets the rotation local to the root (if the script isn't physical) + llSetForce(vector force, integer local)\nsets force on object, in local coords if local == TRUE (if the script is physical) + vector llGetForce()\ngets the force (if the script is physical) + integer llTarget(vector position, float range)\nset positions within range of position as a target and return an ID for the target + llTargetRemove(integer number)\nremoves target number + integer llRotTarget(rotation rot, float error)\nset rotations with error of rot as a rotational target and return an ID for the rotational target + llRotTargetRemove(integer number)\nremoves rotational target number + llMoveToTarget(vector target, float tau)\ncritically damp to target in tau seconds (if the script is physical) + llStopMoveToTarget()\nStops critically damped motion + llApplyImpulse(vector force, integer local)\napplies impulse to object, in local coords if local == TRUE (if the script is physical) + llApplyRotationalImpulse(vector force, integer local)\napplies rotational impulse to object, in local coords if local == TRUE (if the script is physical) + llSetTorque(vector torque, integer local)\nsets the torque of object, in local coords if local == TRUE (if the script is physical) + vector llGetTorque()\ngets the torque (if the script is physical) + llSetForceAndTorque(vector force, vector torque, integer local)\nsets the force and torque of object, in local coords if local == TRUE (if the script is physical) + vector llGetVel()\ngets the velocity + vector llGetAccel()\ngets the acceleration + vector llGetOmega()\ngets the omega + float llGetTimeOfDay()\ngets the time in seconds since Second Life server midnight (or since server up-time; whichever is smaller) + float llGetWallclock()\ngets the time in seconds since midnight + float llGetTime()\ngets the time in seconds since creation + llResetTime()\nsets the time to zero + float llGetAndResetTime()\ngets the time in seconds since creation and sets the time to zero + llSound(string sound, float volume, integer queue, integer loop)\nplays sound at volume and whether it should loop or not + llPlaySound(string sound, float volume)\nplays attached sound once at volume (0.0 - 1.0) + llLoopSound(string sound, float volume)\nplays attached sound looping indefinitely at volume (0.0 - 1.0) + llLoopSoundMaster(string sound, float volume)\nplays attached sound looping at volume (0.0 - 1.0), declares it a sync master + llLoopSoundSlave(string sound, float volume)\nplays attached sound looping at volume (0.0 - 1.0), synced to most audible sync master + llPlaySoundSlave(string sound, float volume)\nplays attached sound once at volume (0.0 - 1.0), synced to next loop of most audible sync master + llTriggerSound(string sound, float volume)\nplays sound at volume (0.0 - 1.0), centered at but not attached to object + llStopSound()\nStops currently attached sound + llPreloadSound(string sound)\npreloads a sound on viewers within range + string llGetSubString(string src, integer start, integer end)\nreturns the indicated substring + string llDeleteSubString(string src, integer start, integer end)\nremoves the indicated substring and returns the result + string llInsertString(string dst, integer position, string src)\ninserts src into dst at position and returns the result + string llToUpper(string src)\nconvert src to all upper case and returns the result + string llToLower(string src)\nconvert src to all lower case and returns the result + llGiveMoney(key destination, integer amount)\ntransfer amount of money from script owner to destination + llMakeExplosion(integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset)\nMake 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)\nMake a fountain of particles + llMakeSmoke(integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset)\nMake smoke like particles + llMakeFire(integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset)\nMake fire like particles + llRezObject(string inventory, vector pos, vector vel, rotation rot, integer param)\nInstanciate owners inventory object at pos with velocity vel and rotation rot with start parameter param + llLookAt(vector target, F32 strength, F32 damping)\nCause object name to point it's forward axis towards target + llStopLookAt()\nStop causing object name to point at a target + llSetTimerEvent(float sec)\nCause the timer event to be triggered every sec seconds + llSleep(float sec)\nPut script to sleep for sec seconds + float llGetMass()\nGet the mass of task name that script is attached to + llCollisionFilter(string name, key id, integer accept)\nif 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)\nTake controls from agent task has permissions for. If (accept == (controls & input)), send input to task. If pass_on send to agent also. + llReleaseControls()\nStop taking inputs + llAttachToAvatar(integer attachment)\nAttach to avatar task has permissions for at point attachment + llDetachFromAvatar()\nDrop off of avatar + llTakeCamera(key avatar)\nMove avatar's viewpoint to task + llReleaseCamera(key avatar)\nReturn camera to agent + key llGetOwner()\nReturns the owner of the task + llInstantMessage(key user, string message)\nIMs message to the user + llEmail(string address, string subject, string message)\nSends email to address with subject and message + llGetNextEmail(string address, string subject)\nGet the next waiting email with appropriate address and/or subject (if blank they are ignored) + key llGetKey()\nGet the key for the task the script is attached to + llSetBuoyancy(float buoyancy)\nSet the tasks buoyancy (0 is none, < 1.0 sinks, 1.0 floats, > 1.0 rises) + llSetHoverHeight(float height, integer water, float tau)\nCritically damps to a height (either above ground level or above the higher of land and water if water == TRUE) + llStopHover()\nStop hovering to a height + llMinEventDelay(float delay)\nSet the minimum time between events being handled + llSoundPreload(string sound)\npreloads a sound on viewers within range + llRotLookAt(rotation target, F32 strength, F32 damping)\nCause object name to point it's forward axis towards target + integer llStringLength(string str)\nReturns the length of string + llStartAnimation(string anim)\nStart animation anim for agent that owns object + llStopAnimation(string anim)\nStop animation anim for agent that owns object + llPointAt(vector pos)\nMake agent that owns object point at pos + llStopPointAt()\nStop agent that owns object pointing + llTargetOmega(vector axis, float spinrate, float gain)\nAttempt to spin at spinrate with strength gain + integer llGetStartParameter()\nGet's the start paramter passed to llRezObject + llGodLikeRezObject(key inventory, vector pos)\nrez directly off of a UUID if owner has dog-bit set + llRequestPermissions(key agent, integer perm)\nask agent to allow the script to do perm (NB: Debit, ownership, link, joint, and permission requests can only go to the task's owner) + key llGetPermissionsKey()\nReturn agent that permissions are enabled for. NULL_KEY if not enabled + integer llGetPermissions()\nreturn what permissions have been enabled + integer llGetLinkNumber()\nReturns what number in a link set the script is attached to (0 means no link, 1 the root, 2 for first child, etc) + llSetLinkColor(integer linknumber, vector color, integer face)\nIf a task exists in the link chain at linknumber, set face to color + llCreateLink(key target, integer parent)\nAttempt to link task script is attached to and target (requires permission PERMISSION_CHANGE_LINKS be set). If parent == TRUE, task script is attached to is the root + llBreakLink(integer linknum)\nDelinks the task with the given link number (requires permission PERMISSION_CHANGE_LINKS be set) + llBreakAllLinks()\nDelinks all tasks in the link set (requires permission PERMISSION_CHANGE_LINKS be set) + key llGetLinkKey(integer linknum)\nGet the key of linknumber in link set + string llGetLinkName(integer linknum)\nGet the name of linknumber in link set + integer llGetInventoryNumber(integer type)\nGet the number of items of a given type in the task's inventory.\nValid types: INVENTORY_TEXTURE, INVENTORY_SOUND, INVENTORY_OBJECT, INVENTORY_SCRIPT, INVENTORY_CLOTHING, INVENTORY_BODYPART, INVENTORY_NOTECARD, INVENTORY_LANDMARK, INVENTORY_ALL + string llGetInventoryName(integer type, integer number)\nGet the name of the inventory item number of type + llSetScriptState(string name, integer run)\nControl the state of a script name. + float llGetEnergy()\nReturns how much energy is in the object as a percentage of maximum + llGiveInventory(key destination, string inventory)\nGive inventory to destination + llRemoveInventory(string inventory)\nRemove the named inventory item + llSetText(string text, vector color, float alpha)\nSet text floating over object + float llWater(vector v)\nreturns the water height below the object position + v + llPassTouches(integer pass)\nif pass == TRUE, touches are passed from children on to parents (default is FALSE) + key llRequestAgentData(key id, integer data)\nRequests data about agent id. When data is available the dataserver event will be raised + key llRequestInventoryData(string name)\nRequests data from object's inventory object. When data is available the dataserver event will be raised + llSetDamage(float damage)\nSets the amount of damage that will be done to an object that this task hits. Task will be killed. + llTeleportAgentHome(key id)\nTeleports agent on owner's land to agent's home location + llModifyLand(integer action, integer size)\nModify land with action (LAND_LEVEL, LAND_RAISE, LAND_LOWER, LAND_SMOOTH, LAND_NOISE, LAND_REVERT)\non size (LAND_SMALL_BRUSH, LAND_MEDIUM_BRUSH, LAND_LARGE_BRUSH) + llCollisionSound(string impact_sound, float impact_volume)\nSuppress default collision sounds, replace default impact sounds with impact_sound (empty string to just suppress) + llCollisionSprite(string impact_sprite)\nSuppress default collision sprites, replace default impact sprite with impact_sprite (empty string to just suppress) + string llGetAnimation(key id)\nGet the currently playing locomotion animation for avatar id + llResetScript()\nResets the script + llMessageLinked(integer linknum, integer num, string str, key id)\nSends num, str, and id to members of the link set (LINK_ROOT sends to root task in a linked set,\nLINK_SET sends to all tasks,\nLINK_ALL_OTHERS to all other tasks,\nLINK_ALL_CHILDREN to all children,\nLINK_THIS to the task the script it is in) + llPushObject(key id, vector impulse, vector ang_impulse, integer local)\nApplies impulse and ang_impulse to object id + llPassCollisions(integer pass)\nif pass == TRUE, collisions are passed from children on to parents (default is FALSE) + llGetScriptName()\nReturns the script name + integer llGetNumberOfSides()\nReturns the number of sides + rotation llAxisAngle2Rot(vector axis, float angle)\nReturns the rotation generated angle about axis + vector llRot2Axis(rotation rot)\nReturns the rotation axis represented by rot + float llRot2Angle(rotation rot)\nReturns the rotation angle represented by rot + float llAcos(float val)\nReturns the arccosine in radians of val + float llAsin(float val)\nReturns the arcsine in radians of val + float llAngleBetween(rotation a, rotation b)\nReturns angle between rotation a and b + key llGetInventoryKey(string name)\nReturns the key of the inventory name + llAllowInventoryDrop(integer add)\nIf add == TRUE, users without permissions can still drop inventory items onto task + vector llGetSunDirection()\nReturns the sun direction on the simulator + vector llGetTextureOffset(integer side)\nReturns the texture offset of side in the x and y components of a vector + vector llGetTextureScale(integer side)\nReturns the texture scale of side in the x and y components of a vector + float llGetTextureRot(integer side)\nReturns the texture rotation of side + integer llSubStringIndex(string source, string pattern)\nFinds index in source where pattern first appears (returns -1 if not found) + key llGetOwnerKey(key id)\nFind the owner of id + vector llGetCenterOfMass()\nGet the object's center of mass + list llListSort(list src, integer stride, integer ascending)\nSort the list into blocks of stride in ascending order if ascending == TRUE. Note that sort only works between same types. + integer llGetListLength(list src)\nGet the number of elements in the list + integer llList2Integer(list src, integer index)\nCopy the integer at index in the list + float llList2Float(list src, integer index)\nCopy the float at index in the list + string llList2String(list src, integer index)\nCopy the string at index in the list + key llList2Key(list src, integer index)\nCopy the key at index in the list + vector llList2Vector(list src, integer index)\nCopy the vector at index in the list + rotation llList2Rot(list src, integer index)\nCopy the rotation at index in the list + list llList2List(list src, integer start, integer end)\nCopy the slice of the list from start to end + list llDeleteSubList(list src, integer start, integer end)\nRemove the slice from the list and return the remainder + integer llGetListEntryType(list src, integer index)\nReturns the type of the index entry in the list\n(TYPE_INTEGER, TYPE_FLOAT, TYPE_STRING, TYPE_KEY, TYPE_VECTOR, TYPE_ROTATION, or TYPE_INVALID if index is off list) + string llList2CSV(list src)\nCreate a string of comma separated values from list + list llCSV2List(string src)\nCreate a list from a string of comma separated values + list llListRandomize(list src, integer stride)\nReturns a randomized list of blocks of size stride + list llList2ListStrided(list src, integer start, integer end, integer stride)\nCopy the strided slice of the list from start to end + vector llGetRegionCorner()\nReturns a vector with the south west corner x,y position of the region the object is in + list llListInsertList(list dest, list src, integer start)\nInserts src into dest at position start + integer llListFindList(list src, list test)\nReturns the start of the first instance of test in src, -1 if not found + string llGetObjectName()\nReturns the name of the object script is attached to + llSetObjectName(string name)\nSets the objects name + string llGetDate()\nGets the date as YYYY-MM-DD + integer llEdgeOfWorld(vector pos, vector dir)\nChecks to see whether the border hit by dir from pos is the edge of the world (has no neighboring simulator) + integer llGetAgentInfo(key id)\nGets information about agent ID.\nReturns 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)\nadjusts volume of attached sound (0.0 - 1.0) + llSetSoundQueueing(integer queue)\ndetermines whether attached sound calls wait for the current sound to finish (0 = no [default], nonzero = yes) + llSetSoundRadius(float radius)\nestablishes a hard cut-off radius for audibility of scripted sounds (both attached and triggered) + string llKey2Name(key id)\nReturns the name of the object key, iff the object is in the current simulator, otherwise the empty string + llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)\nAnimate the texture on the specified face/faces + llTriggerSoundLimited(string sound, float volume, vector tne, vector bsw)\nplays sound at volume (0.0 - 1.0), centered at but not attached to object, limited to AABB defined by vectors top-north-east and bottom-south-west + llEjectFromLand(key pest)\nEjects pest from land that you own + list llParseString2List(string src, list separators, list spacers)\nBreaks src into a list, discarding separators, keeping spacers (separators and spacers must be lists of strings, maximum of 8 each) + integer llOverMyLand(key id)\nReturns TRUE if id is over land owner of object owns, FALSE otherwise + key llGetLandOwnerAt(vector pos)\nReturns the key of the land owner, NULL_KEY if public + key llGetNotecardLine(string name, integer line)\nReturns line line of notecard name via the dataserver event + vector llGetAgentSize(key id)\nIf the agent is in the same sim as the object, returns the size of the avatar + integer llSameGroup(key id)\nReturns TRUE if ID is in the same sim and has the same active group, otherwise FALSE + key llUnSit(key id)\nIf agent identified by id is sitting on the object the script is attached to or is over land owned by the objects owner, the agent is forced to stand up + vector llGroundSlope(vector v)\nreturns the ground slope below the object position + v + vector llGroundNormal(vector v)\nreturns the ground normal below the object position + v + vector llGroundCountour(vector v)\nreturns the ground contour below the object position + v + integer llGetAttached()\nreturns the object attachment point or 0 if not attached + integer llGetFreeMemory()\nreturns the available heap space for the current script + string llGetRegionName()\nreturns the current region name + float llGetRegionTimeDilation()\nreturns the current time dilation as a float between 0 and 1 + float llGetRegionFPS()\nreturns the mean region frames per second + llParticleSystem(list rules)\nCreates a particle system based on rules. Empty list removes particle system from object.\nList format is [ rule1, data1, rule2, data2 . . . rulen, datan ] + llGroundRepel(float height, integer water, float tau)\nCritically 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 destination, string category, list inventory)\nGive inventory to destination in a new category + llSetVehicleType(integer type)\nsets vehicle to one of the default types + llSetVehicleFloatParam(integer param, float value)\nsets the specified vehicle float parameter + llSetVehicleVectorParam(integer param, vector vec)\nsets the specified vehicle vector parameter + llSetVehicleVectorParam(integer param, rotation rot)\nsets the specified vehicle rotation parameter + llSetVehicleFlags(integer flags)\nsets the enabled bits in 'flags' + llRemoveVehicleFlags(integer flags)\nremoves the enabled bits in 'flags' + llSitTarget(vector offset, rotation rot)\nSet the sit location for this object (if offset == <0,0,0> clear it) + key llAvatarOnSitTarget()\nIf an avatar is sitting on the sit target, return the avatar's key, NULL_KEY otherwise + llAddToLandPassList(key avatar, float hours)\nAdd avatar to the land pass list for hours + llSetTouchText(string text)\nDisplays text in pie menu that acts as a touch + llSetSitText(string text)\nDisplays text rather than sit in pie menu + llSetCameraEyeOffset(vector offset)\nSets the camera eye offset used in this object if an avatar sits on it + llSetCameraAtOffset(vector offset)\nSets the camera at offset used in this object if an avatar sits on it + string llDumpList2String(list src, string separator)\nWrite the list out in a single string using separator between values + integer llScriptDanger(vector pos)\nReturns 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\nShows a dialog box on the avatar's screen with the message.\nUp to 12 strings in the list form buttons.\nIf a button is clicked, the name is chatted on chat_channel. + llVolumeDetect(integer detect)\nIf detect = TRUE, object becomes phantom but triggers collision_start and collision_end events\nwhen other objects start and stop interpenetrating.\nMust be applied to the root object. + llResetOtherScript(string name)\nResets script name + integer llGetScriptState(string name)\nResets TRUE if script name is running + Deprecated. Please use llRemoteLoadScriptPin instead. + llSetRemoteScriptAccessPin(integer pin)\nIf pin is set to a non-zero number, the task will accept remote script\nloads via llRemoteLoadScriptPin if it passes in the correct pin.\nOthersise, llRemoteLoadScriptPin is ignored. + llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param)\nIf the owner of the object this script is attached can modify target,\nthey are in the same region,\nand the matching pin is used,\ncopy script name onto target,\nif running == TRUE, start the script with param. + llOpenRemoteDataChannel()\nCreates a channel to listen for XML-RPC calls. Will trigger a remote_data event with channel id once it is available. + key llSendRemoteData(key channel, string dest, integer idata, string sdata)\nSend an XML-RPC request to dest through channel with payload of channel (in a string), integer idata and string sdata.\nA message identifier key is returned.\nAn XML-RPC reply will trigger a remote_data event and reference the message id.\nThe message_id is returned. + llRemoteDataReply(key channel, key message_id, string sdata, integer idata)\nSend an XML-RPC reply to message_id on channel with payload of string sdata and integer idata + llCloseRemoteDataChannel(key channel)\nCloses XML-RPC channel. + string llMD5String(string src, integer nonce)\nPerforms a RSA Data Security, Inc. MD5 Message-Digest Algorithm on string with nonce. Returns a 32 character hex string. + llSetPrimitiveParams(list rules)\nSet primitive parameters based on rules. + string llStringToBase64(string str)\nConverts a string to the Base 64 representation of the string. + string llBase64ToString(string str)\nConverts a Base 64 string to a conventional string. If the conversion creates any unprintable characters, they are converted to spaces. + string llXorBase64Strings(string s1, string s2)\nDEPRECATED! Please use llXorBase64StringsCorrect instead!! Incorrectly performs an exclusive or on two Base 64 strings and returns a Base 64 string. s2 repeats if it is shorter than s1. Retained for backwards compatability. + llRemoteDataSetRegion()\nIf an object using remote data channels changes regions, you must call this function to reregister the remote data channels.\nYou do not need to make this call if you don't change regions. + float llLog10(float val)\nReturns the base 10 log of val if val > 0, otherwise returns 0. + float llLog(float val)\nReturns the base e log of val if val > 0, otherwise returns 0. + list llGetAnimationList(key id)\nGets a list of all playing animations for avatar id + llSetParcelMusicURL(string url)\nSets the streaming audio URL for the parcel object is on + vector llGetRootPosition()\nGets the global position of the root object of the object script is attached to + rotation llGetRootRotation()\nGets the global rotation of the root object of the object script is attached to + string llGetObjectDesc()\nReturns the description of the object the script is attached to + llSetObjectDesc(string name)\nSets the object's description + key llGetCreator()\nReturns the creator of the object + string llGetTimestamp()\nGets the timestamp in the format: YYYY-MM-DDThh:mm:ss.ff..fZ + llSetLinkAlpha(integer linknumber, float alpha, integer face)\nIf a prim exists in the link chain at linknumber, set face to alpha + integer llGetNumberOfPrims()\nReturns the number of prims in a link set the script is attached to + key llGetNumberOfNotecardLines(string name)\nReturns number of lines in notecard 'name' via the dataserver event (cast return value to integer) + list llGetBoundingBox(key object)\nReturns the bounding box around an object (including any linked prims) relative to the root prim, in a list: [ (vector) min_corner, (vector) max_corner ] + vector llGetGeometricCenter()\nReturns the geometric center of the linked set the script is attached to. + list llGetPrimitiveParams(list params)\nGets primitive parameters specified in the params list. + string llIntegerToBase64(integer number)\nBig endian encode of of integer as a Base64 string. + integer llBase64ToInteger(string str)\nBig endian decode of a Base64 string into an integer. + float llGetGMTclock()\nGets the time in seconds since midnight in GMT + string llGetSimulatorHostname()\nGets the hostname of the machine script is running on (same as string in viewer Help dialog) + llSetLocalRot(rotation rot)\nsets the rotation of a child prim relative to the root prim + list llParseStringKeepNulls(string src, list separators, list spacers)\nBreaks src into a list, discarding separators, keeping spacers (separators and spacers must be lists of strings, maximum of 8 each), keeping any null values generated. + llRezAtRoot(string inventory, vector pos, vector vel, rotation rot, integer param)\nInstantiate owner's inventory object at pos with velocity vel and rotation rot with start parameter param.\nThe last selected root object's location will be set to pos + integer llGetObjectPermMask(integer mask)\nReturns the requested permission mask for the root object the task is attached to. + llSetObjectPermMask(integer mask, integer value)\nSets the given permission mask to the new value on the root object the task is attached to. + integer llGetInventoryPermMask(string item, integer mask)\nReturns the requested permission mask for the inventory item. + llSetInventoryPermMask(string item, integer mask, integer value)\nSets the given permission mask to the new value on the inventory item. + key llGetInventoryCreator(string item)\nReturns the key for the creator of the inventory item. + llOwnerSay(string msg)\nsays msg to owner only (if owner in sim) + key llRequestSimulatorData(string simulator, integer data)\nRequests data about simulator. When data is available the dataserver event will be raised + llForceMouselook(integer mouselook)\nIf mouselook is TRUE any avatar that sits on this object is forced into mouselook mode + float llGetObjectMass(key id)\nGet the mass of the object with key id + list llListReplaceList(list dest, list src, integer start, integer end)\nReplaces start through end of dest with src. + llLoadURL(key avatar_id, string message, string url)\nShows dialog to avatar avatar_id offering to load web page at URL. If user clicks yes, launches their web browser. + llParcelMediaCommandList(list command)\nSends a list of commands, some with arguments, to a parcel. + list llParcelMediaQuery(list query)\nSends a list of queries, returns a list of results. + integer llModPow(integer a, integer b, integer c)\nReturns a raised to the b power, mod c. ( (a**b)%c ). b is capped at 0xFFFF (16 bits). + integer llGetInventoryType(string name)\nReturns the type of the inventory name + llSetPayPrice(integer price, list quick_pay_buttons)\nSets the default amount when someone chooses to pay this object. + vector llGetCameraPos()\nGets current camera position for agent task has permissions for. + rotation llGetCameraRot()\nGets current camera orientation for agent task has permissions for. + llSetPrimURL(string url)\nUpdates the URL for the web page shown on the sides of the object. + llRefreshPrimURL()\nReloads the web page shown on the sides of the object. + string llEscapeURL(string url)\nReturns and escaped/encoded version of url, replacing spaces with %20 etc. + string llUnescapeURL(string url)\nReturns and unescaped/unencoded version of url, replacing %20 with spaces etc. + llMapDestination(string simname, vector pos, vector look_at)\nOpens world map centered on region with pos highlighted.\nOnly works for scripts attached to avatar, or during touch events.\n(NOTE: look_at currently does nothing) + llAddToLandBanList(key avatar, float hours)\nAdd avatar to the land ban list for hours + llRemoveFromLandPassList(key avatar)\nRemove avatar from the land pass list + llRemoveFromLandBanList(key avatar)\nRemove avatar from the land ban list + llSetCameraParams(list rules)\nSets multiple camera parameters at once.\nList format is [ rule1, data1, rule2, data2 . . . rulen, datan ] + llClearCameraParams()\nResets all camera parameters to default values and turns off scripted camera control. + float llListStatistics(integer operation, list l)\nPerform statistical aggregate functions on list l using LIST_STAT_* operations. + integer llGetUnixTime()\nGet the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock. + integer llGetParcelFlags(vector pos)\nGet the parcel flags (PARCEL_FLAG_*) for the parcel including the point pos. + integer llGetRegionFlags()\nGet the region flags (REGION_FLAG_*) for the region the object is in. + string llXorBase64StringsCorrect(string s1, string s2)\nCorrectly performs an exclusive or on two Base 64 strings and returns a Base 64 string. s2 repeats if it is shorter than s1. + llHTTPRequest(string url, list parameters, string body)\nSend an HTTP request. + llResetLandBanList()\nRemoves all residents from the land ban list. + llResetLandPassList()\nRemoves all residents from the land access/pass list. + integer llGetObjectPrimCount(key object_id)\nReturns the total number of prims for an object. + list llGetParcelPrimOwners(vector pos)\nReturns a list of all residents who own objects on the parcel and the number of objects they own.\nRequires owner-like permissions for the parcel. + integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide)\nGets the number of prims on the parcel of the given category.\nCategories: PARCEL_COUNT_TOTAL, _OWNER, _GROUP, _OTHER, _SELECTED, _TEMP. + integer llGetParcelMaxPrims(vector pos, integer sim_wide)\nGets the maximum number of prims allowed on the parcel at pos. + list llGetParcelDetails(vector pos, list params)\nGets the parcel details specified in params for the parcel at pos.\nParams is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA + llSetLinkPrimitiveParams(integer linknumber, list rules)\nSet primitive parameters for linknumber based on rules. + llSetLinkTexture(integer link_pos, string texture, integer face)\nSets the texture of face for link_pos + string llStringTrim(string src, integer trim_type)\nTrim leading and/or trailing spaces from a string.\nUses trim_type of STRING_TRIM, STRING_TRIM_HEAD or STRING_TRIM_TAIL. + llRegionSay(integer channel, string msg)\nbroadcasts msg to entire region on channel (not 0.) + list llGetObjectDetails(key id, list params)\nGets the object details specified in params for the object with key id.\nDetails are OBJECT_NAME, _DESC, _POS, _ROT, _VELOCITY, _OWNER, _GROUP, _CREATOR. + llSetClickAction(integer action)\nSets the action performed when a prim is clicked upon. + int llGetRegionAgentCount()\nreturns the number of agents in a region + llTextBox(key avatar, string message, integer chat_channel\nShows a dialog box on the avatar's screen with the message.\nA text box asks for input, and if entered the text is chatted on chat_channel. + string llGetAgentLanguage(key id)\nGets the agents preferred language.. + vector llDetectedTouchUV(integer number)\nreturns the u and v coordinates in the first two components of a vector, for a triggered touch event + integer llDetectedTouchFace(integer number)\nreturns the index of the face on the object for a triggered touch event + vector llDetectedTouchPos(integer number)\nreturns the position touched for a triggered touch event + vector llDetectedTouchNormal(integer number)\nreturns the surface normal for a triggered touch event + vector llDetectedTouchBinormal(integer number)\nreturns the surface binormal for a triggered touch event + vector llDetectedTouchST(integer number)\nreturns the s and t coordinates in the first two components of a vector, for a triggered touch event + string llSHA1String(string sr)\nPerforms a SHA1 security Hash. Returns a 40 character hex string. + integer llGetFreeURLs()\nreturns the available urls for the current script + key llRequestURL()\nRequests one HTTP:// url for use by this object\nTriggers an http_server event with results. + key llRequestSecureURL()\nRequests one HTTPS:// (SSL) url for use by this object\nTriggers an http_server event with results. + llReleaseURL(string url)\nReleases the specified URL, it will no longer be usable. + llHTTPResponse(key id, integer status, string body)\nResponds to request id with status and body. + string llGetHTTPHeader(key id, string header)\nGet the value for header for request id. + Set Not Away Set Away -- cgit v1.2.3