分类:LSL Functions
首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
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
关键值 | 描述 |
---|---|
NEW | 这个函数是最近添加的。 |
I | 函数的 function ID 未知,或者可能没有。 |
D | 这个函数已经被弃用,但仍然可以工作。 最好避免标记为不推荐的函数。 |
R | 这个函数不仅被弃用,而且被删除了。 不要使用标记为已删除的函数。 |
U | 此功能尚未实现。 不要使用标记为未实现的函数。 |
B | 此函数被标记为已损坏,可能无法工作。 |
G | 这个函数需要 god-mode. 有这样标记的函数不能使用。 |
RQ | 此功能已被多个用户请求,但尚未实现。 不要使用按要求标记的函数。 |
- llAbs
- llAcos
- llAddToLandBanList
- llAddToLandPassList
- llAdjustSoundVolume
- llAgentInExperience I
- llAllowInventoryDrop
- llAngleBetween
- llApplyImpulse
- llApplyRotationalImpulse
- llAsin
- llAtan2
- llAttachToAvatar
- llAvatarOnLinkSitTarget I
- llAvatarOnSitTarget
- llAxes2Rot
- llAxisAngle2Rot
- llBase64ToInteger
- llBase64ToString
- llBreakAllLinks
- llBreakLink
- llCastRay I
- llCeil
- llClearCameraParams
- llClearLinkMedia I
- llClearPrimMedia
- llCloseRemoteDataChannel
-
llCloudD - llCollisionFilter
- llCollisionSound
- llCollisionSprite B
- llCos
- llCreateCharacter I
- llCreateKeyValue I
- llCreateLink
- llCSV2List
- llDataSizeKeyValue I
- llDeleteCharacter I
- llDeleteKeyValue I
- llDeleteSubList
- llDeleteSubString
- llDetachFromAvatar
- llDetectedGrab
- llDetectedGroup
- llDetectedKey
- llDetectedLinkNumber
- llDetectedName
- llDetectedOwner
- llDetectedPos
- llDetectedRot
- llDetectedTouchBinormal
- llDetectedTouchFace
- llDetectedTouchNormal
- llDetectedTouchPos
- llDetectedTouchST
- llDetectedTouchUV
- llDetectedType
- llDetectedVel
- llDialog
- llDie
- llDumpList2String
- llEdgeOfWorld
- llEjectFromLand
- llEmail
- llEscapeURL
- llEuler2Rot
- llEvade I
- llExecCharacterCmd I
- llFabs
- llFleeFrom I
- llFloor
- llForceMouselook
- llFrand
- llGenerateKey I
- llGetAccel
- llGetAgentInfo
- llGetAgentLanguage
- llGetAgentList I
- llGetAgentSize
- llGetAlpha
- llGetAndResetTime
- llGetAnimation
- llGetAnimationList
- llGetAnimationOverride I
- llGetAttached
- llGetAttachedList I
- llGetBoundingBox
- llGetCameraRot
- llGetCenterOfMass
- llGetClosestNavPoint I
- llGetColor
- llGetCreator
- llGetDate
- llGetDayLength NEW I
- llGetDayOffset NEW I
- llGetDisplayName
- llGetEnergy
- llGetEnvironment NEW I
- llGetExperienceDetails I
- llGetExperienceErrorMessage I
- llGetForce
- llGetFreeMemory
- llGetFreeURLs
- llGetGeometricCenter
- llGetGMTclock
- llGetHTTPHeader
- llGetInventoryCreator
- llGetInventoryKey
- llGetInventoryName
- llGetInventoryNumber
- llGetInventoryPermMask
- llGetInventoryType
- llGetKey
- llGetLandOwnerAt
- llGetLinkKey
- llGetLinkMedia I
- llGetLinkName
- llGetLinkNumber
- llGetLinkPrimitiveParams
- llGetListEntryType
- llGetListLength
- llGetLocalPos
- llGetLocalRot
- llGetMass
- llGetMassMKS I
- llGetMaxScaleFactor I
- llGetMemoryLimit I
- llGetMinScaleFactor I
- llGetMoonDirection NEW I
- llGetMoonRotation NEW I
- llGetNextEmail
- llGetNotecardLine
- llGetNumberOfNotecardLines
- llGetNumberOfPrims
- llGetNumberOfSides
- llGetObjectAnimationNames
- llGetObjectDesc
- llGetObjectDetails
- llGetObjectMass
- llGetObjectName
- llGetObjectPermMask
- llGetObjectPrimCount
- llGetOmega
- llGetOwner
- llGetOwnerKey
- llGetParcelDetails
- llGetParcelFlags
- llGetParcelMaxPrims
- llGetParcelMusicURL I
- llGetParcelPrimCount
- llGetParcelPrimOwners
- llGetPermissions
- llGetPermissionsKey
- llGetPhysicsMaterial I
- llGetPos
- llGetPrimitiveParams
- llGetPrimMediaParams
- llGetRegionAgentCount
- llGetRegionCorner
- llGetRegionDayLength NEW I
- llGetRegionDayOffset NEW I
- llGetRegionFlags
- llGetRegionFPS
- llGetRegionMoonDirection NEW I
- llGetRegionMoonRotation NEW I
- llGetRegionName
- llGetRegionSunDirection NEW I
- llGetRegionSunRotation NEW I
- llGetRegionTimeDilation
- llGetRootPosition
- llGetRootRotation
- llGetRot
- llGetScale
- llGetScriptName
- llGetScriptState
- llGetSimStats I
- llGetSimulatorHostname
- llGetSPMaxMemory I
- llGetStartParameter
- llGetStaticPath I
- llGetStatus
- llGetSubString
- llGetSunDirection NEW I
- llGetSunRotation NEW I
- llGetTexture
- llGetTextureOffset
- llGetTextureRot
- llGetTextureScale
- llGetTime
- llGetTimeOfDay
- llGetTimestamp
- llGetTorque
- llGetUnixTime
- llGetUsedMemory I
- llGetUsername
- llGetVel
- llGetWallclock
- llGiveInventory
- llGiveInventoryList
- llGiveMoney
- llGround
- llGroundContour
- llGroundNormal
- llGroundRepel
- llGroundSlope
- llHTTPRequest
- llHTTPResponse
- llInsertString
- llInstantMessage
- llIntegerToBase64
- llJson2List I
- llJsonGetValue I
- llJsonSetValue I
- llJsonValueType I
- llKey2Name I
- llKeyCountKeyValue I
- llKeysKeyValue I
- llLinkParticleSystem
- llLinkSitTarget I
- llList2CSV
- llList2Float
- llList2Integer
- llList2Json I
- llList2Key
- llList2List
- llList2ListStrided
- llList2Rot
- llList2String
- llList2Vector
- llListen
- llListenControl
- llListenRemove
- llListFindList
- llListInsertList
- llListRandomize
- llListReplaceList
- llListSort
- llListStatistics
- llLoadURL
- llLog
- llLog10
- llLookAt
- llLoopSound
- llLoopSoundMaster
- llLoopSoundSlave
- llManageEstateAccess I
- llMapDestination
- llMD5String
- llMessageLinked
- llMinEventDelay
- llModifyLand
- llModPow
- llMoveToTarget
- llName2Key I
- llNavigateTo
- llOffsetTexture
- llOpenRemoteDataChannel
- llOverMyLand
- llOwnerSay
- llParcelMediaCommandList
- llParcelMediaQuery
- llParseString2List
- llParseStringKeepNulls
- llParticleSystem
- llPassCollisions
- llPassTouches
- llPatrolPoints I
- llPlaySound
- llPlaySoundSlave
- llPow
- llPreloadSound
- llPursue I
- llPushObject
- llReadKeyValue I
- llRegionSay
- llRegionSayTo
- llReleaseControls
- llReleaseURL
- llRemoteDataReply
- llRemoteLoadScriptPin
- llRemoveFromLandBanList
- llRemoveFromLandPassList
- llRemoveInventory
- llRemoveVehicleFlags
- llReplaceAgentEnvironment NEW I
- llRequestAgentData
- llRequestDisplayName
- llRequestExperiencePermissions I
- llRequestInventoryData
- llRequestPermissions
- llRequestSecureURL
- llRequestSimulatorData
- llRequestURL
- llRequestUserKey I
- llRequestUsername
- llResetAnimationOverride I
- llResetLandBanList
- llResetLandPassList
- llResetOtherScript
- llResetScript
- llResetTime
- llReturnObjectsByID I
- llReturnObjectsByOwner I
- llRezAtRoot
- llRezObject
- llRot2Angle
- llRot2Axis
- llRot2Euler
- llRot2Fwd
- llRot2Left
- llRot2Up
- llRotateTexture
- llRotBetween
- llRotLookAt
- llRotTarget
- llRotTargetRemove
- llRound
- llSameGroup
- llSay
- llScaleByFactor I
- llScaleTexture
- llScriptDanger
- llScriptProfiler I
- llSendRemoteData
- llSensor
- llSensorRemove
- llSensorRepeat
- llSetAgentEnvironment NEW I
- llSetAlpha
- llSetAngularVelocity I
- llSetAnimationOverride I
- llSetBuoyancy
- llSetCameraAtOffset
- llSetCameraEyeOffset
- llSetCameraParams
- llSetClickAction
- llSetColor
- llSetContentType I
- llSetDamage
- llSetForce
- llSetForceAndTorque
- llSetHoverHeight
- llSetKeyframedMotion I
- llSetLinkAlpha
- llSetLinkCamera I
- llSetLinkColor
- llSetLinkMedia I
- llSetLinkPrimitiveParams
- llSetLinkPrimitiveParamsFast
- llSetLinkTexture
- llSetLinkTextureAnim
- llSetLocalRot
- llSetMemoryLimit I
- llSetObjectDesc
- llSetObjectName
- llSetParcelMusicURL
- llSetPayPrice
- llSetPhysicsMaterial I
- llSetPos
- llSetPrimitiveParams
- llSetPrimMediaParams
- llSetRegionPos I
- llSetRemoteScriptAccessPin
- llSetRot
- llSetScale
- llSetScriptState
- llSetSitText
- llSetSoundQueueing
- llSetSoundRadius
- llSetStatus
- llSetText
- llSetTexture
- llSetTextureAnim
- llSetTimerEvent
- llSetTorque
- llSetTouchText
- llSetVehicleFlags
- llSetVehicleFloatParam
- llSetVehicleRotationParam
- llSetVehicleType
- llSetVehicleVectorParam
- llSetVelocity I
- llSHA1String
- llShout
- llSin
- llSitOnLink
- llSitTarget
- llSleep
- llSqrt
- llStartAnimation
- llStartObjectAnimation
- llStopAnimation
- llStopObjectAnimation
- llStopHover
- llStopLookAt
- llStopMoveToTarget
- llStopSound
- llStringLength
- llStringToBase64
- llStringTrim
- llSubStringIndex
- llTakeControls
- llTan
- llTarget
- llTargetOmega
- llTargetRemove
- llTeleportAgent I
- llTeleportAgentGlobalCoords I
- llTeleportAgentHome
- llTextBox
- llToLower
- llToUpper
- llTransferLindenDollars I
- llTriggerSound
- llTriggerSoundLimited
- llUnescapeURL
- llUnSit
- llUpdateCharacter I
- llUpdateKeyValue I
- llVecDist
- llVecMag
- llVecNorm
- llVolumeDetect
- llWanderWithin I
- llWater
- llWhisper
- llWind
Footnotes
- ^ 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.
本分类目前不含有任何页面或媒体文件。