Difference between revisions of "Category:LSL Functions"

From Second Life Wiki
Jump to navigation Jump to search
 
(56 intermediate revisions by 16 users not shown)
Line 1: Line 1:
This category contains built-in LSL functions.  ''(It should probably be split up into sub-categories.)''
{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}


Todo:
This category contains built-in LSL functions.  
# Change all pages to use func_desc instead of func_footnote for thier description.
#:The footnote feild is for additional notes about the function and should not exceed a few sentences. More complicated description of the functions inner workings are to be written in the 'spec' field.
#fill in 'spec' field when applicable.
#write examples
#write notes
#write caveats.


To coordinate your work, see [[LSL_Portal_To-do]]. Use [[Template:LSLFunctionAll]] to for page entries and be sure to look at it to familiarize yourself with the features supported.
== Mutability ==
All types in LSL are immutable (they can't be mutated by side effect), variables can only be changed by being overwritten. There is no way to indirectly modify a variable's value; the only way is through direct interaction with a storing operator (=, +=, -=, *=, /=, %=, ++, --).
*Built-in functions will '''never''' modify the variables used as parameters.
*User functions that change the values of parameters inside the function scope will not have those changes applied to the variables that supplied those parameters. {{Footnote|Function parameters are effectively passed by value, not by reference. When pass by reference is used in LSO-LSL, the reference points to a copy of the value, not to the original.}}


== Functions==


When the task of initially creating the pages is finished, delete the to-do list at the top.
{{LSL All Functions|name|key=*}}


__NOTOC__
==Footnotes==
==A==
{{Footnotes}}{{Anchor|PiC}}
{{LSLG|llAbs}}
{{LSLG|llAcos}}
{{LSLG|llAddToLandBanList}}
{{LSLG|llAddToLandPassList}}
{{LSLG|llAdjustSoundVolume}}
{{LSLG|llAllowInventoryDrop}}
{{LSLG|llAngleBetween}}
{{LSLG|llApplyImpulse}}
{{LSLG|llApplyRotationalImpulse}}
{{LSLG|llAsin}}
{{LSLG|llAtan2}}
{{LSLG|llAttachToAvatar}}
{{LSLG|llAvatarOnSitTarget}}
{{LSLG|llAxes2Rot}}
{{LSLG|llAxisAngle2Rot}}
==B==
{{LSLG|llBase64ToInteger}}
{{LSLG|llBase64ToString}}
{{LSLG|llBreakAllLinks}}
{{LSLG|llBreakLink}}
==C==
{{LSLG|llCeil}}
{{LSLG|llClearCameraParams}}
{{LSLG|llCloseRemoteDataChannel}}
{{LSLG|llCloud}}
{{LSLG|llCollisionFilter}}
{{LSLG|llCollisionSound}}
{{LSLG|llCollisionSprite}}
{{LSLG|llCos}}
{{LSLG|llCreateLink}}
{{LSLG|llCSV2List}}
==D==
{{LSLG|llDeleteSubList}}
{{LSLG|llDeleteSubString}}
{{LSLG|llDetachFromAvatar}}
{{LSLG|llDetectedGrab}}
{{LSLG|llDetectedGroup}}
{{LSLG|llDetectedKey}}
{{LSLG|llDetectedLinkNumber}}
{{LSLG|llDetectedName}}
{{LSLG|llDetectedOwner}}
{{LSLG|llDetectedPos}}
{{LSLG|llDetectedRot}}
{{LSLG|llDetectedType}}
{{LSLG|llDetectedVel}}
{{LSLG|llDialog}}
{{LSLG|llDie}}
{{LSLG|llDumpList2String}}
==E==
{{LSLG|llEdgeOfWorld}}
{{LSLG|llEjectFromLand}}
{{LSLG|llEmail}}
{{LSLG|llEscapeURL}}
{{LSLG|llEuler2Rot}}
==F==
{{LSLG|llFabs}}
{{LSLG|llFloor}}
{{LSLG|llForceMouselook}}
{{LSLG|llFrand}}
==G==
{{LSLG|llGetAccel}}
{{LSLG|llGetAgentInfo}}
{{LSLG|llGetAgentSize}}
{{LSLG|llGetAlpha}}
{{LSLG|llGetAndResetTime}}
{{LSLG|llGetAnimation}}
{{LSLG|llGetAnimationList}}
{{LSLG|llGetAttached}}
{{LSLG|llGetBoundingBox}}
{{LSLG|llGetCameraPos}}
{{LSLG|llGetCameraRot}}
{{LSLG|llGetCenterOfMass}}
{{LSLG|llGetColor}}
{{LSLG|llGetCreator}}
{{LSLG|llGetDate}}
{{LSLG|llGetEnergy}}
{{LSLG|llGetForce}}
{{LSLG|llGetFreeMemory}}
{{LSLG|llGetGeometricCenter}}
{{LSLG|llGetGMTclock}}
{{LSLG|llGetInventoryCreator}}
{{LSLG|llGetInventoryKey}}
{{LSLG|llGetInventoryName}}
{{LSLG|llGetInventoryNumber}}
{{LSLG|llGetInventoryPermMask}}
{{LSLG|llGetInventoryType}}
{{LSLG|llGetKey}}
{{LSLG|llGetLandOwnerAt}}
{{LSLG|llGetLinkKey}}
{{LSLG|llGetLinkName}}
{{LSLG|llGetLinkNumber}}
{{LSLG|llGetListEntryType}}
{{LSLG|llGetListLength}}
{{LSLG|llGetLocalPos}}
{{LSLG|llGetLocalRot}}
{{LSLG|llGetMass}}
{{LSLG|llGetNextEmail}}
{{LSLG|llGetNotecardLine}}
{{LSLG|llGetNumberOfNotecardLines}}
{{LSLG|llGetNumberOfPrims}}
{{LSLG|llGetNumberOfSides}}
{{LSLG|llGetObjectDesc}}
{{LSLG|llGetObjectMass}}
{{LSLG|llGetObjectName}}
{{LSLG|llGetObjectPermMask}}
{{LSLG|llGetObjectPrimCount}}
{{LSLG|llGetOmega}}
{{LSLG|llGetOwner}}
{{LSLG|llGetOwnerKey}}
{{LSLG|llGetParcelDetails}}
{{LSLG|llGetParcelFlags}}
{{LSLG|llGetParcelMaxPrims}}
{{LSLG|llGetParcelPrimCount}}
{{LSLG|llGetParcelPrimOwners}}
{{LSLG|llGetPermissions}}
{{LSLG|llGetPermissionsKey}}
{{LSLG|llGetPos}}
{{LSLG|llGetPrimitiveParams}}
{{LSLG|llGetRegionCorner}}
{{LSLG|llGetRegionFlags}}
{{LSLG|llGetRegionFPS}}
{{LSLG|llGetRegionName}}
{{LSLG|llGetRegionTimeDilation}}
{{LSLG|llGetRootPosition}}
{{LSLG|llGetRootRotation}}
{{LSLG|llGetRot}}
{{LSLG|llGetScale}}
{{LSLG|llGetScriptName}}
{{LSLG|llGetScriptState}}
{{LSLG|llGetSimulatorHostname}}
{{LSLG|llGetStartParameter}}
{{LSLG|llGetStatus}}
{{LSLG|llGetSubString}}
{{LSLG|llGetSunDirection}}
{{LSLG|llGetTexture}}
{{LSLG|llGetTextureOffset}}
{{LSLG|llGetTextureRot}}
{{LSLG|llGetTextureScale}}
{{LSLG|llGetTime}}
{{LSLG|llGetTimeOfDay}}
{{LSLG|llGetTimestamp}}
{{LSLG|llGetTorque}}
{{LSLG|llGetUnixTime}}
{{LSLG|llGetVel}}
{{LSLG|llGetWallclock}}
{{LSLG|llGiveInventory}}
{{LSLG|llGiveInventoryList}}
{{LSLG|llGiveMoney}}
{{LSLG|llGodLikeRezObject}}
{{LSLG|llGround}}
{{LSLG|llGroundContour}}
{{LSLG|llGroundNormal}}
{{LSLG|llGroundRepel}}
{{LSLG|llGroundSlope}}
==H==
{{LSLG|llHTTPRequest}}
==I==
{{LSLG|llInsertString}}
{{LSLG|llInstantMessage}}
{{LSLG|llIntegerToBase64}}
==K==
{{LSLG|llKey2Name}}
==L==
{{LSLG|llList2CSV}}
{{LSLG|llList2Float}}
{{LSLG|llList2Integer}}
{{LSLG|llList2Key}}
{{LSLG|llList2List}}
{{LSLG|llList2ListStrided}}
{{LSLG|llList2Rot}}
{{LSLG|llList2String}}
{{LSLG|llList2Vector}}
{{LSLG|llListen}}
{{LSLG|llListenControl}}
{{LSLG|llListenRemove}}
{{LSLG|llListFindList}}
{{LSLG|llListInsertList}}
{{LSLG|llListRandomize}}
{{LSLG|llListReplaceList}}
{{LSLG|llListSort}}
{{LSLG|llListStatistics}}
{{LSLG|llLoadURL}}
{{LSLG|llLog}}
{{LSLG|llLog10}}
{{LSLG|llLookAt}}
{{LSLG|llLoopSound}}
{{LSLG|llLoopSoundMaster}}
{{LSLG|llLoopSoundSlave}}
==M==
{{LSLG|llMakeExplosion}}
{{LSLG|llMakeFire}}
{{LSLG|llMakeFountain}}
{{LSLG|llMakeSmoke}}
{{LSLG|llMapDestination}}
{{LSLG|llMD5String}}
{{LSLG|llMessageLinked}}
{{LSLG|llMinEventDelay}}
{{LSLG|llModifyLand}}
{{LSLG|llModPow}}
{{LSLG|llMoveToTarget}}
==O==
{{LSLG|llOffsetTexture}}
{{LSLG|llOpenRemoteDataChannel}}
{{LSLG|llOverMyLand}}
{{LSLG|llOwnerSay}}
==P==
{{LSLG|llParcelMediaCommandList}}
{{LSLG|llParcelMediaQuery}}
{{LSLG|llParseString2List}}
{{LSLG|llParseStringKeepNulls}}
{{LSLG|llParticleSystem}}
{{LSLG|llPassCollisions}}
{{LSLG|llPassTouches}}
{{LSLG|llPlaySound}}
{{LSLG|llPlaySoundSlave}}
{{LSLG|llPointAt}}
{{LSLG|llPow}}
{{LSLG|llPreloadSound}}
{{LSLG|llPushObject}}
==R==
{{LSLG|llRefreshPrimURL}}
{{LSLG|llReleaseCamera}}
{{LSLG|llReleaseControls}}
{{LSLG|llRemoteDataReply}}
{{LSLG|llRemoteDataSetRegion}}
{{LSLG|llRemoteLoadScript}}
{{LSLG|llRemoteLoadScriptPin}}
{{LSLG|llRemoveFromLandBanList}}
{{LSLG|llRemoveFromLandPassList}}
{{LSLG|llRemoveInventory}}
{{LSLG|llRemoveVehicleFlags}}
{{LSLG|llRequestAgentData}}
{{LSLG|llRequestInventoryData}}
{{LSLG|llRequestPermissions}}
{{LSLG|llRequestSimulatorData}}
{{LSLG|llResetLandBanList}}
{{LSLG|llResetLandPassList}}
{{LSLG|llResetOtherScript}}
{{LSLG|llResetScript}}
{{LSLG|llResetTime}}
{{LSLG|llRezAtRoot}}
{{LSLG|llRezObject}}
{{LSLG|llRot2Angle}}
{{LSLG|llRot2Axis}}
{{LSLG|llRot2Euler}}
{{LSLG|llRot2Fwd}}
{{LSLG|llRot2Left}}
{{LSLG|llRot2Up}}
{{LSLG|llRotateTexture}}
{{LSLG|llRotBetween}}
{{LSLG|llRotLookAt}}
{{LSLG|llRotTarget}}
{{LSLG|llRotTargetRemove}}
{{LSLG|llRound}}
==S==
{{LSLG|llSameGroup}}
{{LSLG|llSay}}
{{LSLG|llScaleTexture}}
{{LSLG|llScriptDanger}}
{{LSLG|llSendRemoteData}}
{{LSLG|llSensor}}
{{LSLG|llSensorRemove}}
{{LSLG|llSensorRepeat}}
{{LSLG|llSetAlpha}}
{{LSLG|llSetBuoyancy}}
{{LSLG|llSetCameraAtOffset}}
{{LSLG|llSetCameraEyeOffset}}
{{LSLG|llSetCameraParams}}
{{LSLG|llSetColor}}
{{LSLG|llSetDamage}}
{{LSLG|llSetForce}}
{{LSLG|llSetForceAndTorque}}
{{LSLG|llSetHoverHeight}}
{{LSLG|llSetInventoryPermMask}}
{{LSLG|llSetLinkAlpha}}
{{LSLG|llSetLinkColor}}
{{LSLG|llSetLocalRot}}
{{LSLG|llSetObjectDesc}}
{{LSLG|llSetObjectName}}
{{LSLG|llSetObjectPermMask}}
{{LSLG|llSetParcelMusicURL}}
{{LSLG|llSetPayPrice}}
{{LSLG|llSetPos}}
{{LSLG|llSetPrimitiveParams}}
{{LSLG|llSetPrimURL}}
{{LSLG|llSetRemoteScriptAccessPin}}
{{LSLG|llSetRot}}
{{LSLG|llSetScale}}
{{LSLG|llSetScriptState}}
{{LSLG|llSetSitText}}
{{LSLG|llSetSoundQueueing}}
{{LSLG|llSetSoundRadius}}
{{LSLG|llSetStatus}}
{{LSLG|llSetText}}
{{LSLG|llSetTexture}}
{{LSLG|llSetTextureAnim}}
{{LSLG|llSetTimerEvent}}
{{LSLG|llSetTorque}}
{{LSLG|llSetTouchText}}
{{LSLG|llSetVehicleFlags}}
{{LSLG|llSetVehicleFloatParam}}
{{LSLG|llSetVehicleType}}
{{LSLG|llSetVehicleVectorParam}}
{{LSLG|llSetVehicleVectorParam}}
{{LSLG|llShout}}
{{LSLG|llSin}}
{{LSLG|llSitTarget}}
{{LSLG|llSleep}}
{{LSLG|llSound}}
{{LSLG|llSoundPreload}}
{{LSLG|llSqrt}}
{{LSLG|llStartAnimation}}
{{LSLG|llStopAnimation}}
{{LSLG|llStopHover}}
{{LSLG|llStopLookAt}}
{{LSLG|llStopMoveToTarget}}
{{LSLG|llStopPointAt}}
{{LSLG|llStopSound}}
{{LSLG|llStringLength}}
{{LSLG|llStringToBase64}}
{{LSLG|llSubStringIndex}}
==T==
{{LSLG|llTakeCamera}}
{{LSLG|llTakeControls}}
{{LSLG|llTan}}
{{LSLG|llTarget}}
{{LSLG|llTargetOmega}}
{{LSLG|llTargetRemove}}
{{LSLG|llTeleportAgentHome}}
{{LSLG|llToLower}}
{{LSLG|llToUpper}}
{{LSLG|llTriggerSound}}
{{LSLG|llTriggerSoundLimited}}
==U==
{{LSLG|llUnescapeURL}}
{{LSLG|llUnSit}}
==V==
{{LSLG|llVecDist}}
{{LSLG|llVecMag}}
{{LSLG|llVecNorm}}
{{LSLG|llVolumeDetect}}
==W==
{{LSLG|llWater}}
{{LSLG|llWhisper}}
{{LSLG|llWind}}
==X==
{{LSLG|llXorBase64Strings}}
{{LSLG|llXorBase64StringsCorrect}}

Latest revision as of 01:24, 19 April 2016

This category contains built-in LSL functions.

Mutability

All types in LSL are immutable (they can't be mutated by side effect), variables can only be changed by being overwritten. There is no way to indirectly modify a variable's value; the only way is through direct interaction with a storing operator (=, +=, -=, *=, /=, %=, ++, --).

  • Built-in functions will never modify the variables used as parameters.
  • User functions that change the values of parameters inside the function scope will not have those changes applied to the variables that supplied those parameters. [1]

Functions

Key Description
 NEW  The function was recently added.
 U  This function has been updated recently.
 X  This function requires an experience.
 I  The LSO function ID for the function is not known, or it may not have one.
 D  The function has been deprecated but still works.
It is best to avoid functions marked as deprecated.
 R  The function has not only been deprecated, it has been removed.
Do not use functions marked as removed.
 U  The function has not been implemented.
Do not use functions marked as not implemented.
 🧬  This is an experimental function currently being tested on the beta-grid.
 B  This function is marked as broken and may not work.
 G  The function requires god-mode.
Functions marked as such cannot be used.
 LX  This function requires a Linden Owned experience.
 RQ  This function has been requested by several users and has not been implemented.
Do not use functions marked as requested.

Footnotes

  1. ^ Function parameters are effectively passed by value, not by reference. When pass by reference is used in LSO-LSL, the reference points to a copy of the value, not to the original.

Pages in category "LSL Functions"

The following 200 pages are in this category, out of 529 total.

(previous page) (next page)

G

(previous page) (next page)