Difference between revisions of "Category:LSL Functions"

From Second Life Wiki
Jump to navigation Jump to search
m (→‎Functions: missed one.)
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Multi-lang}}
{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}
{{LSL Header}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}


This category contains built-in LSL functions.
This category contains built-in LSL functions.  


== Mutability ==
== 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 variables value; the only way is through direct interaction with a storing operator (=, +=, -=, *=, /=, %=, ++, --).   
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 (=, +=, -=, *=, /=, %=, ++, --).   
*Build in functions will '''never''' modify the variables used as parameters.
*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.
*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 ==
== Functions==


{| {{Prettytable}}
{{LSL All Functions|name|key=*}}
|- {{Hl2}}
! Key
! Description
|-
|| {{LSL_D}} || The function has been deprecated but still works. <br/> It is best to avoid functions marked as deprecated.
|-
|| {{LSL_R}} || The function has not only been deprecated, it has been removed. <br/> Do not use functions marked as removed.
|-
|| {{LSL_U}} || The function has not been implemented. <br/> Do not use functions marked as not implemented.
|-
|| {{LSL_GM}} || The function requires god-mode. <br/> Functions marked as such cannot be used.
|}


 
==Footnotes==
<div style="{{NewStyle|column-width|16em|moz=*|webkit=*}}">
{{Footnotes}}{{Anchor|PiC}}
* [[llAbs]]
* [[llAcos]]
* [[llAddToLandBanList]]
* [[llAddToLandPassList]]
* [[llAdjustSoundVolume]]
* [[llAllowInventoryDrop]]
* [[llAngleBetween]]
* [[llApplyImpulse]]
* [[llApplyRotationalImpulse]]
* [[llAsin]]
* [[llAtan2]]
* [[llAttachToAvatar]]
* [[llAvatarOnSitTarget]]
* [[llAxes2Rot]]
* [[llAxisAngle2Rot]]
* [[llBase64ToInteger]]
* [[llBase64ToString]]
* [[llBreakAllLinks]]
* [[llBreakLink]]
* [[llCeil]]
* [[llClearCameraParams]]
* [[llCloseRemoteDataChannel]]
* [[llCloud]]
* [[llCollisionFilter]]
* [[llCollisionSound]]
* [[llCollisionSprite]]
* [[llCos]]
* [[llCreateLink]]
* [[llCSV2List]]
* [[llDeleteSubList]]
* [[llDeleteSubString]]
* [[llDetachFromAvatar]]
* [[llDetectedGrab]]
* [[llDetectedGroup]]
* [[llDetectedKey]]
* [[llDetectedLinkNumber]]
* [[llDetectedName]]
* [[llDetectedOwner]]
* [[llDetectedPos]]
* [[llDetectedRot]]
* [[llDetectedTouchBinormal]] {{LSL New}}
* [[llDetectedTouchFace]] {{LSL New}}
* [[llDetectedTouchNormal]] {{LSL New}}
* [[llDetectedTouchPos]] {{LSL New}}
* [[llDetectedTouchST]] {{LSL New}}
* [[llDetectedTouchUV]] {{LSL New}}
* [[llDetectedType]]
* [[llDetectedVel]]
* [[llDialog]]
* [[llDie]]
* [[llDumpList2String]]
* [[llEdgeOfWorld]]
* [[llEjectFromLand]]
* [[llEmail]]
* [[llEscapeURL]]
* [[llEuler2Rot]]
* [[llFabs]]
* [[llFloor]]
* [[llForceMouselook]]
* [[llFrand]]
* [[llGetAccel]]
* [[llGetAgentInfo]]
* [[llGetAgentLanguage]] {{LSL New}}
* [[llGetAgentSize]]
* [[llGetAlpha]]
* [[llGetAndResetTime]]
* [[llGetAnimation]]
* [[llGetAnimationList]]
* [[llGetAttached]]
* [[llGetBoundingBox]]
* [[llGetCameraPos]]
* [[llGetCameraRot]]
* [[llGetCenterOfMass]]
* [[llGetColor]]
* [[llGetCreator]]
* [[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]]
* [[llGetObjectDetails]]
* [[llGetObjectMass]]
* [[llGetObjectName]]
* [[llGetObjectPermMask]]
* [[llGetObjectPrimCount]]
* [[llGetOmega]]
* [[llGetOwner]]
* [[llGetOwnerKey]]
* [[llGetParcelDetails]]
* [[llGetParcelFlags]]
* [[llGetParcelMaxPrims]]
* [[llGetParcelPrimCount]]
* [[llGetParcelPrimOwners]]
* [[llGetPermissions]]
* [[llGetPermissionsKey]]
* [[llGetPos]]
* [[llGetPrimitiveParams]]
* [[llGetRegionAgentCount]] {{LSL New}}
* [[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]]
* <s>[[llGodLikeRezObject]]</s> {{LSL_GM}}
* [[llGround]]
* [[llGroundContour]]
* [[llGroundNormal]]
* [[llGroundRepel]]
* [[llGroundSlope]]
* [[llHTTPRequest]]
* [[llInsertString]]
* [[llInstantMessage]]
* [[llIntegerToBase64]]
* [[llKey2Name]]
* [[llList2CSV]]
* [[llList2Float]]
* [[llList2Integer]]
* [[llList2Key]]
* [[llList2List]]
* [[llList2ListStrided]]
* [[llList2Rot]]
* [[llList2String]]
* [[llList2Vector]]
* [[llListen]]
* [[llListenControl]]
* [[llListenRemove]]
* [[llListFindList]]
* [[llListInsertList]]
* [[llListRandomize]]
* [[llListReplaceList]]
* [[llListSort]]
* [[llListStatistics]]
* [[llLoadURL]]
* [[llLog]]
* [[llLog10]]
* [[llLookAt]]
* [[llLoopSound]]
* [[llLoopSoundMaster]]
* [[llLoopSoundSlave]]
* [[llMakeExplosion]] {{LSL_D}}
* [[llMakeFire]] {{LSL_D}}
* [[llMakeFountain]] {{LSL_D}}
* [[llMakeSmoke]] {{LSL_D}}
* [[llMapDestination]]
* [[llMD5String]]
* [[llMessageLinked]]
* [[llMinEventDelay]]
* [[llModifyLand]]
* [[llModPow]]
* [[llMoveToTarget]]
* [[llOffsetTexture]]
* [[llOpenRemoteDataChannel]]
* [[llOverMyLand]]
* [[llOwnerSay]]
* [[llParcelMediaCommandList]]
* [[llParcelMediaQuery]]
* [[llParseString2List]]
* [[llParseStringKeepNulls]]
* [[llParticleSystem]]
* [[llPassCollisions]]
* [[llPassTouches]]
* [[llPlaySound]]
* [[llPlaySoundSlave]]
* <s>[[llPointAt]]</s> {{LSL_U}}
* [[llPow]]
* [[llPreloadSound]]
* [[llPushObject]]
* <s>[[llRefreshPrimURL]]</s> {{LSL_U}}
* [[llRegionSay]]
* [[llReleaseCamera]]
* <s>[[llReleaseControls]]</s> {{LSL_U}}
* [[llRemoteDataReply]]
* [[llRemoteDataSetRegion]]
* [[llRemoteLoadScript]] {{LSL_R}}
* [[llRemoteLoadScriptPin]]
* [[llRemoveFromLandBanList]]
* [[llRemoveFromLandPassList]]
* [[llRemoveInventory]]
* [[llRemoveVehicleFlags]]
* [[llRequestAgentData]]
* [[llRequestInventoryData]]
* [[llRequestPermissions]]
* [[llRequestSimulatorData]]
* [[llResetLandBanList]]
* [[llResetLandPassList]]
* [[llResetOtherScript]]
* [[llResetScript]]
* [[llResetTime]]
* [[llRezAtRoot]]
* [[llRezObject]]
* [[llRot2Angle]]
* [[llRot2Axis]]
* [[llRot2Euler]]
* [[llRot2Fwd]]
* [[llRot2Left]]
* [[llRot2Up]]
* [[llRotateTexture]]
* [[llRotBetween]]
* [[llRotLookAt]]
* [[llRotTarget]]
* [[llRotTargetRemove]]
* [[llRound]]
* [[llSameGroup]]
* [[llSay]]
* [[llScaleTexture]]
* [[llScriptDanger]]
* [[llSendRemoteData]]
* [[llSensor]]
* [[llSensorRemove]]
* [[llSensorRepeat]]
* [[llSetAlpha]]
* [[llSetBuoyancy]]
* [[llSetCameraAtOffset]]
* [[llSetCameraEyeOffset]]
* [[llSetCameraParams]]
* [[llSetClickAction]]
* [[llSetColor]]
* [[llSetDamage]]
* [[llSetForce]]
* [[llSetForceAndTorque]]
* [[llSetHoverHeight]]
* <s>[[llSetInventoryPermMask]]</s> {{LSL_GM}}
* [[llSetLinkAlpha]]
* [[llSetLinkColor]]
* [[llSetLinkPrimitiveParams]]
* [[llSetLinkTexture]]
* [[llSetLocalRot]]
* [[llSetObjectDesc]]
* [[llSetObjectName]]
* <s>[[llSetObjectPermMask]]</s> {{LSL_GM}}
* [[llSetParcelMusicURL]]
* [[llSetPayPrice]]
* [[llSetPos]]
* [[llSetPrimitiveParams]]
* <s>[[llSetPrimURL]]</s> {{LSL_U}}
* [[llSetRemoteScriptAccessPin]]
* [[llSetRot]]
* [[llSetScale]]
* [[llSetScriptState]]
* [[llSetSitText]]
* [[llSetSoundQueueing]]
* [[llSetSoundRadius]]
* [[llSetStatus]]
* [[llSetText]]
* [[llSetTexture]]
* [[llSetTextureAnim]]
* [[llSetTimerEvent]]
* [[llSetTorque]]
* [[llSetTouchText]]
* [[llSetVehicleFlags]]
* [[llSetVehicleFloatParam]]
* [[llSetVehicleRotationParam]]
* [[llSetVehicleType]]
* [[llSetVehicleVectorParam]]
* [[llShout]]
* [[llSin]]
* [[llSitTarget]]
* [[llSleep]]
* [[llSound]] {{LSL_D}}
* [[llSoundPreload]] {{LSL_D}}
* [[llSqrt]]
* [[llStartAnimation]]
* [[llStopAnimation]]
* [[llStopHover]]
* [[llStopLookAt]]
* [[llStopMoveToTarget]]
* <s>[[llStopPointAt]]</s> {{LSL_U}}
* [[llStopSound]]
* [[llStringLength]]
* [[llStringToBase64]]
* [[llStringTrim]]
* [[llSubStringIndex]]
* <s>[[llTakeCamera]]</s> {{LSL_U}}
* [[llTakeControls]]
* [[llTan]]
* [[llTarget]]
* [[llTargetOmega]]
* [[llTargetRemove]]
* [[llTeleportAgentHome]]
* <s>[[llTextBox]]</s> {{LSL_U}} {{LSL New}}
* [[llToLower]]
* [[llToUpper]]
* [[llTriggerSound]]
* [[llTriggerSoundLimited]]
* [[llUnescapeURL]]
* [[llUnSit]]
* [[llVecDist]]
* [[llVecMag]]
* [[llVecNorm]]
* [[llVolumeDetect]]
* [[llWater]]
* [[llWhisper]]
* [[llWind]]
* [[llXorBase64Strings]] {{LSL_D}}
* [[llXorBase64StringsCorrect]]
</div>

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)