Difference between revisions of "Category:LSL Functions"

From Second Life Wiki
Jump to navigation Jump to search
 
(63 intermediate revisions by 18 users not shown)
Line 1: Line 1:
__NOTOC__
{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}
==A==
 
[[llAbs]]
This category contains built-in LSL functions.
[[llAcos]]
 
[[llAddToLandBanList]]
== Mutability ==
[[llAddToLandPassList]]
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 (=, +=, -=, *=, /=, %=, ++, --). 
[[llAdjustSoundVolume]]
*Built-in functions will '''never''' modify the variables used as parameters.
[[llAllowInventoryDrop]]
*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.}}
[[llAngleBetween]]
 
[[llApplyImpulse]]
== Functions==
[[llApplyRotationalImpulse]]
 
[[llAsin]]
{{LSL All Functions|name|key=*}}
[[llAtan2]]
 
[[llAttachToAvatar]]
==Footnotes==
[[llAvatarOnSitTarget]]
{{Footnotes}}{{Anchor|PiC}}
[[llAxes2Rot]]
[[llAxisAngle2Rot]]
==B==
[[llBase64ToInteger]]
[[llBase64ToString]]
[[llBreakAllLinks]]
[[llBreakLink]]
==C==
[[llCeil]]
[[llClearCameraParams]]
[[llCloseRemoteDataChannel]]
[[llCloud]]
[[llCollisionFilter]]
[[llCollisionSound]]
[[llCollisionSprite]]
[[llCos]]
[[llCreateLink]]
[[llCSV2List]]
==D==
[[llDeleteSubList]]
[[llDeleteSubString]]
[[llDetachFromAvatar]]
[[llDetectedGrab]]
[[llDetectedGroup]]
[[llDetectedKey]]
[[llDetectedLinkNumber]]
[[llDetectedName]]
[[llDetectedOwner]]
[[llDetectedPos]]
[[llDetectedRot]]
[[llDetectedType]]
[[llDetectedVel]]
[[llDialog]]
[[llDie]]
[[llDumpList2String]]
==E==
[[llEdgeOfWorld]]
[[llEjectFromLand]]
[[llEmail]]
[[llEscapeURL]]
[[llEuler2Rot]]
==F==
[[llFabs]]
[[llFloor]]
[[llForceMouselook]]
[[llFrand]]
==G==
[[llGetAccel]]
[[llGetAgentInfo]]
[[llGetAgentSize]]
[[llGetAlpha]]
[[llGetAndResetTime]]
[[llGetAnimation]]
[[llGetAnimationList]]
[[llGetAttached]]
[[llGetBoundingBox]]
[[llGetCameraPos]]
[[llGetCameraRot]]
[[llGetCenterOfMass]]
[[llGetCreator]]
[[llGetColor]]
[[llGetDate]]
[[llGetEnergy]]
[[llGetForce]]
[[llGetFreeMemory]]
[[llGetGeometricCenter]]
[[llGetGMTclock]]
[[llGetInventoryCreator]]
[[llGetInventoryKey]]
[[llGetInventoryName]]
[[llGetInventoryNumber]]
[[llGetInventoryPermMask]]
[[llGetInventoryType]]
[[llGetKey]]
[[llGetLandOwnerAt]]
[[llGetLinkKey]]
[[llGetLinkName]]
[[llGetLinkNumber]]
[[llGetListEntryType]]
[[llGetListLength]]
[[llGetLocalPos]]
[[llGetLocalRot]]
[[llGetMass]]
[[llGetNextEmail]]
[[llGetNotecardLine]]
[[llGetNumberOfNotecardLines]]
[[llGetNumberOfPrims]]
[[llGetNumberOfSides]]
[[llGetObjectDesc]]
[[llGetObjectMass]]
[[llGetObjectName]]
[[llGetObjectPermMask]]
[[llGetOmega]]
[[llGetOwner]]
[[llGetOwnerKey]]
[[llGetParcelFlags]]
[[llGetPermissions]]
[[llGetPermissionsKey]]
[[llGetPos]]
[[llGetPrimitiveParams]]
[[llGetRegionCorner]]
[[llGetRegionFlags]]
[[llGetRegionFPS]]
[[llGetRegionName]]
[[llGetRegionTimeDilation]]
[[llGetRootPosition]]
[[llGetRootRotation]]
[[llGetRot]]
[[llGetScale]]
[[llGetScriptName]]
[[llGetScriptState]]
[[llGetSimulatorHostname]]
[[llGetStartParameter]]
[[llGetStatus]]
[[llGetSubString]]
[[llGetSunDirection]]
[[llGetTexture]]
[[llGetTextureOffset]]
[[llGetTextureRot]]
[[llGetTextureScale]]
[[llGetTime]]
[[llGetTimeOfDay]]
[[llGetTimestamp]]
[[llGetTorque]]
[[llGetUnixTime]]
[[llGetVel]]
[[llGetWallclock]]
[[llGiveInventory]]
[[llGiveInventoryList]]
[[llGiveMoney]]
[[llGround]]
[[llGroundContour]]
[[llGroundNormal]]
[[llGroundRepel]]
[[llGroundSlope]]
==H==
[[llHTTPRequest]]
==I==
[[llInsertString]]
[[llInstantMessage]]
[[llIntegerToBase64]]
==K==
[[llKey2Name]]
==L==
[[llList2CSV]]
[[llList2Float]]
[[llList2Integer]]
[[llList2Key]]
[[llList2List]]
[[llList2ListStrided]]
[[llList2Rot]]
[[llList2String]]
[[llList2Vector]]
[[llListFindList]]
[[llListInsertList]]
[[llListRandomize]]
[[llListReplaceList]]
[[llListSort]]
[[llListStatistics]]
[[llListen]]
[[llListenControl]]
[[llListenRemove]]
[[llLoadURL]]
[[llLog]]
[[llLog10]]
[[llLookAt]]
[[llLoopSound]]
[[llLoopSoundMaster]]
[[llLoopSoundSlave]]
==M==
[[llMapDestination]]
[[llMD5String]]
[[llMessageLinked]]
[[llMinEventDelay]]
[[llModifyLand]]
[[llModPow]]
[[llMoveToTarget]]
==O==
[[llOffsetTexture]]
[[llOpenRemoteDataChannel]]
[[llOverMyLand]]
[[llOwnerSay]]
==P==
[[llParcelMediaCommandList]]
[[llParcelMediaQuery]]
[[llParseString2List]]
[[llParseStringKeepNulls]]
[[llParticleSystem]]
[[llPassCollisions]]
[[llPassTouches]]
[[llPlaySound]]
[[llPlaySoundSlave]]
[[llPointAt]]
[[llPow]]
[[llPreloadSound]]
[[llPushObject]]
==R==
[[llRefreshPrimURL]]
[[llReleaseCamera]]
[[llReleaseControls]]
[[llRemoteDataReply]]
[[llRemoteDataSetRegion]]
[[llRemoteLoadScriptPin]]
[[llRemoveFromLandBanList]]
[[llRemoveFromLandPassList]]
[[llRemoveInventory]]
[[llRemoveVehicleFlags]]
[[llRequestAgentData]]
[[llRequestInventoryData]]
[[llRequestPermissions]]
[[llRequestSimulatorData]]
[[llResetOtherScript]]
[[llResetScript]]
[[llResetTime]]
[[llRezAtRoot]]
[[llRezObject]]
[[llRot2Angle]]
[[llRot2Axis]]
[[llRot2Euler]]
[[llRot2Fwd]]
[[llRot2Left]]
[[llRot2Up]]
[[llRotBetween]]
[[llRotLookAt]]
[[llRotTarget]]
[[llRotTargetRemove]]
[[llRotateTexture]]
[[llRound]]
==S==
[[llSameGroup]]
[[llSay]]
[[llScaleTexture]]
[[llScriptDanger]]
[[llSendRemoteData]]
[[llSensor]]
[[llSensorRemove]]
[[llSensorRepeat]]
[[llSetAlpha]]
[[llSetBuoyancy]]
[[llSetCameraAtOffset]]
[[llSetCameraEyeOffset]]
[[llSetCameraParams]]
[[llSetColor]]
[[llSetDamage]]
[[llSetForce]]
[[llSetForceAndTorque]]
[[llSetHoverHeight]]
[[llSetLinkAlpha]]
[[llSetLinkColor]]
[[llSetLocalRot]]
[[llSetObjectDesc]]
[[llSetObjectName]]
[[llSetParcelMusicURL]]
[[llSetPayPrice]]
[[llSetPos]]
[[llSetPrimURL]]
[[llSetPrimitiveParams]]
[[llSetRemoteScriptAccessPin]]
[[llSetRot]]
[[llSetScale]]
[[llSetScriptState]]
[[llSetSitText]]
[[llSetSoundQueueing]]
[[llSetSoundRadius]]
[[llSetStatus]]
[[llSetText]]
[[llSetTexture]]
[[llSetTextureAnim]]
[[llSetTimerEvent]]
[[llSetTorque]]
[[llSetTouchText]]
[[llSetVehicleFlags]]
[[llSetVehicleFloatParam]]
[[llSetVehicleRotationParam]]
[[llSetVehicleType]]
[[llSetVehicleVectorParam]]
[[llShout]]
[[llSin]]
[[llSitTarget]]
[[llSleep]]
[[llSqrt]]
[[llStartAnimation]]
[[llStopAnimation]]
[[llStopHover]]
[[llStopLookAt]]
[[llStopMoveToTarget]]
[[llStopPointAt]]
[[llStopSound]]
[[llStringLength]]
[[llStringToBase64]]
[[llSubStringIndex]]
==T==
[[llTakeCamera]]
[[llTakeControls]]
[[llTan]]
[[llTarget]]
[[llTargetOmega]]
[[llTargetRemove
[[llTeleportAgentHome
[[llToLower]]
[[llToUpper]]
[[llTriggerSound]]
[[llTriggerSoundLimited]]
==U==
[[llUnescapeURL]]
[[llUnSit]]
[[llVecDist]]
==V==
[[llVecMag]]
[[llVecNorm]]
[[llVolumeDetect]]
==W==
[[llWater]]
[[llWhisper]]
[[llWind]]
==X==
[[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)