From 53cf922df4fdf26f9d180d55ec524d641e724c86 Mon Sep 17 00:00:00 2001 From: tapple Date: Sat, 6 Jun 2026 12:59:38 -0700 Subject: [PATCH 1/8] Move the enums.txt generator to a new file, experimental.py --- lsl_definitions/generators/__init__.py | 2 ++ lsl_definitions/generators/builtins_txt.py | 33 +---------------- lsl_definitions/generators/experimental.py | 41 ++++++++++++++++++++++ 3 files changed, 44 insertions(+), 32 deletions(-) create mode 100644 lsl_definitions/generators/experimental.py diff --git a/lsl_definitions/generators/__init__.py b/lsl_definitions/generators/__init__.py index 0ec00c4d..362a42c3 100644 --- a/lsl_definitions/generators/__init__.py +++ b/lsl_definitions/generators/__init__.py @@ -3,6 +3,7 @@ # Import all generator modules to trigger @register decorators from lsl_definitions.generators import ( builtins_txt, + experimental, keywords, lscript, lscript_compiler, @@ -17,6 +18,7 @@ "GENERATORS", "register", "builtins_txt", + "experimental", "keywords", "lscript", "lscript_compiler", diff --git a/lsl_definitions/generators/builtins_txt.py b/lsl_definitions/generators/builtins_txt.py index bc605eff..810ffca4 100644 --- a/lsl_definitions/generators/builtins_txt.py +++ b/lsl_definitions/generators/builtins_txt.py @@ -3,7 +3,7 @@ from __future__ import annotations from lsl_definitions.generators.base import register -from lsl_definitions.lsl import LSLDefinitions, LSLEnumType, LSLType +from lsl_definitions.lsl import LSLDefinitions, LSLType @register("gen_builtins_txt") @@ -33,34 +33,3 @@ def gen_builtins_txt(definitions: LSLDefinitions) -> str: builtins_str += f"event {event.name}( {args_str} )\n" return builtins_str - - -@register("gen_enums_txt") -def gen_enums_txt(definitions: LSLDefinitions) -> str: - builtins_str = "// Dump of the enums just for testing. Feel free to remove this rule\n" - - for enum in sorted(definitions.enums.values(), key=lambda x: x.name): - builtins_str += f"enum {enum.name!s} {{\n" - for member in sorted(enum.members, key=lambda x: x.value): - builtins_str += f" {member.name} = " - if enum.type == LSLEnumType.FLAG: - builtins_str += f"0x{member.value:x}" - else: - builtins_str += f"{member.value}" - if member.constant.private: - builtins_str += " // private" - if member.constant.deprecated: - builtins_str += " // deprecated" - builtins_str += "\n" - builtins_str += "};\n" - - for const in sorted(definitions.constants.values(), key=lambda x: x.name): - if not const.member_of: - builtins_str += f"const {const.type!s} {const.name} = {const.lsl_doc_literal}" - if const.private: - builtins_str += " // private" - if const.deprecated: - builtins_str += " // deprecated" - builtins_str += "\n" - - return builtins_str diff --git a/lsl_definitions/generators/experimental.py b/lsl_definitions/generators/experimental.py new file mode 100644 index 00000000..0b9a1b3b --- /dev/null +++ b/lsl_definitions/generators/experimental.py @@ -0,0 +1,41 @@ +""" +Generators to explore internal structures that aren't exposed by other generators. +Primarily for debugging the documentation-only structures, +as document generators do not live in this repositary, but do use this data. +""" + +from __future__ import annotations + +from lsl_definitions.generators.base import register +from lsl_definitions.lsl import LSLDefinitions, LSLEnumType + + +@register("gen_enums_txt") +def gen_enums_txt(definitions: LSLDefinitions) -> str: + builtins_str = "// Dump of the enums just for testing. Feel free to remove this rule\n" + + for enum in sorted(definitions.enums.values(), key=lambda x: x.name): + builtins_str += f"enum {enum.name!s} {{\n" + for member in sorted(enum.members, key=lambda x: x.value): + builtins_str += f" {member.name} = " + if enum.type == LSLEnumType.FLAG: + builtins_str += f"0x{member.value:x}" + else: + builtins_str += f"{member.value}" + if member.constant.private: + builtins_str += " // private" + if member.constant.deprecated: + builtins_str += " // deprecated" + builtins_str += "\n" + builtins_str += "};\n" + + for const in sorted(definitions.constants.values(), key=lambda x: x.name): + if not const.member_of: + builtins_str += f"const {const.type!s} {const.name} = {const.lsl_doc_literal}" + if const.private: + builtins_str += " // private" + if const.deprecated: + builtins_str += " // deprecated" + builtins_str += "\n" + + return builtins_str From 85dfc51b71a1c8fc02dab4e5a78a2c26e87de4e1 Mon Sep 17 00:00:00 2001 From: tapple Date: Sat, 6 Jun 2026 13:53:27 -0700 Subject: [PATCH 2/8] skeleton of category functions generator --- gen_all_definitions.sh | 1 + .../experimental/category_functions.yaml | 1053 +++++++++++++++++ lsl_definitions/generators/experimental.py | 17 + 3 files changed, 1071 insertions(+) create mode 100644 generated/experimental/category_functions.yaml diff --git a/gen_all_definitions.sh b/gen_all_definitions.sh index 8c073f36..43560c60 100755 --- a/gen_all_definitions.sh +++ b/gen_all_definitions.sh @@ -44,3 +44,4 @@ $CMD $DEFS gen_mono_library_defs ./templates/LslLibrary.cs "$outdir/templated/Ls # Experimental generators $CMD $DEFS gen_enums_txt "$outdir/experimental/enums.txt" +$CMD $DEFS gen_category_functions "$outdir/experimental/category_functions.yaml" diff --git a/generated/experimental/category_functions.yaml b/generated/experimental/category_functions.yaml new file mode 100644 index 00000000..e4055ca7 --- /dev/null +++ b/generated/experimental/category_functions.yaml @@ -0,0 +1,1053 @@ +# Functions by category +llAbs: +- llAbs +llAcos: +- llAcos +llAddToLandBanList: +- llAddToLandBanList +llAddToLandPassList: +- llAddToLandPassList +llAdjustDamage: +- llAdjustDamage +llAdjustSoundVolume: +- llAdjustSoundVolume +llAgentInExperience: +- llAgentInExperience +llAllowInventoryDrop: +- llAllowInventoryDrop +llAngleBetween: +- llAngleBetween +llApplyImpulse: +- llApplyImpulse +llApplyRotationalImpulse: +- llApplyRotationalImpulse +llAsin: +- llAsin +llAtan2: +- llAtan2 +llAttachToAvatar: +- llAttachToAvatar +llAttachToAvatarTemp: +- llAttachToAvatarTemp +llAvatarOnLinkSitTarget: +- llAvatarOnLinkSitTarget +llAvatarOnSitTarget: +- llAvatarOnSitTarget +llAxes2Rot: +- llAxes2Rot +llAxisAngle2Rot: +- llAxisAngle2Rot +llBase64ToInteger: +- llBase64ToInteger +llBase64ToString: +- llBase64ToString +llBreakAllLinks: +- llBreakAllLinks +llBreakLink: +- llBreakLink +llCSV2List: +- llCSV2List +llCastRay: +- llCastRay +llCeil: +- llCeil +llChar: +- llChar +llClearCameraParams: +- llClearCameraParams +llClearExperience: +- llClearExperience +llClearExperiencePermissions: +- llClearExperiencePermissions +llClearLinkMedia: +- llClearLinkMedia +llClearPrimMedia: +- llClearPrimMedia +llCloseRemoteDataChannel: +- llCloseRemoteDataChannel +llCloud: +- llCloud +llCollisionFilter: +- llCollisionFilter +llCollisionSound: +- llCollisionSound +llCollisionSprite: +- llCollisionSprite +llComputeHash: +- llComputeHash +llCos: +- llCos +llCreateCharacter: +- llCreateCharacter +llCreateKeyValue: +- llCreateKeyValue +llCreateLink: +- llCreateLink +llDamage: +- llDamage +llDataSizeKeyValue: +- llDataSizeKeyValue +llDeleteCharacter: +- llDeleteCharacter +llDeleteKeyValue: +- llDeleteKeyValue +llDeleteSubList: +- llDeleteSubList +llDeleteSubString: +- llDeleteSubString +llDerezObject: +- llDerezObject +llDetachFromAvatar: +- llDetachFromAvatar +llDetectedDamage: +- llDetectedDamage +llDetectedGrab: +- llDetectedGrab +llDetectedGroup: +- llDetectedGroup +llDetectedKey: +- llDetectedKey +llDetectedLinkNumber: +- llDetectedLinkNumber +llDetectedName: +- llDetectedName +llDetectedOwner: +- llDetectedOwner +llDetectedPos: +- llDetectedPos +llDetectedRezzer: +- llDetectedRezzer +llDetectedRot: +- llDetectedRot +llDetectedTouchBinormal: +- llDetectedTouchBinormal +llDetectedTouchFace: +- llDetectedTouchFace +llDetectedTouchNormal: +- llDetectedTouchNormal +llDetectedTouchPos: +- llDetectedTouchPos +llDetectedTouchST: +- llDetectedTouchST +llDetectedTouchUV: +- llDetectedTouchUV +llDetectedType: +- llDetectedType +llDetectedVel: +- llDetectedVel +llDialog: +- llDialog +llDie: +- llDie +llDumpList2String: +- llDumpList2String +llEdgeOfWorld: +- llEdgeOfWorld +llEjectFromLand: +- llEjectFromLand +llEmail: +- llEmail +llEscapeURL: +- llEscapeURL +llEuler2Rot: +- llEuler2Rot +llEvade: +- llEvade +llExecCharacterCmd: +- llExecCharacterCmd +llFabs: +- llFabs +llFindNotecardTextCount: +- llFindNotecardTextCount +llFindNotecardTextSync: +- llFindNotecardTextSync +llFleeFrom: +- llFleeFrom +llFloor: +- llFloor +llForceMouselook: +- llForceMouselook +llFrand: +- llFrand +llGenerateKey: +- llGenerateKey +llGetAccel: +- llGetAccel +llGetAgentInfo: +- llGetAgentInfo +llGetAgentLanguage: +- llGetAgentLanguage +llGetAgentList: +- llGetAgentList +llGetAgentSize: +- llGetAgentSize +llGetAlpha: +- llGetAlpha +llGetAndResetTime: +- llGetAndResetTime +llGetAnimation: +- llGetAnimation +llGetAnimationList: +- llGetAnimationList +llGetAnimationOverride: +- llGetAnimationOverride +llGetAttached: +- llGetAttached +llGetAttachedList: +- llGetAttachedList +llGetAttachedListFiltered: +- llGetAttachedListFiltered +llGetBoundingBox: +- llGetBoundingBox +llGetCameraAspect: +- llGetCameraAspect +llGetCameraFOV: +- llGetCameraFOV +llGetCameraPos: +- llGetCameraPos +llGetCameraRot: +- llGetCameraRot +llGetCenterOfMass: +- llGetCenterOfMass +llGetClosestNavPoint: +- llGetClosestNavPoint +llGetColor: +- llGetColor +llGetCreator: +- llGetCreator +llGetDate: +- llGetDate +llGetDayLength: +- llGetDayLength +llGetDayOffset: +- llGetDayOffset +llGetDisplayName: +- llGetDisplayName +llGetEnergy: +- llGetEnergy +llGetEnv: +- llGetEnv +llGetEnvironment: +- llGetEnvironment +llGetExperienceDetails: +- llGetExperienceDetails +llGetExperienceErrorMessage: +- llGetExperienceErrorMessage +llGetExperienceList: +- llGetExperienceList +llGetForce: +- llGetForce +llGetFreeMemory: +- llGetFreeMemory +llGetFreeURLs: +- llGetFreeURLs +llGetGMTclock: +- llGetGMTclock +llGetGeometricCenter: +- llGetGeometricCenter +llGetHTTPHeader: +- llGetHTTPHeader +llGetHealth: +- llGetHealth +llGetInventoryAcquireTime: +- llGetInventoryAcquireTime +llGetInventoryCreator: +- llGetInventoryCreator +llGetInventoryDesc: +- llGetInventoryDesc +llGetInventoryKey: +- llGetInventoryKey +llGetInventoryName: +- llGetInventoryName +llGetInventoryNumber: +- llGetInventoryNumber +llGetInventoryPermMask: +- llGetInventoryPermMask +llGetInventoryType: +- llGetInventoryType +llGetKey: +- llGetKey +llGetLandOwnerAt: +- llGetLandOwnerAt +llGetLinkKey: +- llGetLinkKey +llGetLinkMedia: +- llGetLinkMedia +llGetLinkName: +- llGetLinkName +llGetLinkNumber: +- llGetLinkNumber +llGetLinkNumberOfSides: +- llGetLinkNumberOfSides +llGetLinkPrimitiveParams: +- llGetLinkPrimitiveParams +llGetLinkSitFlags: +- llGetLinkSitFlags +llGetListEntryType: +- llGetListEntryType +llGetListLength: +- llGetListLength +llGetLocalPos: +- llGetLocalPos +llGetLocalRot: +- llGetLocalRot +llGetMass: +- llGetMass +llGetMassMKS: +- llGetMassMKS +llGetMaxScaleFactor: +- llGetMaxScaleFactor +llGetMemoryLimit: +- llGetMemoryLimit +llGetMinScaleFactor: +- llGetMinScaleFactor +llGetMoonDirection: +- llGetMoonDirection +llGetMoonRotation: +- llGetMoonRotation +llGetNextEmail: +- llGetNextEmail +llGetNotecardLine: +- llGetNotecardLine +llGetNotecardLineSync: +- llGetNotecardLineSync +llGetNumberOfNotecardLines: +- llGetNumberOfNotecardLines +llGetNumberOfPrims: +- llGetNumberOfPrims +llGetNumberOfSides: +- llGetNumberOfSides +llGetObjectAnimationNames: +- llGetObjectAnimationNames +llGetObjectDesc: +- llGetObjectDesc +llGetObjectDetails: +- llGetObjectDetails +llGetObjectLinkKey: +- llGetObjectLinkKey +llGetObjectMass: +- llGetObjectMass +llGetObjectName: +- llGetObjectName +llGetObjectPermMask: +- llGetObjectPermMask +llGetObjectPrimCount: +- llGetObjectPrimCount +llGetOmega: +- llGetOmega +llGetOwner: +- llGetOwner +llGetOwnerKey: +- llGetOwnerKey +llGetParcelDetails: +- llGetParcelDetails +llGetParcelFlags: +- llGetParcelFlags +llGetParcelMaxPrims: +- llGetParcelMaxPrims +llGetParcelMusicURL: +- llGetParcelMusicURL +llGetParcelPrimCount: +- llGetParcelPrimCount +llGetParcelPrimOwners: +- llGetParcelPrimOwners +llGetPermissions: +- llGetPermissions +llGetPermissionsKey: +- llGetPermissionsKey +llGetPhysicsMaterial: +- llGetPhysicsMaterial +llGetPos: +- llGetPos +llGetPrimMediaParams: +- llGetPrimMediaParams +llGetPrimitiveParams: +- llGetPrimitiveParams +llGetRegionAgentCount: +- llGetRegionAgentCount +llGetRegionCorner: +- llGetRegionCorner +llGetRegionDayLength: +- llGetRegionDayLength +llGetRegionDayOffset: +- llGetRegionDayOffset +llGetRegionFPS: +- llGetRegionFPS +llGetRegionFlags: +- llGetRegionFlags +llGetRegionMoonDirection: +- llGetRegionMoonDirection +llGetRegionMoonRotation: +- llGetRegionMoonRotation +llGetRegionName: +- llGetRegionName +llGetRegionSunDirection: +- llGetRegionSunDirection +llGetRegionSunRotation: +- llGetRegionSunRotation +llGetRegionTimeDilation: +- llGetRegionTimeDilation +llGetRegionTimeOfDay: +- llGetRegionTimeOfDay +llGetRenderMaterial: +- llGetRenderMaterial +llGetRootPosition: +- llGetRootPosition +llGetRootRotation: +- llGetRootRotation +llGetRot: +- llGetRot +llGetSPMaxMemory: +- llGetSPMaxMemory +llGetScale: +- llGetScale +llGetScriptName: +- llGetScriptName +llGetScriptState: +- llGetScriptState +llGetSimStats: +- llGetSimStats +llGetSimulatorHostname: +- llGetSimulatorHostname +llGetStartParameter: +- llGetStartParameter +llGetStartString: +- llGetStartString +llGetStaticPath: +- llGetStaticPath +llGetStatus: +- llGetStatus +llGetSubString: +- llGetSubString +llGetSunDirection: +- llGetSunDirection +llGetSunRotation: +- llGetSunRotation +llGetTexture: +- llGetTexture +llGetTextureOffset: +- llGetTextureOffset +llGetTextureRot: +- llGetTextureRot +llGetTextureScale: +- llGetTextureScale +llGetTime: +- llGetTime +llGetTimeOfDay: +- llGetTimeOfDay +llGetTimestamp: +- llGetTimestamp +llGetTorque: +- llGetTorque +llGetUnixTime: +- llGetUnixTime +llGetUsedMemory: +- llGetUsedMemory +llGetUsername: +- llGetUsername +llGetVel: +- llGetVel +llGetVisualParams: +- llGetVisualParams +llGetWallclock: +- llGetWallclock +llGiveAgentInventory: +- llGiveAgentInventory +llGiveInventory: +- llGiveInventory +llGiveInventoryList: +- llGiveInventoryList +llGiveMoney: +- llGiveMoney +llGodLikeRezObject: +- llGodLikeRezObject +llGround: +- llGround +llGroundContour: +- llGroundContour +llGroundNormal: +- llGroundNormal +llGroundRepel: +- llGroundRepel +llGroundSlope: +- llGroundSlope +llHMAC: +- llHMAC +llHTTPRequest: +- llHTTPRequest +llHTTPResponse: +- llHTTPResponse +llHash: +- llHash +llInsertString: +- llInsertString +llInstantMessage: +- llInstantMessage +llIntegerToBase64: +- llIntegerToBase64 +llIsFriend: +- llIsFriend +llIsLinkGLTFMaterial: +- llIsLinkGLTFMaterial +llJson2List: +- llJson2List +llJsonGetValue: +- llJsonGetValue +llJsonSetValue: +- llJsonSetValue +llJsonValueType: +- llJsonValueType +llKey2Name: +- llKey2Name +llKeyCountKeyValue: +- llKeyCountKeyValue +llKeysKeyValue: +- llKeysKeyValue +llLinear2sRGB: +- llLinear2sRGB +llLinkAdjustSoundVolume: +- llLinkAdjustSoundVolume +llLinkParticleSystem: +- llLinkParticleSystem +llLinkPlaySound: +- llLinkPlaySound +llLinkSetSoundQueueing: +- llLinkSetSoundQueueing +llLinkSetSoundRadius: +- llLinkSetSoundRadius +llLinkSitTarget: +- llLinkSitTarget +llLinkStopSound: +- llLinkStopSound +llLinksetDataAvailable: +- llLinksetDataAvailable +llLinksetDataCountFound: +- llLinksetDataCountFound +llLinksetDataCountKeys: +- llLinksetDataCountKeys +llLinksetDataDelete: +- llLinksetDataDelete +llLinksetDataDeleteFound: +- llLinksetDataDeleteFound +llLinksetDataDeleteProtected: +- llLinksetDataDeleteProtected +llLinksetDataFindKeys: +- llLinksetDataFindKeys +llLinksetDataListKeys: +- llLinksetDataListKeys +llLinksetDataRead: +- llLinksetDataRead +llLinksetDataReadProtected: +- llLinksetDataReadProtected +llLinksetDataReset: +- llLinksetDataReset +llLinksetDataWrite: +- llLinksetDataWrite +llLinksetDataWriteProtected: +- llLinksetDataWriteProtected +llList2CSV: +- llList2CSV +llList2Float: +- llList2Float +llList2Integer: +- llList2Integer +llList2Json: +- llList2Json +llList2Key: +- llList2Key +llList2List: +- llList2List +llList2ListSlice: +- llList2ListSlice +llList2ListStrided: +- llList2ListStrided +llList2Rot: +- llList2Rot +llList2String: +- llList2String +llList2Vector: +- llList2Vector +llListFindList: +- llListFindList +llListFindListNext: +- llListFindListNext +llListFindStrided: +- llListFindStrided +llListInsertList: +- llListInsertList +llListRandomize: +- llListRandomize +llListReplaceList: +- llListReplaceList +llListSort: +- llListSort +llListSortStrided: +- llListSortStrided +llListStatistics: +- llListStatistics +llListen: +- llListen +llListenControl: +- llListenControl +llListenRemove: +- llListenRemove +llLoadURL: +- llLoadURL +llLog: +- llLog +llLog10: +- llLog10 +llLookAt: +- llLookAt +llLoopSound: +- llLoopSound +llLoopSoundMaster: +- llLoopSoundMaster +llLoopSoundSlave: +- llLoopSoundSlave +llMD5String: +- llMD5String +llMakeExplosion: +- llMakeExplosion +llMakeFire: +- llMakeFire +llMakeFountain: +- llMakeFountain +llMakeSmoke: +- llMakeSmoke +llManageEstateAccess: +- llManageEstateAccess +llMapBeacon: +- llMapBeacon +llMapDestination: +- llMapDestination +llMessageLinked: +- llMessageLinked +llMinEventDelay: +- llMinEventDelay +llModPow: +- llModPow +llModifyLand: +- llModifyLand +llMoveToTarget: +- llMoveToTarget +llName2Key: +- llName2Key +llNavigateTo: +- llNavigateTo +llOffsetTexture: +- llOffsetTexture +llOpenFloater: +- llOpenFloater +llOpenRemoteDataChannel: +- llOpenRemoteDataChannel +llOrd: +- llOrd +llOverMyLand: +- llOverMyLand +llOwnerSay: +- llOwnerSay +llParcelMediaCommandList: +- llParcelMediaCommandList +llParcelMediaQuery: +- llParcelMediaQuery +llParseString2List: +- llParseString2List +llParseStringKeepNulls: +- llParseStringKeepNulls +llParticleSystem: +- llParticleSystem +llPassCollisions: +- llPassCollisions +llPassTouches: +- llPassTouches +llPatrolPoints: +- llPatrolPoints +llPlaySound: +- llPlaySound +llPlaySoundSlave: +- llPlaySoundSlave +llPointAt: +- llPointAt +llPow: +- llPow +llPreloadSound: +- llPreloadSound +llPursue: +- llPursue +llPushObject: +- llPushObject +llReadKeyValue: +- llReadKeyValue +llRefreshPrimURL: +- llRefreshPrimURL +llRegionSay: +- llRegionSay +llRegionSayTo: +- llRegionSayTo +llReleaseCamera: +- llReleaseCamera +llReleaseControls: +- llReleaseControls +llReleaseURL: +- llReleaseURL +llRemoteDataReply: +- llRemoteDataReply +llRemoteDataSetRegion: +- llRemoteDataSetRegion +llRemoteLoadScript: +- llRemoteLoadScript +llRemoteLoadScriptPin: +- llRemoteLoadScriptPin +llRemoveFromLandBanList: +- llRemoveFromLandBanList +llRemoveFromLandPassList: +- llRemoveFromLandPassList +llRemoveInventory: +- llRemoveInventory +llRemoveVehicleFlags: +- llRemoveVehicleFlags +llReplaceAgentEnvironment: +- llReplaceAgentEnvironment +llReplaceEnvironment: +- llReplaceEnvironment +llReplaceSubString: +- llReplaceSubString +llRequestAgentData: +- llRequestAgentData +llRequestDisplayName: +- llRequestDisplayName +llRequestExperiencePermissions: +- llRequestExperiencePermissions +llRequestInventoryData: +- llRequestInventoryData +llRequestPermissions: +- llRequestPermissions +llRequestSecureURL: +- llRequestSecureURL +llRequestSimulatorData: +- llRequestSimulatorData +llRequestURL: +- llRequestURL +llRequestUserKey: +- llRequestUserKey +llRequestUsername: +- llRequestUsername +llResetAnimationOverride: +- llResetAnimationOverride +llResetLandBanList: +- llResetLandBanList +llResetLandPassList: +- llResetLandPassList +llResetOtherScript: +- llResetOtherScript +llResetScript: +- llResetScript +llResetTime: +- llResetTime +llReturnObjectsByID: +- llReturnObjectsByID +llReturnObjectsByOwner: +- llReturnObjectsByOwner +llRezAtRoot: +- llRezAtRoot +llRezObject: +- llRezObject +llRezObjectWithParams: +- llRezObjectWithParams +llRot2Angle: +- llRot2Angle +llRot2Axis: +- llRot2Axis +llRot2Euler: +- llRot2Euler +llRot2Fwd: +- llRot2Fwd +llRot2Left: +- llRot2Left +llRot2Up: +- llRot2Up +llRotBetween: +- llRotBetween +llRotLookAt: +- llRotLookAt +llRotTarget: +- llRotTarget +llRotTargetRemove: +- llRotTargetRemove +llRotateTexture: +- llRotateTexture +llRound: +- llRound +llSHA1String: +- llSHA1String +llSHA256String: +- llSHA256String +llSameGroup: +- llSameGroup +llSay: +- llSay +llScaleByFactor: +- llScaleByFactor +llScaleTexture: +- llScaleTexture +llScriptDanger: +- llScriptDanger +llScriptProfiler: +- llScriptProfiler +llSendRemoteData: +- llSendRemoteData +llSensor: +- llSensor +llSensorRemove: +- llSensorRemove +llSensorRepeat: +- llSensorRepeat +llSetAgentEnvironment: +- llSetAgentEnvironment +llSetAgentRot: +- llSetAgentRot +llSetAlpha: +- llSetAlpha +llSetAngularVelocity: +- llSetAngularVelocity +llSetAnimationOverride: +- llSetAnimationOverride +llSetBuoyancy: +- llSetBuoyancy +llSetCameraAtOffset: +- llSetCameraAtOffset +llSetCameraEyeOffset: +- llSetCameraEyeOffset +llSetCameraParams: +- llSetCameraParams +llSetClickAction: +- llSetClickAction +llSetColor: +- llSetColor +llSetContentType: +- llSetContentType +llSetDamage: +- llSetDamage +llSetEnvironment: +- llSetEnvironment +llSetExperienceKey: +- llSetExperienceKey +llSetForce: +- llSetForce +llSetForceAndTorque: +- llSetForceAndTorque +llSetGroundTexture: +- llSetGroundTexture +llSetHoverHeight: +- llSetHoverHeight +llSetInventoryPermMask: +- llSetInventoryPermMask +llSetKeyframedMotion: +- llSetKeyframedMotion +llSetLinkAlpha: +- llSetLinkAlpha +llSetLinkCamera: +- llSetLinkCamera +llSetLinkColor: +- llSetLinkColor +llSetLinkGLTFOverrides: +- llSetLinkGLTFOverrides +llSetLinkMedia: +- llSetLinkMedia +llSetLinkPrimitiveParams: +- llSetLinkPrimitiveParams +llSetLinkPrimitiveParamsFast: +- llSetLinkPrimitiveParamsFast +llSetLinkRenderMaterial: +- llSetLinkRenderMaterial +llSetLinkSitFlags: +- llSetLinkSitFlags +llSetLinkTexture: +- llSetLinkTexture +llSetLinkTextureAnim: +- llSetLinkTextureAnim +llSetLocalRot: +- llSetLocalRot +llSetMemoryLimit: +- llSetMemoryLimit +llSetObjectDesc: +- llSetObjectDesc +llSetObjectName: +- llSetObjectName +llSetObjectPermMask: +- llSetObjectPermMask +llSetParcelForSale: +- llSetParcelForSale +llSetParcelMusicURL: +- llSetParcelMusicURL +llSetPayPrice: +- llSetPayPrice +llSetPhysicsMaterial: +- llSetPhysicsMaterial +llSetPos: +- llSetPos +llSetPrimMediaParams: +- llSetPrimMediaParams +llSetPrimURL: +- llSetPrimURL +llSetPrimitiveParams: +- llSetPrimitiveParams +llSetRegionPos: +- llSetRegionPos +llSetRemoteScriptAccessPin: +- llSetRemoteScriptAccessPin +llSetRenderMaterial: +- llSetRenderMaterial +llSetRot: +- llSetRot +llSetScale: +- llSetScale +llSetScriptState: +- llSetScriptState +llSetSitText: +- llSetSitText +llSetSoundQueueing: +- llSetSoundQueueing +llSetSoundRadius: +- llSetSoundRadius +llSetStatus: +- llSetStatus +llSetText: +- llSetText +llSetTexture: +- llSetTexture +llSetTextureAnim: +- llSetTextureAnim +llSetTimerEvent: +- llSetTimerEvent +llSetTorque: +- llSetTorque +llSetTouchText: +- llSetTouchText +llSetVehicleFlags: +- llSetVehicleFlags +llSetVehicleFloatParam: +- llSetVehicleFloatParam +llSetVehicleRotationParam: +- llSetVehicleRotationParam +llSetVehicleType: +- llSetVehicleType +llSetVehicleVectorParam: +- llSetVehicleVectorParam +llSetVelocity: +- llSetVelocity +llShout: +- llShout +llSignRSA: +- llSignRSA +llSin: +- llSin +llSitOnLink: +- llSitOnLink +llSitTarget: +- llSitTarget +llSleep: +- llSleep +llSound: +- llSound +llSoundPreload: +- llSoundPreload +llSqrt: +- llSqrt +llStartAnimation: +- llStartAnimation +llStartObjectAnimation: +- llStartObjectAnimation +llStopAnimation: +- llStopAnimation +llStopHover: +- llStopHover +llStopLookAt: +- llStopLookAt +llStopMoveToTarget: +- llStopMoveToTarget +llStopObjectAnimation: +- llStopObjectAnimation +llStopPointAt: +- llStopPointAt +llStopSound: +- llStopSound +llStringLength: +- llStringLength +llStringToBase64: +- llStringToBase64 +llStringTrim: +- llStringTrim +llSubStringIndex: +- llSubStringIndex +llTakeCamera: +- llTakeCamera +llTakeControls: +- llTakeControls +llTan: +- llTan +llTarget: +- llTarget +llTargetOmega: +- llTargetOmega +llTargetRemove: +- llTargetRemove +llTargetedEmail: +- llTargetedEmail +llTeleportAgent: +- llTeleportAgent +llTeleportAgentGlobalCoords: +- llTeleportAgentGlobalCoords +llTeleportAgentHome: +- llTeleportAgentHome +llTextBox: +- llTextBox +llToLower: +- llToLower +llToUpper: +- llToUpper +llTransferLindenDollars: +- llTransferLindenDollars +llTransferOwnership: +- llTransferOwnership +llTriggerSound: +- llTriggerSound +llTriggerSoundLimited: +- llTriggerSoundLimited +llUnSit: +- llUnSit +llUnescapeURL: +- llUnescapeURL +llUpdateCharacter: +- llUpdateCharacter +llUpdateKeyValue: +- llUpdateKeyValue +llVecDist: +- llVecDist +llVecMag: +- llVecMag +llVecNorm: +- llVecNorm +llVerifyRSA: +- llVerifyRSA +llVolumeDetect: +- llVolumeDetect +llWanderWithin: +- llWanderWithin +llWater: +- llWater +llWhisper: +- llWhisper +llWind: +- llWind +llWorldPosToHUD: +- llWorldPosToHUD +llXorBase64: +- llXorBase64 +llXorBase64Strings: +- llXorBase64Strings +llXorBase64StringsCorrect: +- llXorBase64StringsCorrect +llsRGB2Linear: +- llsRGB2Linear diff --git a/lsl_definitions/generators/experimental.py b/lsl_definitions/generators/experimental.py index 0b9a1b3b..920ee44a 100644 --- a/lsl_definitions/generators/experimental.py +++ b/lsl_definitions/generators/experimental.py @@ -6,6 +6,10 @@ from __future__ import annotations +import io + +import yaml + from lsl_definitions.generators.base import register from lsl_definitions.lsl import LSLDefinitions, LSLEnumType @@ -39,3 +43,16 @@ def gen_enums_txt(definitions: LSLDefinitions) -> str: builtins_str += "\n" return builtins_str + + +@register("gen_category_functions") +def gen_category_functions(definitions: LSLDefinitions) -> str: + file = io.StringIO() + file.write("# Functions by category\n") + categories = {} + + for func in sorted(definitions.functions.values(), key=lambda x: x.name): + categories.setdefault(func.name, []).append(func.name) + + yaml.safe_dump(categories, file, sort_keys=False) + return file.getvalue() From f9f85bc9722f5cc10ffec87ff759c87931116a8e Mon Sep 17 00:00:00 2001 From: tapple Date: Sat, 6 Jun 2026 14:07:12 -0700 Subject: [PATCH 3/8] Load categories from lsl_definitions.yaml --- .../experimental/category_functions.yaml | 1837 ++++++++--------- lsl_definitions/generators/experimental.py | 4 +- lsl_definitions/lsl.py | 4 +- 3 files changed, 907 insertions(+), 938 deletions(-) diff --git a/generated/experimental/category_functions.yaml b/generated/experimental/category_functions.yaml index e4055ca7..6b07b4a6 100644 --- a/generated/experimental/category_functions.yaml +++ b/generated/experimental/category_functions.yaml @@ -1,1053 +1,1018 @@ # Functions by category -llAbs: -- llAbs -llAcos: -- llAcos -llAddToLandBanList: -- llAddToLandBanList -llAddToLandPassList: -- llAddToLandPassList -llAdjustDamage: -- llAdjustDamage -llAdjustSoundVolume: -- llAdjustSoundVolume -llAgentInExperience: +asset_permissions: +- llGetObjectPermMask +- llSetInventoryPermMask +- llSetObjectPermMask +- llTransferOwnership +attachments: +- llAttachToAvatar +- llAttachToAvatarTemp +- llDetachFromAvatar +- llGetAttached +- llGetAttachedList +- llGetAttachedListFiltered +avatar: - llAgentInExperience -llAllowInventoryDrop: -- llAllowInventoryDrop -llAngleBetween: -- llAngleBetween -llApplyImpulse: -- llApplyImpulse -llApplyRotationalImpulse: -- llApplyRotationalImpulse -llAsin: -- llAsin -llAtan2: -- llAtan2 -llAttachToAvatar: - llAttachToAvatar -llAttachToAvatarTemp: - llAttachToAvatarTemp -llAvatarOnLinkSitTarget: - llAvatarOnLinkSitTarget -llAvatarOnSitTarget: - llAvatarOnSitTarget -llAxes2Rot: -- llAxes2Rot -llAxisAngle2Rot: -- llAxisAngle2Rot -llBase64ToInteger: +- llClearCameraParams +- llDetachFromAvatar +- llDetectedOwner +- llForceMouselook +- llGetAgentInfo +- llGetAgentLanguage +- llGetAgentList +- llGetAgentSize +- llGetAnimation +- llGetAnimationList +- llGetAnimationOverride +- llGetAttachedList +- llGetAttachedListFiltered +- llGetCameraAspect +- llGetCameraFOV +- llGetCameraPos +- llGetCameraRot +- llGetDisplayName +- llGetPermissionsKey +- llGetUsername +- llGetVisualParams +- llGiveMoney +- llIsFriend +- llName2Key +- llReleaseCamera +- llReleaseControls +- llReplaceAgentEnvironment +- llRequestAgentData +- llRequestDisplayName +- llRequestExperiencePermissions +- llRequestUserKey +- llRequestUsername +- llSetAgentEnvironment +- llSetAgentRot +- llSetCameraParams +- llStartAnimation +- llStopAnimation +- llTakeCamera +- llTakeControls +- llTeleportAgent +- llTeleportAgentGlobalCoords +- llTeleportAgentHome +- llUnSit +- llWorldPosToHUD +avatar_animation: +- llGetAnimation +- llGetAnimationList +- llGetAnimationOverride +- llResetAnimationOverride +- llSetAnimationOverride +- llStartAnimation +- llStopAnimation +avatar_communication: +- llDialog +- llEmail +- llInstantMessage +- llListen +- llListenControl +- llListenRemove +- llLoadURL +- llMapBeacon +- llMapDestination +- llOpenFloater +- llOwnerSay +- llRegionSayTo +- llSay +- llSetText +- llShout +- llTargetedEmail +- llTextBox +- llWhisper +avatar_inventory: +- llGiveAgentInventory +- llGiveInventory +- llGiveInventoryList +camera: +- llClearCameraParams +- llForceMouselook +- llGetCameraAspect +- llGetCameraFOV +- llGetCameraPos +- llGetCameraRot +- llReleaseCamera +- llSetCameraAtOffset +- llSetCameraEyeOffset +- llSetCameraParams +- llSetLinkCamera +- llTakeCamera +- llWorldPosToHUD +chat: +- llDialog +- llListen +- llListenControl +- llListenRemove +- llRegionSay +- llRegionSayTo +- llSay +- llShout +- llTextBox +- llWhisper +combat: +- llAdjustDamage +- llDamage +- llDetectedDamage +- llGetHealth +- llRezObjectWithParams +- llSetDamage +cryptography: +- llComputeHash +- llHMAC +- llHash +- llMD5String +- llSHA1String +- llSHA256String +- llSignRSA +- llVerifyRSA +data_conversion: - llBase64ToInteger -llBase64ToString: - llBase64ToString -llBreakAllLinks: -- llBreakAllLinks -llBreakLink: -- llBreakLink -llCSV2List: - llCSV2List -llCastRay: -- llCastRay -llCeil: -- llCeil -llChar: -- llChar -llClearCameraParams: -- llClearCameraParams -llClearExperience: -- llClearExperience -llClearExperiencePermissions: -- llClearExperiencePermissions -llClearLinkMedia: -- llClearLinkMedia -llClearPrimMedia: -- llClearPrimMedia -llCloseRemoteDataChannel: -- llCloseRemoteDataChannel -llCloud: -- llCloud -llCollisionFilter: -- llCollisionFilter -llCollisionSound: -- llCollisionSound -llCollisionSprite: -- llCollisionSprite -llComputeHash: -- llComputeHash -llCos: -- llCos -llCreateCharacter: -- llCreateCharacter -llCreateKeyValue: +- llDumpList2String +- llIntegerToBase64 +- llJson2List +- llJsonGetValue +- llJsonSetValue +- llJsonValueType +- llLinear2sRGB +- llList2CSV +- llList2Float +- llList2Integer +- llList2Json +- llList2Key +- llList2Rot +- llList2String +- llList2Vector +- llParseString2List +- llParseStringKeepNulls +- llStringToBase64 +- llXorBase64 +- llXorBase64Strings +- llXorBase64StringsCorrect +data_storage: - llCreateKeyValue -llCreateLink: -- llCreateLink -llDamage: -- llDamage -llDataSizeKeyValue: - llDataSizeKeyValue -llDeleteCharacter: -- llDeleteCharacter -llDeleteKeyValue: - llDeleteKeyValue -llDeleteSubList: -- llDeleteSubList -llDeleteSubString: -- llDeleteSubString -llDerezObject: -- llDerezObject -llDetachFromAvatar: -- llDetachFromAvatar -llDetectedDamage: +- llFindNotecardTextCount +- llFindNotecardTextSync +- llGetNotecardLine +- llGetNotecardLineSync +- llGetNumberOfNotecardLines +- llKeyCountKeyValue +- llKeysKeyValue +- llLinksetDataAvailable +- llLinksetDataCountFound +- llLinksetDataCountKeys +- llLinksetDataDelete +- llLinksetDataDeleteFound +- llLinksetDataDeleteProtected +- llLinksetDataFindKeys +- llLinksetDataListKeys +- llLinksetDataRead +- llLinksetDataReadProtected +- llLinksetDataReset +- llLinksetDataWrite +- llLinksetDataWriteProtected +- llReadKeyValue +- llUpdateKeyValue +dataserver: +- llCreateKeyValue +- llDataSizeKeyValue +- llDeleteKeyValue +- llFindNotecardTextCount +- llGetNotecardLine +- llGetNumberOfNotecardLines +- llKeyCountKeyValue +- llKeysKeyValue +- llReadKeyValue +- llRequestAgentData +- llRequestDisplayName +- llRequestInventoryData +- llRequestSimulatorData +- llRequestUserKey +- llRequestUsername +- llUpdateKeyValue +detected: +- llAdjustDamage - llDetectedDamage -llDetectedGrab: - llDetectedGrab -llDetectedGroup: - llDetectedGroup -llDetectedKey: - llDetectedKey -llDetectedLinkNumber: - llDetectedLinkNumber -llDetectedName: - llDetectedName -llDetectedOwner: - llDetectedOwner -llDetectedPos: - llDetectedPos -llDetectedRezzer: - llDetectedRezzer -llDetectedRot: - llDetectedRot -llDetectedTouchBinormal: - llDetectedTouchBinormal -llDetectedTouchFace: - llDetectedTouchFace -llDetectedTouchNormal: - llDetectedTouchNormal -llDetectedTouchPos: - llDetectedTouchPos -llDetectedTouchST: - llDetectedTouchST -llDetectedTouchUV: - llDetectedTouchUV -llDetectedType: - llDetectedType -llDetectedVel: - llDetectedVel -llDialog: -- llDialog -llDie: -- llDie -llDumpList2String: -- llDumpList2String -llEdgeOfWorld: -- llEdgeOfWorld -llEjectFromLand: -- llEjectFromLand -llEmail: -- llEmail -llEscapeURL: -- llEscapeURL -llEuler2Rot: -- llEuler2Rot -llEvade: -- llEvade -llExecCharacterCmd: -- llExecCharacterCmd -llFabs: -- llFabs -llFindNotecardTextCount: -- llFindNotecardTextCount -llFindNotecardTextSync: -- llFindNotecardTextSync -llFleeFrom: -- llFleeFrom -llFloor: -- llFloor -llForceMouselook: -- llForceMouselook -llFrand: -- llFrand -llGenerateKey: -- llGenerateKey -llGetAccel: -- llGetAccel -llGetAgentInfo: -- llGetAgentInfo -llGetAgentLanguage: -- llGetAgentLanguage -llGetAgentList: -- llGetAgentList -llGetAgentSize: -- llGetAgentSize -llGetAlpha: -- llGetAlpha -llGetAndResetTime: -- llGetAndResetTime -llGetAnimation: -- llGetAnimation -llGetAnimationList: -- llGetAnimationList -llGetAnimationOverride: -- llGetAnimationOverride -llGetAttached: -- llGetAttached -llGetAttachedList: -- llGetAttachedList -llGetAttachedListFiltered: -- llGetAttachedListFiltered -llGetBoundingBox: -- llGetBoundingBox -llGetCameraAspect: -- llGetCameraAspect -llGetCameraFOV: -- llGetCameraFOV -llGetCameraPos: -- llGetCameraPos -llGetCameraRot: -- llGetCameraRot -llGetCenterOfMass: -- llGetCenterOfMass -llGetClosestNavPoint: -- llGetClosestNavPoint -llGetColor: -- llGetColor -llGetCreator: -- llGetCreator -llGetDate: -- llGetDate -llGetDayLength: -- llGetDayLength -llGetDayOffset: -- llGetDayOffset -llGetDisplayName: -- llGetDisplayName -llGetEnergy: -- llGetEnergy -llGetEnv: -- llGetEnv -llGetEnvironment: -- llGetEnvironment -llGetExperienceDetails: +effects: +- llCollisionSprite +- llLinkParticleSystem +- llMakeExplosion +- llMakeFire +- llMakeFountain +- llMakeSmoke +- llParticleSystem +- llSetLinkTextureAnim +- llSetText +- llSetTextureAnim +experience: +- llAgentInExperience +- llClearExperience +- llClearExperiencePermissions +- llCreateKeyValue +- llDataSizeKeyValue +- llDeleteKeyValue - llGetExperienceDetails -llGetExperienceErrorMessage: - llGetExperienceErrorMessage -llGetExperienceList: - llGetExperienceList -llGetForce: -- llGetForce -llGetFreeMemory: -- llGetFreeMemory -llGetFreeURLs: -- llGetFreeURLs -llGetGMTclock: -- llGetGMTclock -llGetGeometricCenter: -- llGetGeometricCenter -llGetHTTPHeader: -- llGetHTTPHeader -llGetHealth: -- llGetHealth -llGetInventoryAcquireTime: -- llGetInventoryAcquireTime -llGetInventoryCreator: -- llGetInventoryCreator -llGetInventoryDesc: -- llGetInventoryDesc -llGetInventoryKey: -- llGetInventoryKey -llGetInventoryName: -- llGetInventoryName -llGetInventoryNumber: -- llGetInventoryNumber -llGetInventoryPermMask: -- llGetInventoryPermMask -llGetInventoryType: -- llGetInventoryType -llGetKey: -- llGetKey -llGetLandOwnerAt: -- llGetLandOwnerAt -llGetLinkKey: +- llKeyCountKeyValue +- llKeysKeyValue +- llReadKeyValue +- llReplaceAgentEnvironment +- llRequestExperiencePermissions +- llSetAgentEnvironment +- llSetExperienceKey +- llSitOnLink +- llUpdateKeyValue +experience_data: +- llCreateKeyValue +- llDataSizeKeyValue +- llDeleteKeyValue +- llKeyCountKeyValue +- llKeysKeyValue +- llReadKeyValue +- llUpdateKeyValue +input: +- llReleaseControls +- llSetClickAction +- llTakeControls +json: +- llJson2List +- llJsonGetValue +- llJsonSetValue +- llJsonValueType +- llList2Json +land_moderation: +- llAddToLandBanList +- llAddToLandPassList +- llEjectFromLand +- llManageEstateAccess +- llRemoveFromLandBanList +- llRemoveFromLandPassList +- llResetLandBanList +- llResetLandPassList +- llReturnObjectsByID +- llReturnObjectsByOwner +- llTeleportAgentHome +linkset: +- llAvatarOnLinkSitTarget +- llBreakAllLinks +- llBreakLink +- llClearLinkMedia +- llCreateLink - llGetLinkKey -llGetLinkMedia: - llGetLinkMedia -llGetLinkName: - llGetLinkName -llGetLinkNumber: -- llGetLinkNumber -llGetLinkNumberOfSides: - llGetLinkNumberOfSides -llGetLinkPrimitiveParams: - llGetLinkPrimitiveParams -llGetLinkSitFlags: - llGetLinkSitFlags -llGetListEntryType: -- llGetListEntryType -llGetListLength: -- llGetListLength -llGetLocalPos: -- llGetLocalPos -llGetLocalRot: -- llGetLocalRot -llGetMass: - llGetMass -llGetMassMKS: - llGetMassMKS -llGetMaxScaleFactor: - llGetMaxScaleFactor -llGetMemoryLimit: -- llGetMemoryLimit -llGetMinScaleFactor: - llGetMinScaleFactor -llGetMoonDirection: -- llGetMoonDirection -llGetMoonRotation: -- llGetMoonRotation -llGetNextEmail: -- llGetNextEmail -llGetNotecardLine: -- llGetNotecardLine -llGetNotecardLineSync: -- llGetNotecardLineSync -llGetNumberOfNotecardLines: -- llGetNumberOfNotecardLines -llGetNumberOfPrims: - llGetNumberOfPrims -llGetNumberOfSides: -- llGetNumberOfSides -llGetObjectAnimationNames: -- llGetObjectAnimationNames -llGetObjectDesc: -- llGetObjectDesc -llGetObjectDetails: -- llGetObjectDetails -llGetObjectLinkKey: -- llGetObjectLinkKey -llGetObjectMass: -- llGetObjectMass -llGetObjectName: -- llGetObjectName -llGetObjectPermMask: - llGetObjectPermMask -llGetObjectPrimCount: -- llGetObjectPrimCount -llGetOmega: -- llGetOmega -llGetOwner: - llGetOwner -llGetOwnerKey: -- llGetOwnerKey -llGetParcelDetails: -- llGetParcelDetails -llGetParcelFlags: -- llGetParcelFlags -llGetParcelMaxPrims: -- llGetParcelMaxPrims -llGetParcelMusicURL: -- llGetParcelMusicURL -llGetParcelPrimCount: -- llGetParcelPrimCount -llGetParcelPrimOwners: -- llGetParcelPrimOwners -llGetPermissions: -- llGetPermissions -llGetPermissionsKey: -- llGetPermissionsKey -llGetPhysicsMaterial: -- llGetPhysicsMaterial -llGetPos: -- llGetPos -llGetPrimMediaParams: -- llGetPrimMediaParams -llGetPrimitiveParams: -- llGetPrimitiveParams -llGetRegionAgentCount: -- llGetRegionAgentCount -llGetRegionCorner: -- llGetRegionCorner -llGetRegionDayLength: -- llGetRegionDayLength -llGetRegionDayOffset: -- llGetRegionDayOffset -llGetRegionFPS: -- llGetRegionFPS -llGetRegionFlags: -- llGetRegionFlags -llGetRegionMoonDirection: -- llGetRegionMoonDirection -llGetRegionMoonRotation: -- llGetRegionMoonRotation -llGetRegionName: -- llGetRegionName -llGetRegionSunDirection: -- llGetRegionSunDirection -llGetRegionSunRotation: -- llGetRegionSunRotation -llGetRegionTimeDilation: -- llGetRegionTimeDilation -llGetRegionTimeOfDay: -- llGetRegionTimeOfDay -llGetRenderMaterial: -- llGetRenderMaterial -llGetRootPosition: - llGetRootPosition -llGetRootRotation: - llGetRootRotation -llGetRot: -- llGetRot -llGetSPMaxMemory: -- llGetSPMaxMemory -llGetScale: -- llGetScale -llGetScriptName: -- llGetScriptName -llGetScriptState: -- llGetScriptState -llGetSimStats: -- llGetSimStats -llGetSimulatorHostname: -- llGetSimulatorHostname -llGetStartParameter: -- llGetStartParameter -llGetStartString: -- llGetStartString -llGetStaticPath: -- llGetStaticPath -llGetStatus: - llGetStatus -llGetSubString: -- llGetSubString -llGetSunDirection: -- llGetSunDirection -llGetSunRotation: -- llGetSunRotation -llGetTexture: -- llGetTexture -llGetTextureOffset: -- llGetTextureOffset -llGetTextureRot: -- llGetTextureRot -llGetTextureScale: -- llGetTextureScale -llGetTime: -- llGetTime -llGetTimeOfDay: -- llGetTimeOfDay -llGetTimestamp: -- llGetTimestamp -llGetTorque: -- llGetTorque -llGetUnixTime: -- llGetUnixTime -llGetUsedMemory: -- llGetUsedMemory -llGetUsername: -- llGetUsername -llGetVel: -- llGetVel -llGetVisualParams: -- llGetVisualParams -llGetWallclock: -- llGetWallclock -llGiveAgentInventory: -- llGiveAgentInventory -llGiveInventory: -- llGiveInventory -llGiveInventoryList: -- llGiveInventoryList -llGiveMoney: -- llGiveMoney -llGodLikeRezObject: -- llGodLikeRezObject -llGround: -- llGround -llGroundContour: -- llGroundContour -llGroundNormal: -- llGroundNormal -llGroundRepel: -- llGroundRepel -llGroundSlope: -- llGroundSlope -llHMAC: -- llHMAC -llHTTPRequest: -- llHTTPRequest -llHTTPResponse: -- llHTTPResponse -llHash: -- llHash -llInsertString: -- llInsertString -llInstantMessage: -- llInstantMessage -llIntegerToBase64: -- llIntegerToBase64 -llIsFriend: -- llIsFriend -llIsLinkGLTFMaterial: - llIsLinkGLTFMaterial -llJson2List: -- llJson2List -llJsonGetValue: -- llJsonGetValue -llJsonSetValue: -- llJsonSetValue -llJsonValueType: -- llJsonValueType -llKey2Name: -- llKey2Name -llKeyCountKeyValue: -- llKeyCountKeyValue -llKeysKeyValue: -- llKeysKeyValue -llLinear2sRGB: -- llLinear2sRGB -llLinkAdjustSoundVolume: -- llLinkAdjustSoundVolume -llLinkParticleSystem: -- llLinkParticleSystem -llLinkPlaySound: -- llLinkPlaySound -llLinkSetSoundQueueing: -- llLinkSetSoundQueueing -llLinkSetSoundRadius: -- llLinkSetSoundRadius -llLinkSitTarget: - llLinkSitTarget -llLinkStopSound: -- llLinkStopSound -llLinksetDataAvailable: - llLinksetDataAvailable -llLinksetDataCountFound: - llLinksetDataCountFound -llLinksetDataCountKeys: - llLinksetDataCountKeys -llLinksetDataDelete: - llLinksetDataDelete -llLinksetDataDeleteFound: - llLinksetDataDeleteFound -llLinksetDataDeleteProtected: - llLinksetDataDeleteProtected -llLinksetDataFindKeys: - llLinksetDataFindKeys -llLinksetDataListKeys: - llLinksetDataListKeys -llLinksetDataRead: - llLinksetDataRead -llLinksetDataReadProtected: - llLinksetDataReadProtected -llLinksetDataReset: - llLinksetDataReset -llLinksetDataWrite: - llLinksetDataWrite -llLinksetDataWriteProtected: - llLinksetDataWriteProtected -llList2CSV: +- llScaleByFactor +- llSetLinkAlpha +- llSetLinkColor +- llSetLinkGLTFOverrides +- llSetLinkMedia +- llSetLinkPrimitiveParams +- llSetLinkPrimitiveParamsFast +- llSetLinkRenderMaterial +- llSetLinkSitFlags +- llSetLinkTexture +- llSetLinkTextureAnim +- llSetObjectPermMask +- llSetStatus +linkset_data: +- llLinksetDataAvailable +- llLinksetDataCountFound +- llLinksetDataCountKeys +- llLinksetDataDelete +- llLinksetDataDeleteFound +- llLinksetDataDeleteProtected +- llLinksetDataFindKeys +- llLinksetDataListKeys +- llLinksetDataRead +- llLinksetDataReadProtected +- llLinksetDataReset +- llLinksetDataWrite +- llLinksetDataWriteProtected +list: +- llDeleteSubList +- llGetListEntryType +- llGetListLength - llList2CSV -llList2Float: - llList2Float -llList2Integer: - llList2Integer -llList2Json: - llList2Json -llList2Key: - llList2Key -llList2List: - llList2List -llList2ListSlice: - llList2ListSlice -llList2ListStrided: - llList2ListStrided -llList2Rot: - llList2Rot -llList2String: - llList2String -llList2Vector: - llList2Vector -llListFindList: - llListFindList -llListFindListNext: - llListFindListNext -llListFindStrided: - llListFindStrided -llListInsertList: - llListInsertList -llListRandomize: - llListRandomize -llListReplaceList: - llListReplaceList -llListSort: - llListSort -llListSortStrided: - llListSortStrided -llListStatistics: - llListStatistics -llListen: -- llListen -llListenControl: -- llListenControl -llListenRemove: -- llListenRemove -llLoadURL: -- llLoadURL -llLog: +math: +- llAbs +- llAcos +- llAngleBetween +- llAsin +- llAtan2 +- llAxes2Rot +- llAxisAngle2Rot +- llCeil +- llCos +- llEuler2Rot +- llFabs +- llFloor +- llFrand +- llLinear2sRGB +- llListStatistics - llLog -llLog10: - llLog10 -llLookAt: -- llLookAt -llLoopSound: -- llLoopSound -llLoopSoundMaster: -- llLoopSoundMaster -llLoopSoundSlave: -- llLoopSoundSlave -llMD5String: -- llMD5String -llMakeExplosion: -- llMakeExplosion -llMakeFire: -- llMakeFire -llMakeFountain: -- llMakeFountain -llMakeSmoke: -- llMakeSmoke -llManageEstateAccess: -- llManageEstateAccess -llMapBeacon: -- llMapBeacon -llMapDestination: -- llMapDestination -llMessageLinked: -- llMessageLinked -llMinEventDelay: -- llMinEventDelay -llModPow: - llModPow -llModifyLand: -- llModifyLand -llMoveToTarget: -- llMoveToTarget -llName2Key: -- llName2Key -llNavigateTo: -- llNavigateTo -llOffsetTexture: -- llOffsetTexture -llOpenFloater: -- llOpenFloater -llOpenRemoteDataChannel: -- llOpenRemoteDataChannel -llOrd: -- llOrd -llOverMyLand: -- llOverMyLand -llOwnerSay: -- llOwnerSay -llParcelMediaCommandList: -- llParcelMediaCommandList -llParcelMediaQuery: -- llParcelMediaQuery -llParseString2List: -- llParseString2List -llParseStringKeepNulls: -- llParseStringKeepNulls -llParticleSystem: -- llParticleSystem -llPassCollisions: -- llPassCollisions -llPassTouches: -- llPassTouches -llPatrolPoints: -- llPatrolPoints -llPlaySound: -- llPlaySound -llPlaySoundSlave: -- llPlaySoundSlave -llPointAt: -- llPointAt -llPow: - llPow -llPreloadSound: -- llPreloadSound -llPursue: -- llPursue -llPushObject: -- llPushObject -llReadKeyValue: -- llReadKeyValue -llRefreshPrimURL: -- llRefreshPrimURL -llRegionSay: -- llRegionSay -llRegionSayTo: -- llRegionSayTo -llReleaseCamera: -- llReleaseCamera -llReleaseControls: -- llReleaseControls -llReleaseURL: -- llReleaseURL -llRemoteDataReply: -- llRemoteDataReply -llRemoteDataSetRegion: -- llRemoteDataSetRegion -llRemoteLoadScript: -- llRemoteLoadScript -llRemoteLoadScriptPin: -- llRemoteLoadScriptPin -llRemoveFromLandBanList: -- llRemoveFromLandBanList -llRemoveFromLandPassList: -- llRemoveFromLandPassList -llRemoveInventory: -- llRemoveInventory -llRemoveVehicleFlags: -- llRemoveVehicleFlags -llReplaceAgentEnvironment: -- llReplaceAgentEnvironment -llReplaceEnvironment: -- llReplaceEnvironment -llReplaceSubString: -- llReplaceSubString -llRequestAgentData: -- llRequestAgentData -llRequestDisplayName: -- llRequestDisplayName -llRequestExperiencePermissions: -- llRequestExperiencePermissions -llRequestInventoryData: -- llRequestInventoryData -llRequestPermissions: -- llRequestPermissions -llRequestSecureURL: -- llRequestSecureURL -llRequestSimulatorData: -- llRequestSimulatorData -llRequestURL: -- llRequestURL -llRequestUserKey: -- llRequestUserKey -llRequestUsername: -- llRequestUsername -llResetAnimationOverride: -- llResetAnimationOverride -llResetLandBanList: -- llResetLandBanList -llResetLandPassList: -- llResetLandPassList -llResetOtherScript: -- llResetOtherScript -llResetScript: -- llResetScript -llResetTime: -- llResetTime -llReturnObjectsByID: -- llReturnObjectsByID -llReturnObjectsByOwner: -- llReturnObjectsByOwner -llRezAtRoot: -- llRezAtRoot -llRezObject: -- llRezObject -llRezObjectWithParams: -- llRezObjectWithParams -llRot2Angle: - llRot2Angle -llRot2Axis: - llRot2Axis -llRot2Euler: - llRot2Euler -llRot2Fwd: - llRot2Fwd -llRot2Left: - llRot2Left -llRot2Up: - llRot2Up -llRotBetween: - llRotBetween -llRotLookAt: +- llRound +- llSin +- llSqrt +- llTan +- llVecDist +- llVecMag +- llVecNorm +- llsRGB2Linear +math_3d: +- llAngleBetween +- llAxes2Rot +- llAxisAngle2Rot +- llEuler2Rot +- llRot2Angle +- llRot2Axis +- llRot2Euler +- llRot2Fwd +- llRot2Left +- llRot2Up +- llRotBetween +- llVecDist +- llVecMag +- llVecNorm +math_trig: +- llAcos +- llAngleBetween +- llAsin +- llAtan2 +- llAxes2Rot +- llAxisAngle2Rot +- llCos +- llRot2Angle +- llRot2Axis +- llRot2Fwd +- llRot2Left +- llRot2Up +- llRotBetween +- llSin +- llTan +media: +- llClearLinkMedia +- llClearPrimMedia +- llGetLinkMedia +- llGetPrimMediaParams +- llHTTPResponse +- llParcelMediaCommandList +- llParcelMediaQuery +- llRefreshPrimURL +- llReleaseURL +- llRequestSecureURL +- llRequestURL +- llSetContentType +- llSetLinkMedia +- llSetParcelMusicURL +- llSetPrimMediaParams +- llSetPrimURL +money: +- llGiveMoney +- llSetClickAction +- llSetPayPrice +- llTransferLindenDollars +movement: +- llApplyImpulse +- llApplyRotationalImpulse +- llGetOmega +- llGetTorque +- llGetVel +- llLookAt +- llMoveToTarget +- llPointAt +- llPushObject - llRotLookAt -llRotTarget: - llRotTarget -llRotTargetRemove: - llRotTargetRemove -llRotateTexture: -- llRotateTexture -llRound: -- llRound -llSHA1String: -- llSHA1String -llSHA256String: -- llSHA256String -llSameGroup: -- llSameGroup -llSay: -- llSay -llScaleByFactor: -- llScaleByFactor -llScaleTexture: -- llScaleTexture -llScriptDanger: -- llScriptDanger -llScriptProfiler: -- llScriptProfiler -llSendRemoteData: -- llSendRemoteData -llSensor: -- llSensor -llSensorRemove: -- llSensorRemove -llSensorRepeat: -- llSensorRepeat -llSetAgentEnvironment: -- llSetAgentEnvironment -llSetAgentRot: - llSetAgentRot -llSetAlpha: -- llSetAlpha -llSetAngularVelocity: - llSetAngularVelocity -llSetAnimationOverride: -- llSetAnimationOverride -llSetBuoyancy: -- llSetBuoyancy -llSetCameraAtOffset: -- llSetCameraAtOffset -llSetCameraEyeOffset: -- llSetCameraEyeOffset -llSetCameraParams: -- llSetCameraParams -llSetClickAction: -- llSetClickAction -llSetColor: -- llSetColor -llSetContentType: -- llSetContentType -llSetDamage: -- llSetDamage -llSetEnvironment: -- llSetEnvironment -llSetExperienceKey: -- llSetExperienceKey -llSetForce: - llSetForce -llSetForceAndTorque: - llSetForceAndTorque -llSetGroundTexture: -- llSetGroundTexture -llSetHoverHeight: - llSetHoverHeight -llSetInventoryPermMask: -- llSetInventoryPermMask -llSetKeyframedMotion: - llSetKeyframedMotion -llSetLinkAlpha: -- llSetLinkAlpha -llSetLinkCamera: -- llSetLinkCamera -llSetLinkColor: -- llSetLinkColor -llSetLinkGLTFOverrides: -- llSetLinkGLTFOverrides -llSetLinkMedia: -- llSetLinkMedia -llSetLinkPrimitiveParams: -- llSetLinkPrimitiveParams -llSetLinkPrimitiveParamsFast: -- llSetLinkPrimitiveParamsFast -llSetLinkRenderMaterial: -- llSetLinkRenderMaterial -llSetLinkSitFlags: -- llSetLinkSitFlags -llSetLinkTexture: -- llSetLinkTexture -llSetLinkTextureAnim: -- llSetLinkTextureAnim -llSetLocalRot: - llSetLocalRot -llSetMemoryLimit: -- llSetMemoryLimit -llSetObjectDesc: -- llSetObjectDesc -llSetObjectName: -- llSetObjectName -llSetObjectPermMask: -- llSetObjectPermMask -llSetParcelForSale: -- llSetParcelForSale -llSetParcelMusicURL: -- llSetParcelMusicURL -llSetPayPrice: -- llSetPayPrice -llSetPhysicsMaterial: -- llSetPhysicsMaterial -llSetPos: - llSetPos -llSetPrimMediaParams: -- llSetPrimMediaParams -llSetPrimURL: -- llSetPrimURL -llSetPrimitiveParams: -- llSetPrimitiveParams -llSetRegionPos: - llSetRegionPos -llSetRemoteScriptAccessPin: -- llSetRemoteScriptAccessPin -llSetRenderMaterial: -- llSetRenderMaterial -llSetRot: - llSetRot -llSetScale: -- llSetScale -llSetScriptState: -- llSetScriptState -llSetSitText: -- llSetSitText -llSetSoundQueueing: -- llSetSoundQueueing -llSetSoundRadius: -- llSetSoundRadius -llSetStatus: -- llSetStatus -llSetText: -- llSetText -llSetTexture: -- llSetTexture -llSetTextureAnim: -- llSetTextureAnim -llSetTimerEvent: -- llSetTimerEvent -llSetTorque: - llSetTorque -llSetTouchText: -- llSetTouchText -llSetVehicleFlags: -- llSetVehicleFlags -llSetVehicleFloatParam: -- llSetVehicleFloatParam -llSetVehicleRotationParam: -- llSetVehicleRotationParam -llSetVehicleType: -- llSetVehicleType -llSetVehicleVectorParam: -- llSetVehicleVectorParam -llSetVelocity: - llSetVelocity -llShout: -- llShout -llSignRSA: -- llSignRSA -llSin: -- llSin -llSitOnLink: -- llSitOnLink -llSitTarget: -- llSitTarget -llSleep: -- llSleep -llSound: -- llSound -llSoundPreload: -- llSoundPreload -llSqrt: -- llSqrt -llStartAnimation: -- llStartAnimation -llStartObjectAnimation: -- llStartObjectAnimation -llStopAnimation: -- llStopAnimation -llStopHover: - llStopHover -llStopLookAt: - llStopLookAt -llStopMoveToTarget: - llStopMoveToTarget -llStopObjectAnimation: -- llStopObjectAnimation -llStopPointAt: - llStopPointAt -llStopSound: -- llStopSound -llStringLength: -- llStringLength -llStringToBase64: -- llStringToBase64 -llStringTrim: -- llStringTrim -llSubStringIndex: -- llSubStringIndex -llTakeCamera: -- llTakeCamera -llTakeControls: -- llTakeControls -llTan: -- llTan -llTarget: - llTarget -llTargetOmega: - llTargetOmega -llTargetRemove: - llTargetRemove -llTargetedEmail: -- llTargetedEmail -llTeleportAgent: -- llTeleportAgent -llTeleportAgentGlobalCoords: -- llTeleportAgentGlobalCoords -llTeleportAgentHome: -- llTeleportAgentHome -llTextBox: -- llTextBox -llToLower: -- llToLower -llToUpper: -- llToUpper -llTransferLindenDollars: -- llTransferLindenDollars -llTransferOwnership: -- llTransferOwnership -llTriggerSound: -- llTriggerSound -llTriggerSoundLimited: -- llTriggerSoundLimited -llUnSit: -- llUnSit -llUnescapeURL: -- llUnescapeURL -llUpdateCharacter: -- llUpdateCharacter -llUpdateKeyValue: -- llUpdateKeyValue -llVecDist: -- llVecDist -llVecMag: -- llVecMag -llVecNorm: -- llVecNorm -llVerifyRSA: -- llVerifyRSA -llVolumeDetect: -- llVolumeDetect -llWanderWithin: -- llWanderWithin -llWater: -- llWater -llWhisper: -- llWhisper -llWind: -- llWind -llWorldPosToHUD: -- llWorldPosToHUD -llXorBase64: -- llXorBase64 -llXorBase64Strings: -- llXorBase64Strings -llXorBase64StringsCorrect: -- llXorBase64StringsCorrect -llsRGB2Linear: -- llsRGB2Linear +notecard: +- llFindNotecardTextCount +- llFindNotecardTextSync +- llGetNotecardLine +- llGetNotecardLineSync +- llGetNumberOfNotecardLines +object: +- llGetBoundingBox +- llGetCenterOfMass +- llGetObjectDetails +- llGetObjectLinkKey +- llGetObjectMass +- llGetObjectPrimCount +- llGetOwnerKey +- llKey2Name +- llSameGroup +object_animation: +- llGetObjectAnimationNames +- llStartObjectAnimation +- llStopObjectAnimation +parcel: +- llAddToLandBanList +- llAddToLandPassList +- llEjectFromLand +- llGetAgentList +- llGetEnvironment +- llGetLandOwnerAt +- llGetMoonDirection +- llGetMoonRotation +- llGetParcelDetails +- llGetParcelFlags +- llGetParcelMaxPrims +- llGetParcelMusicURL +- llGetParcelPrimCount +- llGetParcelPrimOwners +- llGetSunDirection +- llGetSunRotation +- llOverMyLand +- llParcelMediaCommandList +- llParcelMediaQuery +- llRemoveFromLandBanList +- llRemoveFromLandPassList +- llReplaceEnvironment +- llResetLandBanList +- llResetLandPassList +- llScriptDanger +- llSetEnvironment +- llSetParcelForSale +- llSetParcelMusicURL +parcel_appearance: +- llGetEnvironment +- llGetMoonDirection +- llGetMoonRotation +- llGetSunDirection +- llGetSunRotation +- llReplaceAgentEnvironment +- llReplaceEnvironment +- llSetAgentEnvironment +- llSetEnvironment +parcel_media: +- llParcelMediaCommandList +- llParcelMediaQuery +- llSetParcelMusicURL +particles: +- llLinkParticleSystem +- llParticleSystem +pathfinding: +- llCreateCharacter +- llDeleteCharacter +- llEvade +- llExecCharacterCmd +- llFleeFrom +- llGetClosestNavPoint +- llGetStaticPath +- llNavigateTo +- llPatrolPoints +- llPursue +- llUpdateCharacter +- llWanderWithin +permissions: +- llClearCameraParams +- llForceMouselook +- llGetAnimation +- llGetAnimationList +- llGetAnimationOverride +- llGetCameraAspect +- llGetCameraFOV +- llGetCameraPos +- llGetCameraRot +- llGetPermissions +- llGetPermissionsKey +- llGiveMoney +- llReleaseCamera +- llReleaseControls +- llRequestExperiencePermissions +- llRequestPermissions +- llResetAnimationOverride +- llSetAnimationOverride +- llSetCameraParams +- llStartAnimation +- llStopAnimation +- llTakeCamera +- llTakeControls +- llTeleportAgent +- llTeleportAgentGlobalCoords +- llTransferLindenDollars +- llWorldPosToHUD +physics: +- llApplyImpulse +- llApplyRotationalImpulse +- llCastRay +- llCollisionFilter +- llCollisionSound +- llGetAccel +- llGetCenterOfMass +- llGetForce +- llGetGeometricCenter +- llGetMass +- llGetMassMKS +- llGetObjectMass +- llGetOmega +- llGetPhysicsMaterial +- llGetStatus +- llGetTorque +- llGetVel +- llLookAt +- llMoveToTarget +- llPassCollisions +- llPointAt +- llPushObject +- llRemoveVehicleFlags +- llRotLookAt +- llRotTarget +- llRotTargetRemove +- llSetAgentRot +- llSetAngularVelocity +- llSetBuoyancy +- llSetForce +- llSetForceAndTorque +- llSetHoverHeight +- llSetKeyframedMotion +- llSetPhysicsMaterial +- llSetStatus +- llSetTorque +- llSetVelocity +- llStopHover +- llStopLookAt +- llStopMoveToTarget +- llStopPointAt +- llTargetOmega +- llVolumeDetect +prim: +- llAvatarOnSitTarget +- llClearPrimMedia +- llGetAlpha +- llGetColor +- llGetCreator +- llGetKey +- llGetLinkNumber +- llGetLocalPos +- llGetLocalRot +- llGetNumberOfSides +- llGetObjectDesc +- llGetObjectName +- llGetPhysicsMaterial +- llGetPos +- llGetPrimMediaParams +- llGetPrimitiveParams +- llGetRenderMaterial +- llGetRot +- llGetScale +- llGetTexture +- llGetTextureOffset +- llGetTextureRot +- llGetTextureScale +- llOffsetTexture +- llRemoteLoadScriptPin +- llRotateTexture +- llScaleTexture +- llSetAlpha +- llSetColor +- llSetLocalRot +- llSetObjectDesc +- llSetObjectName +- llSetPhysicsMaterial +- llSetPos +- llSetPrimMediaParams +- llSetPrimURL +- llSetPrimitiveParams +- llSetRegionPos +- llSetRenderMaterial +- llSetRot +- llSetScale +- llSetSitText +- llSetTexture +- llSetTextureAnim +- llSitTarget +prim_appearance: +- llGetAlpha +- llGetColor +- llGetLinkNumberOfSides +- llGetLinkPrimitiveParams +- llGetMaxScaleFactor +- llGetMinScaleFactor +- llGetNumberOfSides +- llGetPrimitiveParams +- llGetRenderMaterial +- llGetTexture +- llGetTextureOffset +- llGetTextureRot +- llGetTextureScale +- llIsLinkGLTFMaterial +- llLinear2sRGB +- llOffsetTexture +- llRotateTexture +- llScaleByFactor +- llScaleTexture +- llSetAlpha +- llSetColor +- llSetLinkAlpha +- llSetLinkColor +- llSetLinkGLTFOverrides +- llSetLinkPrimitiveParams +- llSetLinkPrimitiveParamsFast +- llSetLinkRenderMaterial +- llSetLinkTexture +- llSetLinkTextureAnim +- llSetPrimitiveParams +- llSetRenderMaterial +- llSetScale +- llSetText +- llSetTexture +- llSetTextureAnim +- llsRGB2Linear +prim_inventory: +- llAllowInventoryDrop +- llDerezObject +- llGetInventoryAcquireTime +- llGetInventoryCreator +- llGetInventoryDesc +- llGetInventoryKey +- llGetInventoryName +- llGetInventoryNumber +- llGetInventoryPermMask +- llGetInventoryType +- llGetScriptName +- llGetScriptState +- llGiveInventory +- llGiveInventoryList +- llGodLikeRezObject +- llRemoteLoadScript +- llRemoteLoadScriptPin +- llRemoveInventory +- llRequestInventoryData +- llResetOtherScript +- llRezAtRoot +- llRezObject +- llRezObjectWithParams +- llSetInventoryPermMask +- llSetRemoteScriptAccessPin +- llSetScriptState +prim_media: +- llClearLinkMedia +- llClearPrimMedia +- llGetLinkMedia +- llGetPrimMediaParams +- llHTTPResponse +- llRefreshPrimURL +- llSetContentType +- llSetLinkMedia +- llSetPrimMediaParams +- llSetPrimURL +prim_properties: +- llGetObjectDesc +- llGetObjectDetails +- llGetObjectName +- llGetPrimitiveParams +- llSetClickAction +- llSetLinkPrimitiveParams +- llSetLinkPrimitiveParamsFast +- llSetObjectDesc +- llSetObjectName +- llSetPayPrice +- llSetPhysicsMaterial +- llSetPrimitiveParams +- llSetStatus +- llSetText +- llSetTouchText +quaternion: +- llAngleBetween +- llAxes2Rot +- llAxisAngle2Rot +- llEuler2Rot +- llRot2Angle +- llRot2Axis +- llRot2Euler +- llRot2Fwd +- llRot2Left +- llRot2Up +- llRotBetween +region: +- llCloud +- llEdgeOfWorld +- llGetAgentList +- llGetEnv +- llGetRegionAgentCount +- llGetRegionCorner +- llGetRegionDayLength +- llGetRegionDayOffset +- llGetRegionFPS +- llGetRegionFlags +- llGetRegionMoonDirection +- llGetRegionMoonRotation +- llGetRegionName +- llGetRegionSunDirection +- llGetRegionSunRotation +- llGetRegionTimeDilation +- llGetRegionTimeOfDay +- llGetSimStats +- llGetSimulatorHostname +- llGround +- llGroundContour +- llGroundNormal +- llGroundRepel +- llGroundSlope +- llModifyLand +- llRequestSimulatorData +- llSetGroundTexture +- llWater +- llWind +region_appearance: +- llGetRegionMoonDirection +- llGetRegionMoonRotation +- llGetRegionSunDirection +- llGetRegionSunRotation +- llReplaceAgentEnvironment +- llSetAgentEnvironment +rez: +- llDerezObject +- llDie +- llGetStartParameter +- llGetStartString +- llGodLikeRezObject +- llReturnObjectsByID +- llReturnObjectsByOwner +- llRezAtRoot +- llRezObject +- llRezObjectWithParams +script: +- llGetAndResetTime +- llGetEnergy +- llGetFreeMemory +- llGetFreeURLs +- llGetMemoryLimit +- llGetSPMaxMemory +- llGetScriptName +- llGetScriptState +- llGetStartParameter +- llGetStartString +- llGetTime +- llGetUsedMemory +- llMinEventDelay +- llRemoteLoadScript +- llRemoteLoadScriptPin +- llResetOtherScript +- llResetScript +- llResetTime +- llScriptDanger +- llScriptProfiler +- llSetMemoryLimit +- llSetRemoteScriptAccessPin +- llSetScriptState +- llSetTimerEvent +- llSleep +script_communication: +- llCloseRemoteDataChannel +- llGetNextEmail +- llHTTPRequest +- llHTTPResponse +- llListen +- llListenControl +- llListenRemove +- llMessageLinked +- llOpenRemoteDataChannel +- llRegionSay +- llRegionSayTo +- llRemoteDataReply +- llRemoteDataSetRegion +- llRequestSecureURL +- llRequestURL +- llSay +- llSendRemoteData +- llShout +- llWhisper +sensor: +- llCastRay +- llCollisionFilter +- llPassCollisions +- llSensor +- llSensorRemove +- llSensorRepeat +- llVolumeDetect +sit: +- llAvatarOnLinkSitTarget +- llAvatarOnSitTarget +- llGetLinkSitFlags +- llLinkSitTarget +- llSetLinkCamera +- llSetLinkSitFlags +- llSetSitText +- llSitOnLink +- llSitTarget +- llUnSit +sound: +- llAdjustSoundVolume +- llCollisionSound +- llCollisionSprite +- llLinkAdjustSoundVolume +- llLinkPlaySound +- llLinkSetSoundQueueing +- llLinkSetSoundRadius +- llLinkStopSound +- llLoopSound +- llLoopSoundMaster +- llLoopSoundSlave +- llPlaySound +- llPlaySoundSlave +- llPreloadSound +- llSetSoundQueueing +- llSetSoundRadius +- llSound +- llSoundPreload +- llStopSound +- llTriggerSound +- llTriggerSoundLimited +string: +- llChar +- llDeleteSubString +- llGetSubString +- llInsertString +- llOrd +- llReplaceSubString +- llStringLength +- llStringTrim +- llSubStringIndex +- llToLower +- llToUpper +teleport: +- llTeleportAgent +- llTeleportAgentGlobalCoords +- llTeleportAgentHome +time: +- llGetDate +- llGetDayLength +- llGetDayOffset +- llGetGMTclock +- llGetRegionDayLength +- llGetRegionDayOffset +- llGetRegionTimeOfDay +- llGetTimeOfDay +- llGetTimestamp +- llGetUnixTime +- llGetWallclock +- llSetTimerEvent +- llSleep +touch: +- llDetectedGrab +- llDetectedTouchBinormal +- llDetectedTouchFace +- llDetectedTouchNormal +- llDetectedTouchPos +- llDetectedTouchST +- llDetectedTouchUV +- llPassTouches +- llSetClickAction +- llSetTouchText +user_interface: +- llDialog +- llLoadURL +- llMapBeacon +- llMapDestination +- llSetClickAction +- llSetPayPrice +- llSetSitText +- llSetTouchText +- llTextBox +- llWorldPosToHUD +uuid: +- llDetectedKey +- llGenerateKey +- llGetKey +- llGetLinkKey +- llGetObjectLinkKey +- llGetOwner +- llGetOwnerKey +- llRequestUserKey +vector: +- llRot2Axis +- llRot2Fwd +- llRot2Left +- llRot2Up +- llVecDist +- llVecMag +- llVecNorm +vehicles: +- llRemoveVehicleFlags +- llSetVehicleFlags +- llSetVehicleFloatParam +- llSetVehicleRotationParam +- llSetVehicleType +- llSetVehicleVectorParam +web: +- llEscapeURL +- llGetFreeURLs +- llGetHTTPHeader +- llHTTPRequest +- llHTTPResponse +- llLoadURL +- llRefreshPrimURL +- llReleaseURL +- llRequestSecureURL +- llRequestURL +- llSetContentType +- llSetLinkMedia +- llSetPrimMediaParams +- llSetPrimURL +- llUnescapeURL diff --git a/lsl_definitions/generators/experimental.py b/lsl_definitions/generators/experimental.py index 920ee44a..8c13dcac 100644 --- a/lsl_definitions/generators/experimental.py +++ b/lsl_definitions/generators/experimental.py @@ -52,7 +52,9 @@ def gen_category_functions(definitions: LSLDefinitions) -> str: categories = {} for func in sorted(definitions.functions.values(), key=lambda x: x.name): - categories.setdefault(func.name, []).append(func.name) + for category in func.categories: + categories.setdefault(category, []).append(func.name) + categories = {k: categories[k] for k in sorted(categories.keys())} yaml.safe_dump(categories, file, sort_keys=False) return file.getvalue() diff --git a/lsl_definitions/lsl.py b/lsl_definitions/lsl.py index d8ffa8fb..588b780d 100644 --- a/lsl_definitions/lsl.py +++ b/lsl_definitions/lsl.py @@ -345,6 +345,7 @@ class LSLFunction: type_arguments: list[str] arguments: list[LSLArgument] tooltip: str + categories: list[str] private: bool """ Whether or not to include this in the public-facing syntax LLSD. @@ -619,7 +620,8 @@ def _handle_function(self, func_name: str, func_data: dict) -> LSLFunction: self._validate_identifier(func_name) func = LSLFunction( name=func_name, - tooltip=func_data.get("tooltip", ""), + tooltip=func_data["tooltip"], + categories=func_data["categories"], # These do actually need to be floats. energy=float(func_data["energy"] or "0.0"), sleep=float(func_data["sleep"] or "0.0"), From 6f9d1f5582462da5b52d1e63f99a938de824e203 Mon Sep 17 00:00:00 2001 From: tapple Date: Sat, 6 Jun 2026 14:38:51 -0700 Subject: [PATCH 4/8] add some missing categories --- generated/experimental/category_functions.yaml | 2 ++ lsl_definitions.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/generated/experimental/category_functions.yaml b/generated/experimental/category_functions.yaml index 6b07b4a6..d25626d5 100644 --- a/generated/experimental/category_functions.yaml +++ b/generated/experimental/category_functions.yaml @@ -1,5 +1,6 @@ # Functions by category asset_permissions: +- llGetInventoryPermMask - llGetObjectPermMask - llSetInventoryPermMask - llSetObjectPermMask @@ -937,6 +938,7 @@ string: - llToLower - llToUpper teleport: +- llMapDestination - llTeleportAgent - llTeleportAgentGlobalCoords - llTeleportAgentHome diff --git a/lsl_definitions.yaml b/lsl_definitions.yaml index 105b775e..c65a1566 100644 --- a/lsl_definitions.yaml +++ b/lsl_definitions.yaml @@ -8636,6 +8636,7 @@ functions: If item is not in the object's inventory, llGetInventoryPermMask returns FALSE and causes the object to say "No item named ''", where "" is item. categories: + - asset_permissions - prim_inventory llGetInventoryType: arguments: @@ -11836,6 +11837,7 @@ functions: avatar, or during touch events.\nDirection currently has no effect. categories: - avatar_communication + - teleport - user_interface llMessageLinked: arguments: From 323593c8a0a2f72bb9ff64d1f7f270cf3fb2a578 Mon Sep 17 00:00:00 2001 From: tapple Date: Sat, 6 Jun 2026 16:24:41 -0700 Subject: [PATCH 5/8] categorize events --- .../experimental/category_functions.yaml | 84 ++++++++++++ lsl_definitions.schema.json | 13 +- lsl_definitions.yaml | 127 ++++++++++++++++++ lsl_definitions/generators/experimental.py | 4 + lsl_definitions/lsl.py | 15 ++- 5 files changed, 232 insertions(+), 11 deletions(-) diff --git a/generated/experimental/category_functions.yaml b/generated/experimental/category_functions.yaml index d25626d5..02b1abfe 100644 --- a/generated/experimental/category_functions.yaml +++ b/generated/experimental/category_functions.yaml @@ -1,11 +1,13 @@ # Functions by category asset_permissions: +- changed - llGetInventoryPermMask - llGetObjectPermMask - llSetInventoryPermMask - llSetObjectPermMask - llTransferOwnership attachments: +- attach - llAttachToAvatar - llAttachToAvatarTemp - llDetachFromAvatar @@ -13,6 +15,10 @@ attachments: - llGetAttachedList - llGetAttachedListFiltered avatar: +- control +- experience_permissions +- experience_permissions_denied +- game_control - llAgentInExperience - llAttachToAvatar - llAttachToAvatarTemp @@ -71,6 +77,8 @@ avatar_animation: - llStartAnimation - llStopAnimation avatar_communication: +- email +- listen - llDialog - llEmail - llInstantMessage @@ -108,6 +116,7 @@ camera: - llTakeCamera - llWorldPosToHUD chat: +- listen - llDialog - llListen - llListenControl @@ -119,6 +128,9 @@ chat: - llTextBox - llWhisper combat: +- final_damage +- on_damage +- on_death - llAdjustDamage - llDamage - llDetectedDamage @@ -160,6 +172,7 @@ data_conversion: - llXorBase64Strings - llXorBase64StringsCorrect data_storage: +- linkset_data - llCreateKeyValue - llDataSizeKeyValue - llDeleteKeyValue @@ -186,6 +199,7 @@ data_storage: - llReadKeyValue - llUpdateKeyValue dataserver: +- dataserver - llCreateKeyValue - llDataSizeKeyValue - llDeleteKeyValue @@ -203,6 +217,16 @@ dataserver: - llRequestUsername - llUpdateKeyValue detected: +- collision +- collision_end +- collision_start +- final_damage +- no_sensor +- on_damage +- sensor +- touch +- touch_end +- touch_start - llAdjustDamage - llDetectedDamage - llDetectedGrab @@ -234,6 +258,8 @@ effects: - llSetText - llSetTextureAnim experience: +- experience_permissions +- experience_permissions_denied - llAgentInExperience - llClearExperience - llClearExperiencePermissions @@ -261,6 +287,8 @@ experience_data: - llReadKeyValue - llUpdateKeyValue input: +- control +- game_control - llReleaseControls - llSetClickAction - llTakeControls @@ -283,6 +311,8 @@ land_moderation: - llReturnObjectsByOwner - llTeleportAgentHome linkset: +- changed +- linkset_data - llAvatarOnLinkSitTarget - llBreakAllLinks - llBreakLink @@ -333,6 +363,7 @@ linkset: - llSetObjectPermMask - llSetStatus linkset_data: +- linkset_data - llLinksetDataAvailable - llLinksetDataCountFound - llLinksetDataCountKeys @@ -437,6 +468,7 @@ math_trig: - llSin - llTan media: +- changed - llClearLinkMedia - llClearPrimMedia - llGetLinkMedia @@ -454,11 +486,19 @@ media: - llSetPrimMediaParams - llSetPrimURL money: +- money +- transaction_result - llGiveMoney - llSetClickAction - llSetPayPrice - llTransferLindenDollars movement: +- at_rot_target +- at_target +- moving_end +- moving_start +- not_at_rot_target +- not_at_target - llApplyImpulse - llApplyRotationalImpulse - llGetOmega @@ -557,6 +597,9 @@ particles: - llLinkParticleSystem - llParticleSystem pathfinding: +- moving_end +- moving_start +- path_update - llCreateCharacter - llDeleteCharacter - llEvade @@ -570,6 +613,9 @@ pathfinding: - llUpdateCharacter - llWanderWithin permissions: +- experience_permissions +- experience_permissions_denied +- run_time_permissions - llClearCameraParams - llForceMouselook - llGetAnimation @@ -598,6 +644,12 @@ permissions: - llTransferLindenDollars - llWorldPosToHUD physics: +- collision +- collision_end +- collision_start +- land_collision +- land_collision_end +- land_collision_start - llApplyImpulse - llApplyRotationalImpulse - llCastRay @@ -688,6 +740,7 @@ prim: - llSetTextureAnim - llSitTarget prim_appearance: +- changed - llGetAlpha - llGetColor - llGetLinkNumberOfSides @@ -725,6 +778,7 @@ prim_appearance: - llSetTextureAnim - llsRGB2Linear prim_inventory: +- changed - llAllowInventoryDrop - llDerezObject - llGetInventoryAcquireTime @@ -752,6 +806,7 @@ prim_inventory: - llSetRemoteScriptAccessPin - llSetScriptState prim_media: +- changed - llClearLinkMedia - llClearPrimMedia - llGetLinkMedia @@ -791,6 +846,7 @@ quaternion: - llRot2Up - llRotBetween region: +- changed - llCloud - llEdgeOfWorld - llGetAgentList @@ -828,6 +884,8 @@ region_appearance: - llReplaceAgentEnvironment - llSetAgentEnvironment rez: +- object_rez +- on_rez - llDerezObject - llDie - llGetStartParameter @@ -839,6 +897,11 @@ rez: - llRezObject - llRezObjectWithParams script: +- changed +- on_rez +- state_entry +- state_exit +- timer - llGetAndResetTime - llGetEnergy - llGetFreeMemory @@ -865,6 +928,11 @@ script: - llSetTimerEvent - llSleep script_communication: +- http_request +- http_response +- link_message +- listen +- remote_data - llCloseRemoteDataChannel - llGetNextEmail - llHTTPRequest @@ -885,6 +953,11 @@ script_communication: - llShout - llWhisper sensor: +- collision +- collision_end +- collision_start +- no_sensor +- sensor - llCastRay - llCollisionFilter - llPassCollisions @@ -893,6 +966,7 @@ sensor: - llSensorRepeat - llVolumeDetect sit: +- changed - llAvatarOnLinkSitTarget - llAvatarOnSitTarget - llGetLinkSitFlags @@ -938,11 +1012,13 @@ string: - llToLower - llToUpper teleport: +- changed - llMapDestination - llTeleportAgent - llTeleportAgentGlobalCoords - llTeleportAgentHome time: +- timer - llGetDate - llGetDayLength - llGetDayOffset @@ -957,6 +1033,9 @@ time: - llSetTimerEvent - llSleep touch: +- touch +- touch_end +- touch_start - llDetectedGrab - llDetectedTouchBinormal - llDetectedTouchFace @@ -968,6 +1047,9 @@ touch: - llSetClickAction - llSetTouchText user_interface: +- touch +- touch_end +- touch_start - llDialog - llLoadURL - llMapBeacon @@ -1003,6 +1085,8 @@ vehicles: - llSetVehicleType - llSetVehicleVectorParam web: +- http_request +- http_response - llEscapeURL - llGetFreeURLs - llGetHTTPHeader diff --git a/lsl_definitions.schema.json b/lsl_definitions.schema.json index 549ab50f..7a50dcfc 100644 --- a/lsl_definitions.schema.json +++ b/lsl_definitions.schema.json @@ -307,8 +307,13 @@ "tooltip": { "markdownDescription": "A brief description of this event.", "type": "string" - } - } + }, + "categories": { "$ref": "#/$defs/functionCategories" } + }, + "required": [ + "tooltip", + "categories" + ] } }, "type": "object" @@ -496,9 +501,7 @@ "markdownDescription": "A brief description of this function.", "type": "string" }, - "categories": { - "$ref": "#/$defs/functionCategories" - } + "categories": { "$ref": "#/$defs/functionCategories" } }, "required": [ "tooltip", diff --git a/lsl_definitions.yaml b/lsl_definitions.yaml index c65a1566..7d4798e7 100644 --- a/lsl_definitions.yaml +++ b/lsl_definitions.yaml @@ -5964,6 +5964,8 @@ events: type: rotation tooltip: This event is triggered when a script comes within a defined angle of a target rotation. The range and rotation are set by a call to llRotTarget. + categories: + - movement at_target: arguments: - TargetNumber: @@ -5977,6 +5979,8 @@ events: type: vector tooltip: This event is triggered when the scripted object comes within a defined range of the target position, defined by the llTarget function call. + categories: + - movement attach: arguments: - AvatarID: @@ -5985,6 +5989,8 @@ events: tooltip: This event is triggered whenever an object is attached or detached from an avatar. If it is attached, the key of the avatar it is attached to is passed in, otherwise NULL_KEY is. + categories: + - attachments changed: arguments: - Changed: @@ -5992,6 +5998,17 @@ events: type: integer tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + categories: + - asset_permissions + - linkset + - media + - prim_appearance + - prim_inventory + - prim_media + - region + - teleport + - script # TODO: move all but "script" to the constants + - sit collision: arguments: - NumberOfCollisions: @@ -6002,6 +6019,10 @@ events: \ the object the script is attached to.\n\t\t\tThe number of detected objects\ \ is passed to the script. Information on those objects may be gathered via\ \ the llDetected* functions." + categories: + - detected + - physics + - sensor collision_end: arguments: - NumberOfCollisions: @@ -6012,6 +6033,10 @@ events: \ with the object the script is attached to.\n\t\t\tThe number of detected objects\ \ is passed to the script. Information on those objects may be gathered via\ \ the llDetected* library functions." + categories: + - detected + - physics + - sensor collision_start: arguments: - NumberOfCollisions: @@ -6022,6 +6047,10 @@ events: \ with the object the script is attached to.\n\t\t\tThe number of detected objects\ \ is passed to the script. Information on those objects may be gathered via\ \ the llDetected* library functions." + categories: + - detected + - physics + - sensor control: arguments: - AvatarID: @@ -6036,6 +6065,9 @@ events: tooltip: "Once a script has the ability to grab control inputs from the avatar,\ \ this event will be used to pass the commands into the script.\n\t\t\tThe levels\ \ and edges are bit-fields of control constants." + categories: + - avatar + - input dataserver: arguments: - RequestID: @@ -6047,6 +6079,8 @@ events: tooltip: "This event is triggered when the requested data is returned to the script.\n\ \t\t\tData may be requested by the llRequestAgentData, llRequestInventoryData,\ \ and llGetNotecardLine function calls, for example." + categories: + - dataserver email: arguments: - Time: @@ -6067,12 +6101,18 @@ events: tooltip: "This event is triggered when an email sent to this script arrives.\n\ \t\t\tThe number remaining tells how many more emails are known to be still\ \ pending." + categories: + - avatar_communication experience_permissions: arguments: - agent_id: tooltip: ID of the agent approving permission for the Experience. type: key tooltip: Triggered when an agent has approved an experience permissions request. + categories: + - avatar + - experience + - permissions experience_permissions_denied: arguments: - agent_id: @@ -6083,6 +6123,10 @@ events: permissions were denied for the agent. type: integer tooltip: Describes why the Experience permissions were denied for the agent. + categories: + - avatar + - experience + - permissions final_damage: arguments: - count: @@ -6091,6 +6135,9 @@ events: detected-semantics: true tooltip: Triggered as damage is applied to an avatar or task, after all on_damage events have been processed. + categories: + - combat + - detected game_control: arguments: - id: @@ -6104,6 +6151,9 @@ events: type: list slua-type: "{number}" tooltip: This event is raised when game controller input changes. + categories: + - avatar + - input http_request: arguments: - HTTPRequestID: @@ -6116,6 +6166,9 @@ events: tooltip: '' type: string tooltip: Triggered when task receives an HTTP request. + categories: + - script_communication + - web http_response: arguments: - HTTPRequestID: @@ -6132,6 +6185,9 @@ events: type: string tooltip: This event handler is invoked when an HTTP response is received for a pending llHTTPRequest request or if a pending request fails or times out. + categories: + - script_communication + - web land_collision: arguments: - Position: @@ -6139,6 +6195,8 @@ events: type: vector tooltip: This event is raised when the object the script is attached to is colliding with the ground. + categories: + - physics land_collision_end: arguments: - Position: @@ -6146,6 +6204,8 @@ events: type: vector tooltip: This event is raised when the object the script is attached to stops colliding with the ground. + categories: + - physics land_collision_start: arguments: - Position: @@ -6153,6 +6213,8 @@ events: type: vector tooltip: This event is raised when the object the script is attached to begins to collide with the ground. + categories: + - physics link_message: arguments: - SendersLink: @@ -6170,6 +6232,8 @@ events: slua-type: string tooltip: Triggered when object receives a link message via llMessageLinked function call. + categories: + - script_communication linkset_data: arguments: - action: @@ -6182,6 +6246,10 @@ events: tooltip: '' type: string tooltip: Triggered when a script modifies the linkset datastore. + categories: + - data_storage + - linkset + - linkset_data listen: arguments: - Channel: @@ -6202,6 +6270,10 @@ events: \ public chat channel that all avatars see as chat text. Channels 1 through\ \ 2,147,483,648 are private channels that are not sent to avatars but other\ \ scripts can listen on those channels." + categories: + - avatar_communication + - chat + - script_communication money: arguments: - Payer: @@ -6212,24 +6284,39 @@ events: type: integer tooltip: This event is triggered when a resident has given an amount of Linden dollars to the object. + categories: + - money moving_end: arguments: [] tooltip: Triggered whenever an object with this script stops moving. + categories: + - movement + - pathfinding moving_start: arguments: [] tooltip: Triggered whenever an object with this script starts moving. + categories: + - movement + - pathfinding no_sensor: arguments: [] tooltip: This event is raised when sensors are active, via the llSensor function call, but are not sensing anything. + categories: + - detected + - sensor not_at_rot_target: arguments: [] tooltip: When a target is set via the llRotTarget function call, but the script is outside the specified angle this event is raised. + categories: + - movement not_at_target: arguments: [] tooltip: When a target is set via the llTarget library call, but the script is outside the specified range this event is raised. + categories: + - movement object_rez: arguments: - RezzedObjectsID: @@ -6238,6 +6325,8 @@ events: tooltip: Triggered when an object rezzes another object from its inventory via the llRezObject, or similar, functions. The id is the globally unique key for the object rezzed. + categories: + - rez on_damage: arguments: - count: @@ -6245,9 +6334,14 @@ events: type: integer detected-semantics: true tooltip: Triggered when an avatar or object receives damage. + categories: + - combat + - detected on_death: arguments: [] tooltip: Triggered when an avatar reaches 0 health. + categories: + - combat on_rez: arguments: - StartParameter: @@ -6256,6 +6350,9 @@ events: tooltip: Triggered whenever an object is rezzed from inventory or by another object. The start parameter is passed in from the llRezObject call, or zero if from inventory. + categories: + - rez + - script path_update: arguments: - Type: @@ -6266,6 +6363,8 @@ events: type: list tooltip: This event is called to inform the script of changes within the object's path-finding status. + categories: + - pathfinding remote_data: arguments: - EventType: @@ -6288,6 +6387,8 @@ events: type: string deprecated: true tooltip: This event is deprecated. + categories: + - script_communication run_time_permissions: arguments: - PermissionFlags: @@ -6300,6 +6401,8 @@ events: \ these permissions and the various permissions integer constants can be supplied.\n\ \t\t\tThe integer returned to this event handler contains the current set of\ \ permissions flags, so if permissions equal 0 then no permissions are set." + categories: + - permissions sensor: arguments: - NumberDetected: @@ -6310,22 +6413,32 @@ events: \ llSensor command are detected.\n\t\t\tThe number of detected objects is passed\ \ to the script in the parameter. Information on those objects may be gathered\ \ via the llDetected* functions." + categories: + - detected + - sensor state_entry: arguments: [] tooltip: The state_entry event occurs whenever a new state is entered, including at program start, and is always the first event handled. slua-removed: true + categories: + - script state_exit: arguments: [] slua-removed: true tooltip: The state_exit event occurs whenever the state command is used to transition to another state. It is handled before the new states state_entry event. + categories: + - script timer: arguments: [] slua-deprecated: use: LLTimers tooltip: This event is raised at regular intervals set by the llSetTimerEvent library function. + categories: + - script + - time touch: arguments: - NumberOfTouches: @@ -6336,6 +6449,10 @@ events: \ is attached to.\n\t\t\tThe number of touching objects is passed to the script\ \ in the parameter.\n\t\t\tInformation on those objects may be gathered via\ \ the llDetected* library functions." + categories: + - detected + - touch + - user_interface touch_end: arguments: - NumberOfTouches: @@ -6346,6 +6463,10 @@ events: \ is attached to. The number of touches is passed to the script in the parameter.\n\ \t\t\tInformation on those objects may be gathered via the llDetected* library\ \ functions." + categories: + - detected + - touch + - user_interface touch_start: arguments: - NumberOfTouches: @@ -6356,6 +6477,10 @@ events: \ is attached to. The number of touches is passed to the script in the parameter.\n\ \t\t\tInformation on those objects may be gathered via the llDetected() library\ \ functions." + categories: + - detected + - touch + - user_interface transaction_result: arguments: - RequestID: @@ -6369,6 +6494,8 @@ events: tooltip: '' type: string tooltip: Triggered by llTransferLindenDollars() function. + categories: + - money functions: # : is the LSL name for the function. diff --git a/lsl_definitions/generators/experimental.py b/lsl_definitions/generators/experimental.py index 8c13dcac..16ab22b7 100644 --- a/lsl_definitions/generators/experimental.py +++ b/lsl_definitions/generators/experimental.py @@ -51,6 +51,10 @@ def gen_category_functions(definitions: LSLDefinitions) -> str: file.write("# Functions by category\n") categories = {} + for event in sorted(definitions.events.values(), key=lambda x: x.name): + for category in event.categories: + categories.setdefault(category, []).append(event.name) + for func in sorted(definitions.functions.values(), key=lambda x: x.name): for category in func.categories: categories.setdefault(category, []).append(func.name) diff --git a/lsl_definitions/lsl.py b/lsl_definitions/lsl.py index 588b780d..46aaa3ec 100644 --- a/lsl_definitions/lsl.py +++ b/lsl_definitions/lsl.py @@ -2,6 +2,7 @@ from __future__ import annotations +import abc import ast import dataclasses import re @@ -271,10 +272,15 @@ def compute_slua_type(self, event: bool = False) -> str: @dataclasses.dataclass -class LSLEvent: +class LSLFunctionBase(abc.ABC): name: str arguments: list[LSLArgument] tooltip: str + categories: list[str] + + +@dataclasses.dataclass +class LSLEvent(LSLFunctionBase): private: bool deprecated: Deprecated | None slua_deprecated: Deprecated | None @@ -331,8 +337,7 @@ def to_slua_dict(self, slua: SLuaDefinitions) -> dict: @dataclasses.dataclass -class LSLFunction: - name: str +class LSLFunction(LSLFunctionBase): energy: float sleep: float ret_type: LSLType @@ -343,9 +348,6 @@ class LSLFunction: asset_semantics: bool detected_semantics: bool type_arguments: list[str] - arguments: list[LSLArgument] - tooltip: str - categories: list[str] private: bool """ Whether or not to include this in the public-facing syntax LLSD. @@ -598,6 +600,7 @@ def _handle_event(self, event_name: str, event_data: dict) -> LSLEvent: event = LSLEvent( name=event_name, tooltip=event_data.get("tooltip", ""), + categories=event_data["categories"], arguments=[ self._handle_argument(event_name, arg) for arg in (event_data.get("arguments") or []) From 04f44b426d2b01547dbc6eda269c3619e09aeb66 Mon Sep 17 00:00:00 2001 From: tapple Date: Sat, 6 Jun 2026 16:48:03 -0700 Subject: [PATCH 6/8] add function signatures to output --- .../experimental/category_functions.yaml | 2082 ++++++++--------- lsl_definitions/generators/builtins_txt.py | 6 +- lsl_definitions/generators/experimental.py | 29 +- lsl_definitions/lsl.py | 4 + 4 files changed, 1065 insertions(+), 1056 deletions(-) diff --git a/generated/experimental/category_functions.yaml b/generated/experimental/category_functions.yaml index 02b1abfe..b3953a59 100644 --- a/generated/experimental/category_functions.yaml +++ b/generated/experimental/category_functions.yaml @@ -1,1104 +1,1104 @@ # Functions by category asset_permissions: -- changed -- llGetInventoryPermMask -- llGetObjectPermMask -- llSetInventoryPermMask -- llSetObjectPermMask -- llTransferOwnership +- changed( integer Changed ) +- llGetInventoryPermMask( string InventoryItem, integer BitMask ) -> integer +- llGetObjectPermMask( integer Category ) -> integer +- llSetInventoryPermMask( string InventoryItem, integer PermissionFlag, integer PermissionMask ) -> void +- llSetObjectPermMask( integer PermissionFlag, integer PermissionMask ) -> void +- llTransferOwnership( key AgentID, integer Flags, list Params ) -> integer attachments: -- attach -- llAttachToAvatar -- llAttachToAvatarTemp -- llDetachFromAvatar -- llGetAttached -- llGetAttachedList -- llGetAttachedListFiltered +- attach( key AvatarID ) +- llAttachToAvatar( integer AttachmentPoint ) -> void +- llAttachToAvatarTemp( integer AttachPoint ) -> void +- llDetachFromAvatar( ) -> void +- llGetAttached( ) -> integer +- llGetAttachedList( key ID ) -> list +- llGetAttachedListFiltered( key AgentID, list Options ) -> list avatar: -- control -- experience_permissions -- experience_permissions_denied -- game_control -- llAgentInExperience -- llAttachToAvatar -- llAttachToAvatarTemp -- llAvatarOnLinkSitTarget -- llAvatarOnSitTarget -- llClearCameraParams -- llDetachFromAvatar -- llDetectedOwner -- llForceMouselook -- llGetAgentInfo -- llGetAgentLanguage -- llGetAgentList -- llGetAgentSize -- llGetAnimation -- llGetAnimationList -- llGetAnimationOverride -- llGetAttachedList -- llGetAttachedListFiltered -- llGetCameraAspect -- llGetCameraFOV -- llGetCameraPos -- llGetCameraRot -- llGetDisplayName -- llGetPermissionsKey -- llGetUsername -- llGetVisualParams -- llGiveMoney -- llIsFriend -- llName2Key -- llReleaseCamera -- llReleaseControls -- llReplaceAgentEnvironment -- llRequestAgentData -- llRequestDisplayName -- llRequestExperiencePermissions -- llRequestUserKey -- llRequestUsername -- llSetAgentEnvironment -- llSetAgentRot -- llSetCameraParams -- llStartAnimation -- llStopAnimation -- llTakeCamera -- llTakeControls -- llTeleportAgent -- llTeleportAgentGlobalCoords -- llTeleportAgentHome -- llUnSit -- llWorldPosToHUD +- control( key AvatarID, integer Levels, integer Edges ) +- experience_permissions( key agent_id ) +- experience_permissions_denied( key agent_id, integer Reason ) +- game_control( key id, integer buttons, list axes ) +- llAgentInExperience( key AgentID ) -> integer +- llAttachToAvatar( integer AttachmentPoint ) -> void +- llAttachToAvatarTemp( integer AttachPoint ) -> void +- llAvatarOnLinkSitTarget( integer LinkNumber ) -> key +- llAvatarOnSitTarget( ) -> key +- llClearCameraParams( ) -> void +- llDetachFromAvatar( ) -> void +- llDetectedOwner( integer Number ) -> key +- llForceMouselook( integer Enable ) -> void +- llGetAgentInfo( key AvatarID ) -> integer +- llGetAgentLanguage( key AvatarID ) -> string +- llGetAgentList( integer Scope, list Options ) -> list +- llGetAgentSize( key AvatarID ) -> vector +- llGetAnimation( key AvatarID ) -> string +- llGetAnimationList( key AvatarID ) -> list +- llGetAnimationOverride( string AnimationState ) -> string +- llGetAttachedList( key ID ) -> list +- llGetAttachedListFiltered( key AgentID, list Options ) -> list +- llGetCameraAspect( ) -> float +- llGetCameraFOV( ) -> float +- llGetCameraPos( ) -> vector +- llGetCameraRot( ) -> rotation +- llGetDisplayName( key AvatarID ) -> string +- llGetPermissionsKey( ) -> key +- llGetUsername( key AvatarID ) -> string +- llGetVisualParams( key ID, list Parameters ) -> list +- llGiveMoney( key AvatarID, integer Amount ) -> integer +- llIsFriend( key agent_id ) -> integer +- llName2Key( string Name ) -> key +- llReleaseCamera( key AvatarID ) -> void // deprecated +- llReleaseControls( ) -> void +- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer +- llRequestAgentData( key AvatarID, integer Data ) -> key +- llRequestDisplayName( key AvatarID ) -> key +- llRequestExperiencePermissions( key AgentID, string unused ) -> void +- llRequestUserKey( string Name ) -> key +- llRequestUsername( key AvatarID ) -> key +- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer +- llSetAgentRot( rotation rot, integer flags ) -> void +- llSetCameraParams( list Parameters ) -> void +- llStartAnimation( string Animation ) -> void +- llStopAnimation( string Animation ) -> void +- llTakeCamera( key AvatarID ) -> void // deprecated +- llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void +- llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void +- llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void +- llTeleportAgentHome( key AvatarID ) -> void +- llUnSit( key AvatarID ) -> void +- llWorldPosToHUD( vector world_pos ) -> vector avatar_animation: -- llGetAnimation -- llGetAnimationList -- llGetAnimationOverride -- llResetAnimationOverride -- llSetAnimationOverride -- llStartAnimation -- llStopAnimation +- llGetAnimation( key AvatarID ) -> string +- llGetAnimationList( key AvatarID ) -> list +- llGetAnimationOverride( string AnimationState ) -> string +- llResetAnimationOverride( string AnimationState ) -> void +- llSetAnimationOverride( string AnimationState, string AnimationName ) -> void +- llStartAnimation( string Animation ) -> void +- llStopAnimation( string Animation ) -> void avatar_communication: -- email -- listen -- llDialog -- llEmail -- llInstantMessage -- llListen -- llListenControl -- llListenRemove -- llLoadURL -- llMapBeacon -- llMapDestination -- llOpenFloater -- llOwnerSay -- llRegionSayTo -- llSay -- llSetText -- llShout -- llTargetedEmail -- llTextBox -- llWhisper +- email( string Time, string Address, string Subject, string Body, integer NumberRemaining ) +- listen( integer Channel, string Name, key ID, string Text ) +- llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void +- llEmail( string Address, string Subject, string Text ) -> void +- llInstantMessage( key AvatarID, string Text ) -> void +- llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer +- llListenControl( integer ChannelHandle, integer Active ) -> void +- llListenRemove( integer ChannelHandle ) -> void +- llLoadURL( key AvatarID, string Text, string URL ) -> void +- llMapBeacon( string RegionName, vector Position, list Options ) -> void +- llMapDestination( string RegionName, vector Position, vector Direction ) -> void +- llOpenFloater( string floater_name, string url, list params ) -> integer +- llOwnerSay( string Text ) -> void +- llRegionSayTo( key TargetID, integer Channel, string Text ) -> void +- llSay( integer Channel, string Text ) -> void +- llSetText( string Text, vector Color, float Opacity ) -> void +- llShout( integer Channel, string Text ) -> void +- llTargetedEmail( integer Target, string Subject, string Text ) -> void +- llTextBox( key AvatarID, string Text, integer Channel ) -> void +- llWhisper( integer Channel, string Text ) -> void avatar_inventory: -- llGiveAgentInventory -- llGiveInventory -- llGiveInventoryList +- llGiveAgentInventory( key AgentID, string FolderName, list InventoryItems, list Options ) -> integer +- llGiveInventory( key TargetID, string InventoryItem ) -> void +- llGiveInventoryList( key TargetID, string FolderName, list InventoryItems ) -> void camera: -- llClearCameraParams -- llForceMouselook -- llGetCameraAspect -- llGetCameraFOV -- llGetCameraPos -- llGetCameraRot -- llReleaseCamera -- llSetCameraAtOffset -- llSetCameraEyeOffset -- llSetCameraParams -- llSetLinkCamera -- llTakeCamera -- llWorldPosToHUD +- llClearCameraParams( ) -> void +- llForceMouselook( integer Enable ) -> void +- llGetCameraAspect( ) -> float +- llGetCameraFOV( ) -> float +- llGetCameraPos( ) -> vector +- llGetCameraRot( ) -> rotation +- llReleaseCamera( key AvatarID ) -> void // deprecated +- llSetCameraAtOffset( vector Offset ) -> void +- llSetCameraEyeOffset( vector Offset ) -> void +- llSetCameraParams( list Parameters ) -> void +- llSetLinkCamera( integer LinkNumber, vector EyeOffset, vector LookOffset ) -> void +- llTakeCamera( key AvatarID ) -> void // deprecated +- llWorldPosToHUD( vector world_pos ) -> vector chat: -- listen -- llDialog -- llListen -- llListenControl -- llListenRemove -- llRegionSay -- llRegionSayTo -- llSay -- llShout -- llTextBox -- llWhisper +- listen( integer Channel, string Name, key ID, string Text ) +- llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void +- llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer +- llListenControl( integer ChannelHandle, integer Active ) -> void +- llListenRemove( integer ChannelHandle ) -> void +- llRegionSay( integer Channel, string Text ) -> void +- llRegionSayTo( key TargetID, integer Channel, string Text ) -> void +- llSay( integer Channel, string Text ) -> void +- llShout( integer Channel, string Text ) -> void +- llTextBox( key AvatarID, string Text, integer Channel ) -> void +- llWhisper( integer Channel, string Text ) -> void combat: -- final_damage -- on_damage -- on_death -- llAdjustDamage -- llDamage -- llDetectedDamage -- llGetHealth -- llRezObjectWithParams -- llSetDamage +- final_damage( integer count ) +- on_damage( integer count ) +- on_death( ) +- llAdjustDamage( integer Number, float Damage ) -> void +- llDamage( key target, float damage, integer type ) -> void +- llDetectedDamage( integer Number ) -> list +- llGetHealth( key ID ) -> float +- llRezObjectWithParams( string InventoryItem, list Params ) -> key +- llSetDamage( float Damage ) -> void cryptography: -- llComputeHash -- llHMAC -- llHash -- llMD5String -- llSHA1String -- llSHA256String -- llSignRSA -- llVerifyRSA +- llComputeHash( string Message, string Algorithm ) -> string +- llHMAC( string Key, string Message, string Algorithm ) -> string +- llHash( string value ) -> integer +- llMD5String( string Text, integer Nonce ) -> string +- llSHA1String( string Text ) -> string +- llSHA256String( string text ) -> string +- llSignRSA( string PrivateKey, string Message, string Algorithm ) -> string +- llVerifyRSA( string PublicKey, string Message, string Signature, string Algorithm ) -> integer data_conversion: -- llBase64ToInteger -- llBase64ToString -- llCSV2List -- llDumpList2String -- llIntegerToBase64 -- llJson2List -- llJsonGetValue -- llJsonSetValue -- llJsonValueType -- llLinear2sRGB -- llList2CSV -- llList2Float -- llList2Integer -- llList2Json -- llList2Key -- llList2Rot -- llList2String -- llList2Vector -- llParseString2List -- llParseStringKeepNulls -- llStringToBase64 -- llXorBase64 -- llXorBase64Strings -- llXorBase64StringsCorrect +- llBase64ToInteger( string Text ) -> integer +- llBase64ToString( string Text ) -> string +- llCSV2List( string Text ) -> list +- llDumpList2String( list Source, string Separator ) -> string +- llIntegerToBase64( integer Value ) -> string +- llJson2List( string JSON ) -> list +- llJsonGetValue( string JSON, list Specifiers ) -> string +- llJsonSetValue( string JSON, list Specifiers, string Value ) -> string +- llJsonValueType( string JSON, list Specifiers ) -> string +- llLinear2sRGB( vector color ) -> vector +- llList2CSV( list ListVariable ) -> string +- llList2Float( list ListVariable, integer Index ) -> float +- llList2Integer( list ListVariable, integer Index ) -> integer +- llList2Json( string JsonType, list Values ) -> string +- llList2Key( list ListVariable, integer Index ) -> key +- llList2Rot( list ListVariable, integer Index ) -> rotation +- llList2String( list ListVariable, integer Index ) -> string +- llList2Vector( list ListVariable, integer Index ) -> vector +- llParseString2List( string Text, list Separators, list Spacers ) -> list +- llParseStringKeepNulls( string Text, list Separators, list Spacers ) -> list +- llStringToBase64( string Text ) -> string +- llXorBase64( string Text1, string Text2 ) -> string +- llXorBase64Strings( string Text1, string Text2 ) -> string // deprecated +- llXorBase64StringsCorrect( string Text1, string Text2 ) -> string // deprecated data_storage: -- linkset_data -- llCreateKeyValue -- llDataSizeKeyValue -- llDeleteKeyValue -- llFindNotecardTextCount -- llFindNotecardTextSync -- llGetNotecardLine -- llGetNotecardLineSync -- llGetNumberOfNotecardLines -- llKeyCountKeyValue -- llKeysKeyValue -- llLinksetDataAvailable -- llLinksetDataCountFound -- llLinksetDataCountKeys -- llLinksetDataDelete -- llLinksetDataDeleteFound -- llLinksetDataDeleteProtected -- llLinksetDataFindKeys -- llLinksetDataListKeys -- llLinksetDataRead -- llLinksetDataReadProtected -- llLinksetDataReset -- llLinksetDataWrite -- llLinksetDataWriteProtected -- llReadKeyValue -- llUpdateKeyValue +- linkset_data( integer action, string name, string value ) +- llCreateKeyValue( string Key, string Value ) -> key +- llDataSizeKeyValue( ) -> key +- llDeleteKeyValue( string Key ) -> key +- llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key +- llFindNotecardTextSync( string NotecardName, string Pattern, integer StartMatch, integer Count, list Options ) -> list +- llGetNotecardLine( string NotecardName, integer LineNumber ) -> key +- llGetNotecardLineSync( string NotecardName, integer LineNumber ) -> string +- llGetNumberOfNotecardLines( string NotecardName ) -> key +- llKeyCountKeyValue( ) -> key +- llKeysKeyValue( integer First, integer Count ) -> key +- llLinksetDataAvailable( ) -> integer +- llLinksetDataCountFound( string search ) -> integer +- llLinksetDataCountKeys( ) -> integer +- llLinksetDataDelete( string name ) -> integer +- llLinksetDataDeleteFound( string search, string pass ) -> list +- llLinksetDataDeleteProtected( string name, string pass ) -> integer +- llLinksetDataFindKeys( string search, integer start, integer count ) -> list +- llLinksetDataListKeys( integer start, integer count ) -> list +- llLinksetDataRead( string name ) -> string +- llLinksetDataReadProtected( string name, string pass ) -> string +- llLinksetDataReset( ) -> void +- llLinksetDataWrite( string name, string value ) -> integer +- llLinksetDataWriteProtected( string name, string value, string pass ) -> integer +- llReadKeyValue( string Key ) -> key +- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key dataserver: -- dataserver -- llCreateKeyValue -- llDataSizeKeyValue -- llDeleteKeyValue -- llFindNotecardTextCount -- llGetNotecardLine -- llGetNumberOfNotecardLines -- llKeyCountKeyValue -- llKeysKeyValue -- llReadKeyValue -- llRequestAgentData -- llRequestDisplayName -- llRequestInventoryData -- llRequestSimulatorData -- llRequestUserKey -- llRequestUsername -- llUpdateKeyValue +- dataserver( key RequestID, string Data ) +- llCreateKeyValue( string Key, string Value ) -> key +- llDataSizeKeyValue( ) -> key +- llDeleteKeyValue( string Key ) -> key +- llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key +- llGetNotecardLine( string NotecardName, integer LineNumber ) -> key +- llGetNumberOfNotecardLines( string NotecardName ) -> key +- llKeyCountKeyValue( ) -> key +- llKeysKeyValue( integer First, integer Count ) -> key +- llReadKeyValue( string Key ) -> key +- llRequestAgentData( key AvatarID, integer Data ) -> key +- llRequestDisplayName( key AvatarID ) -> key +- llRequestInventoryData( string InventoryItem ) -> key +- llRequestSimulatorData( string RegionName, integer Data ) -> key +- llRequestUserKey( string Name ) -> key +- llRequestUsername( key AvatarID ) -> key +- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key detected: -- collision -- collision_end -- collision_start -- final_damage -- no_sensor -- on_damage -- sensor -- touch -- touch_end -- touch_start -- llAdjustDamage -- llDetectedDamage -- llDetectedGrab -- llDetectedGroup -- llDetectedKey -- llDetectedLinkNumber -- llDetectedName -- llDetectedOwner -- llDetectedPos -- llDetectedRezzer -- llDetectedRot -- llDetectedTouchBinormal -- llDetectedTouchFace -- llDetectedTouchNormal -- llDetectedTouchPos -- llDetectedTouchST -- llDetectedTouchUV -- llDetectedType -- llDetectedVel +- collision( integer NumberOfCollisions ) +- collision_end( integer NumberOfCollisions ) +- collision_start( integer NumberOfCollisions ) +- final_damage( integer count ) +- no_sensor( ) +- on_damage( integer count ) +- sensor( integer NumberDetected ) +- touch( integer NumberOfTouches ) +- touch_end( integer NumberOfTouches ) +- touch_start( integer NumberOfTouches ) +- llAdjustDamage( integer Number, float Damage ) -> void +- llDetectedDamage( integer Number ) -> list +- llDetectedGrab( integer Number ) -> vector +- llDetectedGroup( integer Number ) -> integer +- llDetectedKey( integer Number ) -> key +- llDetectedLinkNumber( integer Number ) -> integer +- llDetectedName( integer Number ) -> string +- llDetectedOwner( integer Number ) -> key +- llDetectedPos( integer Number ) -> vector +- llDetectedRezzer( integer Number ) -> key +- llDetectedRot( integer Number ) -> rotation +- llDetectedTouchBinormal( integer Index ) -> vector +- llDetectedTouchFace( integer Index ) -> integer +- llDetectedTouchNormal( integer Index ) -> vector +- llDetectedTouchPos( integer Index ) -> vector +- llDetectedTouchST( integer Index ) -> vector +- llDetectedTouchUV( integer Index ) -> vector +- llDetectedType( integer Number ) -> integer +- llDetectedVel( integer Number ) -> vector effects: -- llCollisionSprite -- llLinkParticleSystem -- llMakeExplosion -- llMakeFire -- llMakeFountain -- llMakeSmoke -- llParticleSystem -- llSetLinkTextureAnim -- llSetText -- llSetTextureAnim +- llCollisionSprite( string ImpactSprite ) -> void // deprecated +- llLinkParticleSystem( integer LinkNumber, list Rules ) -> void +- llMakeExplosion( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated +- llMakeFire( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated +- llMakeFountain( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, integer Bounce, string Texture, vector Offset, float Bounce_Offset ) -> void // deprecated +- llMakeSmoke( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated +- llParticleSystem( list Parameters ) -> void +- llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +- llSetText( string Text, vector Color, float Opacity ) -> void +- llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void experience: -- experience_permissions -- experience_permissions_denied -- llAgentInExperience -- llClearExperience -- llClearExperiencePermissions -- llCreateKeyValue -- llDataSizeKeyValue -- llDeleteKeyValue -- llGetExperienceDetails -- llGetExperienceErrorMessage -- llGetExperienceList -- llKeyCountKeyValue -- llKeysKeyValue -- llReadKeyValue -- llReplaceAgentEnvironment -- llRequestExperiencePermissions -- llSetAgentEnvironment -- llSetExperienceKey -- llSitOnLink -- llUpdateKeyValue +- experience_permissions( key agent_id ) +- experience_permissions_denied( key agent_id, integer Reason ) +- llAgentInExperience( key AgentID ) -> integer +- llClearExperience( key AgentID, key ExperienceID ) -> void // private // deprecated +- llClearExperiencePermissions( key AgentID ) -> void // private // deprecated +- llCreateKeyValue( string Key, string Value ) -> key +- llDataSizeKeyValue( ) -> key +- llDeleteKeyValue( string Key ) -> key +- llGetExperienceDetails( key ExperienceID ) -> list +- llGetExperienceErrorMessage( integer Error ) -> string +- llGetExperienceList( key AgentID ) -> list // private // deprecated +- llKeyCountKeyValue( ) -> key +- llKeysKeyValue( integer First, integer Count ) -> key +- llReadKeyValue( string Key ) -> key +- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer +- llRequestExperiencePermissions( key AgentID, string unused ) -> void +- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer +- llSetExperienceKey( key ExperienceID ) -> integer // private // deprecated +- llSitOnLink( key AvatarID, integer LinkID ) -> integer +- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key experience_data: -- llCreateKeyValue -- llDataSizeKeyValue -- llDeleteKeyValue -- llKeyCountKeyValue -- llKeysKeyValue -- llReadKeyValue -- llUpdateKeyValue +- llCreateKeyValue( string Key, string Value ) -> key +- llDataSizeKeyValue( ) -> key +- llDeleteKeyValue( string Key ) -> key +- llKeyCountKeyValue( ) -> key +- llKeysKeyValue( integer First, integer Count ) -> key +- llReadKeyValue( string Key ) -> key +- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key input: -- control -- game_control -- llReleaseControls -- llSetClickAction -- llTakeControls +- control( key AvatarID, integer Levels, integer Edges ) +- game_control( key id, integer buttons, list axes ) +- llReleaseControls( ) -> void +- llSetClickAction( integer Action ) -> void +- llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void json: -- llJson2List -- llJsonGetValue -- llJsonSetValue -- llJsonValueType -- llList2Json +- llJson2List( string JSON ) -> list +- llJsonGetValue( string JSON, list Specifiers ) -> string +- llJsonSetValue( string JSON, list Specifiers, string Value ) -> string +- llJsonValueType( string JSON, list Specifiers ) -> string +- llList2Json( string JsonType, list Values ) -> string land_moderation: -- llAddToLandBanList -- llAddToLandPassList -- llEjectFromLand -- llManageEstateAccess -- llRemoveFromLandBanList -- llRemoveFromLandPassList -- llResetLandBanList -- llResetLandPassList -- llReturnObjectsByID -- llReturnObjectsByOwner -- llTeleportAgentHome +- llAddToLandBanList( key ID, float Hours ) -> void +- llAddToLandPassList( key ID, float Hours ) -> void +- llEjectFromLand( key AvatarID ) -> void +- llManageEstateAccess( integer Action, key AvatarID ) -> integer +- llRemoveFromLandBanList( key AvatarID ) -> void +- llRemoveFromLandPassList( key AvatarID ) -> void +- llResetLandBanList( ) -> void +- llResetLandPassList( ) -> void +- llReturnObjectsByID( list ObjectIDs ) -> integer +- llReturnObjectsByOwner( key ID, integer Scope ) -> integer +- llTeleportAgentHome( key AvatarID ) -> void linkset: -- changed -- linkset_data -- llAvatarOnLinkSitTarget -- llBreakAllLinks -- llBreakLink -- llClearLinkMedia -- llCreateLink -- llGetLinkKey -- llGetLinkMedia -- llGetLinkName -- llGetLinkNumberOfSides -- llGetLinkPrimitiveParams -- llGetLinkSitFlags -- llGetMass -- llGetMassMKS -- llGetMaxScaleFactor -- llGetMinScaleFactor -- llGetNumberOfPrims -- llGetObjectPermMask -- llGetOwner -- llGetRootPosition -- llGetRootRotation -- llGetStatus -- llIsLinkGLTFMaterial -- llLinkSitTarget -- llLinksetDataAvailable -- llLinksetDataCountFound -- llLinksetDataCountKeys -- llLinksetDataDelete -- llLinksetDataDeleteFound -- llLinksetDataDeleteProtected -- llLinksetDataFindKeys -- llLinksetDataListKeys -- llLinksetDataRead -- llLinksetDataReadProtected -- llLinksetDataReset -- llLinksetDataWrite -- llLinksetDataWriteProtected -- llScaleByFactor -- llSetLinkAlpha -- llSetLinkColor -- llSetLinkGLTFOverrides -- llSetLinkMedia -- llSetLinkPrimitiveParams -- llSetLinkPrimitiveParamsFast -- llSetLinkRenderMaterial -- llSetLinkSitFlags -- llSetLinkTexture -- llSetLinkTextureAnim -- llSetObjectPermMask -- llSetStatus +- changed( integer Changed ) +- linkset_data( integer action, string name, string value ) +- llAvatarOnLinkSitTarget( integer LinkNumber ) -> key +- llBreakAllLinks( ) -> void +- llBreakLink( integer LinkNumber ) -> void +- llClearLinkMedia( integer Link, integer Face ) -> integer +- llCreateLink( key TargetPrim, integer Parent ) -> void +- llGetLinkKey( integer LinkNumber ) -> key +- llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list +- llGetLinkName( integer LinkNumber ) -> string +- llGetLinkNumberOfSides( integer LinkNumber ) -> integer +- llGetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> list +- llGetLinkSitFlags( integer LinkNumber ) -> integer +- llGetMass( ) -> float +- llGetMassMKS( ) -> float +- llGetMaxScaleFactor( ) -> float +- llGetMinScaleFactor( ) -> float +- llGetNumberOfPrims( ) -> integer +- llGetObjectPermMask( integer Category ) -> integer +- llGetOwner( ) -> key +- llGetRootPosition( ) -> vector +- llGetRootRotation( ) -> rotation +- llGetStatus( integer StatusFlag ) -> integer +- llIsLinkGLTFMaterial( integer link, integer face ) -> integer +- llLinkSitTarget( integer LinkNumber, vector Offset, rotation Rotation ) -> void +- llLinksetDataAvailable( ) -> integer +- llLinksetDataCountFound( string search ) -> integer +- llLinksetDataCountKeys( ) -> integer +- llLinksetDataDelete( string name ) -> integer +- llLinksetDataDeleteFound( string search, string pass ) -> list +- llLinksetDataDeleteProtected( string name, string pass ) -> integer +- llLinksetDataFindKeys( string search, integer start, integer count ) -> list +- llLinksetDataListKeys( integer start, integer count ) -> list +- llLinksetDataRead( string name ) -> string +- llLinksetDataReadProtected( string name, string pass ) -> string +- llLinksetDataReset( ) -> void +- llLinksetDataWrite( string name, string value ) -> integer +- llLinksetDataWriteProtected( string name, string value, string pass ) -> integer +- llScaleByFactor( float ScalingFactor ) -> integer +- llSetLinkAlpha( integer LinkNumber, float Opacity, integer Face ) -> void +- llSetLinkColor( integer LinkNumber, vector Color, integer Face ) -> void +- llSetLinkGLTFOverrides( integer link, integer face, list options ) -> void +- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer +- llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated +- llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void +- llSetLinkRenderMaterial( integer LinkNumber, string RenderMaterial, integer Face ) -> void +- llSetLinkSitFlags( integer LinkNumber, integer Flags ) -> void +- llSetLinkTexture( integer LinkNumber, string Texture, integer Face ) -> void +- llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +- llSetObjectPermMask( integer PermissionFlag, integer PermissionMask ) -> void +- llSetStatus( integer Status, integer Value ) -> void linkset_data: -- linkset_data -- llLinksetDataAvailable -- llLinksetDataCountFound -- llLinksetDataCountKeys -- llLinksetDataDelete -- llLinksetDataDeleteFound -- llLinksetDataDeleteProtected -- llLinksetDataFindKeys -- llLinksetDataListKeys -- llLinksetDataRead -- llLinksetDataReadProtected -- llLinksetDataReset -- llLinksetDataWrite -- llLinksetDataWriteProtected +- linkset_data( integer action, string name, string value ) +- llLinksetDataAvailable( ) -> integer +- llLinksetDataCountFound( string search ) -> integer +- llLinksetDataCountKeys( ) -> integer +- llLinksetDataDelete( string name ) -> integer +- llLinksetDataDeleteFound( string search, string pass ) -> list +- llLinksetDataDeleteProtected( string name, string pass ) -> integer +- llLinksetDataFindKeys( string search, integer start, integer count ) -> list +- llLinksetDataListKeys( integer start, integer count ) -> list +- llLinksetDataRead( string name ) -> string +- llLinksetDataReadProtected( string name, string pass ) -> string +- llLinksetDataReset( ) -> void +- llLinksetDataWrite( string name, string value ) -> integer +- llLinksetDataWriteProtected( string name, string value, string pass ) -> integer list: -- llDeleteSubList -- llGetListEntryType -- llGetListLength -- llList2CSV -- llList2Float -- llList2Integer -- llList2Json -- llList2Key -- llList2List -- llList2ListSlice -- llList2ListStrided -- llList2Rot -- llList2String -- llList2Vector -- llListFindList -- llListFindListNext -- llListFindStrided -- llListInsertList -- llListRandomize -- llListReplaceList -- llListSort -- llListSortStrided -- llListStatistics +- llDeleteSubList( list Source, integer Start, integer End ) -> list +- llGetListEntryType( list ListVariable, integer Index ) -> integer +- llGetListLength( list ListVariable ) -> integer +- llList2CSV( list ListVariable ) -> string +- llList2Float( list ListVariable, integer Index ) -> float +- llList2Integer( list ListVariable, integer Index ) -> integer +- llList2Json( string JsonType, list Values ) -> string +- llList2Key( list ListVariable, integer Index ) -> key +- llList2List( list ListVariable, integer Start, integer End ) -> list +- llList2ListSlice( list ListVariable, integer Start, integer End, integer Stride, integer slice_index ) -> list +- llList2ListStrided( list ListVariable, integer Start, integer End, integer Stride ) -> list +- llList2Rot( list ListVariable, integer Index ) -> rotation +- llList2String( list ListVariable, integer Index ) -> string +- llList2Vector( list ListVariable, integer Index ) -> vector +- llListFindList( list ListVariable, list Find ) -> integer +- llListFindListNext( list ListVariable, list Find, integer Instance ) -> integer +- llListFindStrided( list ListVariable, list Find, integer Start, integer End, integer Stride ) -> integer +- llListInsertList( list Target, list ListVariable, integer Position ) -> list +- llListRandomize( list ListVariable, integer Stride ) -> list +- llListReplaceList( list Target, list ListVariable, integer Start, integer End ) -> list +- llListSort( list ListVariable, integer Stride, integer Ascending ) -> list +- llListSortStrided( list ListVariable, integer Stride, integer Sortkey, integer Ascending ) -> list +- llListStatistics( integer Operation, list ListVariable ) -> float math: -- llAbs -- llAcos -- llAngleBetween -- llAsin -- llAtan2 -- llAxes2Rot -- llAxisAngle2Rot -- llCeil -- llCos -- llEuler2Rot -- llFabs -- llFloor -- llFrand -- llLinear2sRGB -- llListStatistics -- llLog -- llLog10 -- llModPow -- llPow -- llRot2Angle -- llRot2Axis -- llRot2Euler -- llRot2Fwd -- llRot2Left -- llRot2Up -- llRotBetween -- llRound -- llSin -- llSqrt -- llTan -- llVecDist -- llVecMag -- llVecNorm -- llsRGB2Linear +- llAbs( integer Value ) -> integer +- llAcos( float Value ) -> float +- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float +- llAsin( float Value ) -> float +- llAtan2( float y, float x ) -> float +- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation +- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation +- llCeil( float Value ) -> integer +- llCos( float Theta ) -> float +- llEuler2Rot( vector Vector ) -> rotation +- llFabs( float Value ) -> float +- llFloor( float Value ) -> integer +- llFrand( float Magnitude ) -> float +- llLinear2sRGB( vector color ) -> vector +- llListStatistics( integer Operation, list ListVariable ) -> float +- llLog( float Value ) -> float +- llLog10( float Value ) -> float +- llModPow( integer Value, integer Power, integer Modulus ) -> integer +- llPow( float Value, float Exponent ) -> float +- llRot2Angle( rotation Rotation ) -> float +- llRot2Axis( rotation Rotation ) -> vector +- llRot2Euler( rotation Rotation ) -> vector +- llRot2Fwd( rotation Rotation ) -> vector +- llRot2Left( rotation Rotation ) -> vector +- llRot2Up( rotation Rotation ) -> vector +- llRotBetween( vector Vector1, vector Vector2 ) -> rotation +- llRound( float Value ) -> integer +- llSin( float Theta ) -> float +- llSqrt( float Value ) -> float +- llTan( float Theta ) -> float +- llVecDist( vector Location1, vector Location2 ) -> float +- llVecMag( vector Vector ) -> float +- llVecNorm( vector Vector ) -> vector +- llsRGB2Linear( vector srgb ) -> vector math_3d: -- llAngleBetween -- llAxes2Rot -- llAxisAngle2Rot -- llEuler2Rot -- llRot2Angle -- llRot2Axis -- llRot2Euler -- llRot2Fwd -- llRot2Left -- llRot2Up -- llRotBetween -- llVecDist -- llVecMag -- llVecNorm +- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float +- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation +- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation +- llEuler2Rot( vector Vector ) -> rotation +- llRot2Angle( rotation Rotation ) -> float +- llRot2Axis( rotation Rotation ) -> vector +- llRot2Euler( rotation Rotation ) -> vector +- llRot2Fwd( rotation Rotation ) -> vector +- llRot2Left( rotation Rotation ) -> vector +- llRot2Up( rotation Rotation ) -> vector +- llRotBetween( vector Vector1, vector Vector2 ) -> rotation +- llVecDist( vector Location1, vector Location2 ) -> float +- llVecMag( vector Vector ) -> float +- llVecNorm( vector Vector ) -> vector math_trig: -- llAcos -- llAngleBetween -- llAsin -- llAtan2 -- llAxes2Rot -- llAxisAngle2Rot -- llCos -- llRot2Angle -- llRot2Axis -- llRot2Fwd -- llRot2Left -- llRot2Up -- llRotBetween -- llSin -- llTan +- llAcos( float Value ) -> float +- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float +- llAsin( float Value ) -> float +- llAtan2( float y, float x ) -> float +- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation +- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation +- llCos( float Theta ) -> float +- llRot2Angle( rotation Rotation ) -> float +- llRot2Axis( rotation Rotation ) -> vector +- llRot2Fwd( rotation Rotation ) -> vector +- llRot2Left( rotation Rotation ) -> vector +- llRot2Up( rotation Rotation ) -> vector +- llRotBetween( vector Vector1, vector Vector2 ) -> rotation +- llSin( float Theta ) -> float +- llTan( float Theta ) -> float media: -- changed -- llClearLinkMedia -- llClearPrimMedia -- llGetLinkMedia -- llGetPrimMediaParams -- llHTTPResponse -- llParcelMediaCommandList -- llParcelMediaQuery -- llRefreshPrimURL -- llReleaseURL -- llRequestSecureURL -- llRequestURL -- llSetContentType -- llSetLinkMedia -- llSetParcelMusicURL -- llSetPrimMediaParams -- llSetPrimURL +- changed( integer Changed ) +- llClearLinkMedia( integer Link, integer Face ) -> integer +- llClearPrimMedia( integer Face ) -> integer +- llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list +- llGetPrimMediaParams( integer Face, list Parameters ) -> list +- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void +- llParcelMediaCommandList( list CommandList ) -> void +- llParcelMediaQuery( list QueryList ) -> list +- llRefreshPrimURL( ) -> void // deprecated +- llReleaseURL( string URL ) -> void +- llRequestSecureURL( ) -> key +- llRequestURL( ) -> key +- llSetContentType( key HTTPRequestID, integer ContentType ) -> void +- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer +- llSetParcelMusicURL( string URL ) -> void +- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer +- llSetPrimURL( string URL ) -> void // deprecated money: -- money -- transaction_result -- llGiveMoney -- llSetClickAction -- llSetPayPrice -- llTransferLindenDollars +- money( key Payer, integer Amount ) +- transaction_result( key RequestID, integer Success, string Message ) +- llGiveMoney( key AvatarID, integer Amount ) -> integer +- llSetClickAction( integer Action ) -> void +- llSetPayPrice( integer Price, list QuickButtons ) -> void +- llTransferLindenDollars( key AvatarID, integer Amount ) -> key movement: -- at_rot_target -- at_target -- moving_end -- moving_start -- not_at_rot_target -- not_at_target -- llApplyImpulse -- llApplyRotationalImpulse -- llGetOmega -- llGetTorque -- llGetVel -- llLookAt -- llMoveToTarget -- llPointAt -- llPushObject -- llRotLookAt -- llRotTarget -- llRotTargetRemove -- llSetAgentRot -- llSetAngularVelocity -- llSetForce -- llSetForceAndTorque -- llSetHoverHeight -- llSetKeyframedMotion -- llSetLocalRot -- llSetPos -- llSetRegionPos -- llSetRot -- llSetTorque -- llSetVelocity -- llStopHover -- llStopLookAt -- llStopMoveToTarget -- llStopPointAt -- llTarget -- llTargetOmega -- llTargetRemove +- at_rot_target( integer TargetNumber, rotation TargetRotation, rotation CurrentRotation ) +- at_target( integer TargetNumber, vector TargetPosition, vector CurrentPosition ) +- moving_end( ) +- moving_start( ) +- not_at_rot_target( ) +- not_at_target( ) +- llApplyImpulse( vector Force, integer Local ) -> void +- llApplyRotationalImpulse( vector Force, integer Local ) -> void +- llGetOmega( ) -> vector +- llGetTorque( ) -> vector +- llGetVel( ) -> vector +- llLookAt( vector Target, float Strength, float Damping ) -> void +- llMoveToTarget( vector Target, float Tau ) -> void +- llPointAt( vector Point ) -> void // private // deprecated +- llPushObject( key ObjectID, vector Impulse, vector AngularImpulse, integer Local ) -> void +- llRotLookAt( rotation Rotation, float Strength, float Damping ) -> void +- llRotTarget( rotation Rotation, float LeeWay ) -> integer +- llRotTargetRemove( integer Handle ) -> void +- llSetAgentRot( rotation rot, integer flags ) -> void +- llSetAngularVelocity( vector AngVel, integer Local ) -> void +- llSetForce( vector Force, integer Local ) -> void +- llSetForceAndTorque( vector Force, vector Torque, integer Local ) -> void +- llSetHoverHeight( float Height, integer Water, float Tau ) -> void +- llSetKeyframedMotion( list Keyframes, list Options ) -> void +- llSetLocalRot( rotation Rotation ) -> void +- llSetPos( vector Position ) -> void +- llSetRegionPos( vector Position ) -> integer +- llSetRot( rotation Rotation ) -> void +- llSetTorque( vector Torque, integer Local ) -> void +- llSetVelocity( vector Velocity, integer Local ) -> void +- llStopHover( ) -> void +- llStopLookAt( ) -> void +- llStopMoveToTarget( ) -> void +- llStopPointAt( ) -> void // private // deprecated +- llTarget( vector Position, float Range ) -> integer +- llTargetOmega( vector Axis, float SpinRate, float Gain ) -> void +- llTargetRemove( integer Target ) -> void notecard: -- llFindNotecardTextCount -- llFindNotecardTextSync -- llGetNotecardLine -- llGetNotecardLineSync -- llGetNumberOfNotecardLines +- llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key +- llFindNotecardTextSync( string NotecardName, string Pattern, integer StartMatch, integer Count, list Options ) -> list +- llGetNotecardLine( string NotecardName, integer LineNumber ) -> key +- llGetNotecardLineSync( string NotecardName, integer LineNumber ) -> string +- llGetNumberOfNotecardLines( string NotecardName ) -> key object: -- llGetBoundingBox -- llGetCenterOfMass -- llGetObjectDetails -- llGetObjectLinkKey -- llGetObjectMass -- llGetObjectPrimCount -- llGetOwnerKey -- llKey2Name -- llSameGroup +- llGetBoundingBox( key ID ) -> list +- llGetCenterOfMass( ) -> vector +- llGetObjectDetails( key ID, list Parameters ) -> list +- llGetObjectLinkKey( key id, integer link_no ) -> key +- llGetObjectMass( key ID ) -> float +- llGetObjectPrimCount( key ObjectID ) -> integer +- llGetOwnerKey( key ObjectID ) -> key +- llKey2Name( key ID ) -> string +- llSameGroup( key ID ) -> integer object_animation: -- llGetObjectAnimationNames -- llStartObjectAnimation -- llStopObjectAnimation +- llGetObjectAnimationNames( ) -> list +- llStartObjectAnimation( string Animation ) -> void +- llStopObjectAnimation( string Animation ) -> void parcel: -- llAddToLandBanList -- llAddToLandPassList -- llEjectFromLand -- llGetAgentList -- llGetEnvironment -- llGetLandOwnerAt -- llGetMoonDirection -- llGetMoonRotation -- llGetParcelDetails -- llGetParcelFlags -- llGetParcelMaxPrims -- llGetParcelMusicURL -- llGetParcelPrimCount -- llGetParcelPrimOwners -- llGetSunDirection -- llGetSunRotation -- llOverMyLand -- llParcelMediaCommandList -- llParcelMediaQuery -- llRemoveFromLandBanList -- llRemoveFromLandPassList -- llReplaceEnvironment -- llResetLandBanList -- llResetLandPassList -- llScriptDanger -- llSetEnvironment -- llSetParcelForSale -- llSetParcelMusicURL +- llAddToLandBanList( key ID, float Hours ) -> void +- llAddToLandPassList( key ID, float Hours ) -> void +- llEjectFromLand( key AvatarID ) -> void +- llGetAgentList( integer Scope, list Options ) -> list +- llGetEnvironment( vector Position, list EnvParams ) -> list +- llGetLandOwnerAt( vector Position ) -> key +- llGetMoonDirection( ) -> vector +- llGetMoonRotation( ) -> rotation +- llGetParcelDetails( vector Position, list ParcelDetails ) -> list +- llGetParcelFlags( vector Position ) -> integer +- llGetParcelMaxPrims( vector Position, integer SimWide ) -> integer +- llGetParcelMusicURL( ) -> string +- llGetParcelPrimCount( vector Position, integer Category, integer SimWide ) -> integer +- llGetParcelPrimOwners( vector Position ) -> list +- llGetSunDirection( ) -> vector +- llGetSunRotation( ) -> rotation +- llOverMyLand( key ID ) -> integer +- llParcelMediaCommandList( list CommandList ) -> void +- llParcelMediaQuery( list QueryList ) -> list +- llRemoveFromLandBanList( key AvatarID ) -> void +- llRemoveFromLandPassList( key AvatarID ) -> void +- llReplaceEnvironment( vector position, string environment, integer track_no, integer day_length, integer day_offset ) -> integer +- llResetLandBanList( ) -> void +- llResetLandPassList( ) -> void +- llScriptDanger( vector Position ) -> integer +- llSetEnvironment( vector Position, list EnvParams ) -> integer +- llSetParcelForSale( integer ForSale, list Options ) -> integer +- llSetParcelMusicURL( string URL ) -> void parcel_appearance: -- llGetEnvironment -- llGetMoonDirection -- llGetMoonRotation -- llGetSunDirection -- llGetSunRotation -- llReplaceAgentEnvironment -- llReplaceEnvironment -- llSetAgentEnvironment -- llSetEnvironment +- llGetEnvironment( vector Position, list EnvParams ) -> list +- llGetMoonDirection( ) -> vector +- llGetMoonRotation( ) -> rotation +- llGetSunDirection( ) -> vector +- llGetSunRotation( ) -> rotation +- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer +- llReplaceEnvironment( vector position, string environment, integer track_no, integer day_length, integer day_offset ) -> integer +- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer +- llSetEnvironment( vector Position, list EnvParams ) -> integer parcel_media: -- llParcelMediaCommandList -- llParcelMediaQuery -- llSetParcelMusicURL +- llParcelMediaCommandList( list CommandList ) -> void +- llParcelMediaQuery( list QueryList ) -> list +- llSetParcelMusicURL( string URL ) -> void particles: -- llLinkParticleSystem -- llParticleSystem +- llLinkParticleSystem( integer LinkNumber, list Rules ) -> void +- llParticleSystem( list Parameters ) -> void pathfinding: -- moving_end -- moving_start -- path_update -- llCreateCharacter -- llDeleteCharacter -- llEvade -- llExecCharacterCmd -- llFleeFrom -- llGetClosestNavPoint -- llGetStaticPath -- llNavigateTo -- llPatrolPoints -- llPursue -- llUpdateCharacter -- llWanderWithin +- moving_end( ) +- moving_start( ) +- path_update( integer Type, list Reserved ) +- llCreateCharacter( list Options ) -> void +- llDeleteCharacter( ) -> void +- llEvade( key TargetID, list Options ) -> void +- llExecCharacterCmd( integer Command, list Options ) -> void +- llFleeFrom( vector Source, float Distance, list Options ) -> void +- llGetClosestNavPoint( vector Point, list Options ) -> list +- llGetStaticPath( vector Start, vector End, float Radius, list Parameters ) -> list +- llNavigateTo( vector Location, list Options ) -> void +- llPatrolPoints( list Points, list Options ) -> void +- llPursue( key TargetID, list Options ) -> void +- llUpdateCharacter( list Options ) -> void +- llWanderWithin( vector Origin, vector Area, list Options ) -> void permissions: -- experience_permissions -- experience_permissions_denied -- run_time_permissions -- llClearCameraParams -- llForceMouselook -- llGetAnimation -- llGetAnimationList -- llGetAnimationOverride -- llGetCameraAspect -- llGetCameraFOV -- llGetCameraPos -- llGetCameraRot -- llGetPermissions -- llGetPermissionsKey -- llGiveMoney -- llReleaseCamera -- llReleaseControls -- llRequestExperiencePermissions -- llRequestPermissions -- llResetAnimationOverride -- llSetAnimationOverride -- llSetCameraParams -- llStartAnimation -- llStopAnimation -- llTakeCamera -- llTakeControls -- llTeleportAgent -- llTeleportAgentGlobalCoords -- llTransferLindenDollars -- llWorldPosToHUD +- experience_permissions( key agent_id ) +- experience_permissions_denied( key agent_id, integer Reason ) +- run_time_permissions( integer PermissionFlags ) +- llClearCameraParams( ) -> void +- llForceMouselook( integer Enable ) -> void +- llGetAnimation( key AvatarID ) -> string +- llGetAnimationList( key AvatarID ) -> list +- llGetAnimationOverride( string AnimationState ) -> string +- llGetCameraAspect( ) -> float +- llGetCameraFOV( ) -> float +- llGetCameraPos( ) -> vector +- llGetCameraRot( ) -> rotation +- llGetPermissions( ) -> integer +- llGetPermissionsKey( ) -> key +- llGiveMoney( key AvatarID, integer Amount ) -> integer +- llReleaseCamera( key AvatarID ) -> void // deprecated +- llReleaseControls( ) -> void +- llRequestExperiencePermissions( key AgentID, string unused ) -> void +- llRequestPermissions( key AvatarID, integer PermissionMask ) -> void +- llResetAnimationOverride( string AnimationState ) -> void +- llSetAnimationOverride( string AnimationState, string AnimationName ) -> void +- llSetCameraParams( list Parameters ) -> void +- llStartAnimation( string Animation ) -> void +- llStopAnimation( string Animation ) -> void +- llTakeCamera( key AvatarID ) -> void // deprecated +- llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void +- llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void +- llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void +- llTransferLindenDollars( key AvatarID, integer Amount ) -> key +- llWorldPosToHUD( vector world_pos ) -> vector physics: -- collision -- collision_end -- collision_start -- land_collision -- land_collision_end -- land_collision_start -- llApplyImpulse -- llApplyRotationalImpulse -- llCastRay -- llCollisionFilter -- llCollisionSound -- llGetAccel -- llGetCenterOfMass -- llGetForce -- llGetGeometricCenter -- llGetMass -- llGetMassMKS -- llGetObjectMass -- llGetOmega -- llGetPhysicsMaterial -- llGetStatus -- llGetTorque -- llGetVel -- llLookAt -- llMoveToTarget -- llPassCollisions -- llPointAt -- llPushObject -- llRemoveVehicleFlags -- llRotLookAt -- llRotTarget -- llRotTargetRemove -- llSetAgentRot -- llSetAngularVelocity -- llSetBuoyancy -- llSetForce -- llSetForceAndTorque -- llSetHoverHeight -- llSetKeyframedMotion -- llSetPhysicsMaterial -- llSetStatus -- llSetTorque -- llSetVelocity -- llStopHover -- llStopLookAt -- llStopMoveToTarget -- llStopPointAt -- llTargetOmega -- llVolumeDetect +- collision( integer NumberOfCollisions ) +- collision_end( integer NumberOfCollisions ) +- collision_start( integer NumberOfCollisions ) +- land_collision( vector Position ) +- land_collision_end( vector Position ) +- land_collision_start( vector Position ) +- llApplyImpulse( vector Force, integer Local ) -> void +- llApplyRotationalImpulse( vector Force, integer Local ) -> void +- llCastRay( vector Start, vector End, list Options ) -> list +- llCollisionFilter( string ObjectName, key ObjectID, integer Accept ) -> void +- llCollisionSound( string ImpactSound, float ImpactVolume ) -> void +- llGetAccel( ) -> vector +- llGetCenterOfMass( ) -> vector +- llGetForce( ) -> vector +- llGetGeometricCenter( ) -> vector +- llGetMass( ) -> float +- llGetMassMKS( ) -> float +- llGetObjectMass( key ID ) -> float +- llGetOmega( ) -> vector +- llGetPhysicsMaterial( ) -> list +- llGetStatus( integer StatusFlag ) -> integer +- llGetTorque( ) -> vector +- llGetVel( ) -> vector +- llLookAt( vector Target, float Strength, float Damping ) -> void +- llMoveToTarget( vector Target, float Tau ) -> void +- llPassCollisions( integer Pass ) -> void +- llPointAt( vector Point ) -> void // private // deprecated +- llPushObject( key ObjectID, vector Impulse, vector AngularImpulse, integer Local ) -> void +- llRemoveVehicleFlags( integer Vehiclelags ) -> void +- llRotLookAt( rotation Rotation, float Strength, float Damping ) -> void +- llRotTarget( rotation Rotation, float LeeWay ) -> integer +- llRotTargetRemove( integer Handle ) -> void +- llSetAgentRot( rotation rot, integer flags ) -> void +- llSetAngularVelocity( vector AngVel, integer Local ) -> void +- llSetBuoyancy( float Buoyancy ) -> void +- llSetForce( vector Force, integer Local ) -> void +- llSetForceAndTorque( vector Force, vector Torque, integer Local ) -> void +- llSetHoverHeight( float Height, integer Water, float Tau ) -> void +- llSetKeyframedMotion( list Keyframes, list Options ) -> void +- llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void +- llSetStatus( integer Status, integer Value ) -> void +- llSetTorque( vector Torque, integer Local ) -> void +- llSetVelocity( vector Velocity, integer Local ) -> void +- llStopHover( ) -> void +- llStopLookAt( ) -> void +- llStopMoveToTarget( ) -> void +- llStopPointAt( ) -> void // private // deprecated +- llTargetOmega( vector Axis, float SpinRate, float Gain ) -> void +- llVolumeDetect( integer DetectEnabled ) -> void prim: -- llAvatarOnSitTarget -- llClearPrimMedia -- llGetAlpha -- llGetColor -- llGetCreator -- llGetKey -- llGetLinkNumber -- llGetLocalPos -- llGetLocalRot -- llGetNumberOfSides -- llGetObjectDesc -- llGetObjectName -- llGetPhysicsMaterial -- llGetPos -- llGetPrimMediaParams -- llGetPrimitiveParams -- llGetRenderMaterial -- llGetRot -- llGetScale -- llGetTexture -- llGetTextureOffset -- llGetTextureRot -- llGetTextureScale -- llOffsetTexture -- llRemoteLoadScriptPin -- llRotateTexture -- llScaleTexture -- llSetAlpha -- llSetColor -- llSetLocalRot -- llSetObjectDesc -- llSetObjectName -- llSetPhysicsMaterial -- llSetPos -- llSetPrimMediaParams -- llSetPrimURL -- llSetPrimitiveParams -- llSetRegionPos -- llSetRenderMaterial -- llSetRot -- llSetScale -- llSetSitText -- llSetTexture -- llSetTextureAnim -- llSitTarget +- llAvatarOnSitTarget( ) -> key +- llClearPrimMedia( integer Face ) -> integer +- llGetAlpha( integer Face ) -> float +- llGetColor( integer Face ) -> vector +- llGetCreator( ) -> key +- llGetKey( ) -> key +- llGetLinkNumber( ) -> integer +- llGetLocalPos( ) -> vector +- llGetLocalRot( ) -> rotation +- llGetNumberOfSides( ) -> integer +- llGetObjectDesc( ) -> string +- llGetObjectName( ) -> string +- llGetPhysicsMaterial( ) -> list +- llGetPos( ) -> vector +- llGetPrimMediaParams( integer Face, list Parameters ) -> list +- llGetPrimitiveParams( list Parameters ) -> list +- llGetRenderMaterial( integer Face ) -> string +- llGetRot( ) -> rotation +- llGetScale( ) -> vector +- llGetTexture( integer Face ) -> string +- llGetTextureOffset( integer Face ) -> vector +- llGetTextureRot( integer Face ) -> float +- llGetTextureScale( integer Face ) -> vector +- llOffsetTexture( float OffsetS, float OffsetT, integer Face ) -> void +- llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void +- llRotateTexture( float Radians, integer Face ) -> void +- llScaleTexture( float Horizontal, float Vertical, integer Face ) -> void +- llSetAlpha( float Opacity, integer Face ) -> void +- llSetColor( vector Color, integer Face ) -> void +- llSetLocalRot( rotation Rotation ) -> void +- llSetObjectDesc( string Description ) -> void +- llSetObjectName( string Name ) -> void +- llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void +- llSetPos( vector Position ) -> void +- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer +- llSetPrimURL( string URL ) -> void // deprecated +- llSetPrimitiveParams( list Parameters ) -> void // deprecated +- llSetRegionPos( vector Position ) -> integer +- llSetRenderMaterial( string Material, integer Face ) -> void +- llSetRot( rotation Rotation ) -> void +- llSetScale( vector Scale ) -> void +- llSetSitText( string Text ) -> void +- llSetTexture( string Texture, integer Face ) -> void +- llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +- llSitTarget( vector Offset, rotation Rotation ) -> void prim_appearance: -- changed -- llGetAlpha -- llGetColor -- llGetLinkNumberOfSides -- llGetLinkPrimitiveParams -- llGetMaxScaleFactor -- llGetMinScaleFactor -- llGetNumberOfSides -- llGetPrimitiveParams -- llGetRenderMaterial -- llGetTexture -- llGetTextureOffset -- llGetTextureRot -- llGetTextureScale -- llIsLinkGLTFMaterial -- llLinear2sRGB -- llOffsetTexture -- llRotateTexture -- llScaleByFactor -- llScaleTexture -- llSetAlpha -- llSetColor -- llSetLinkAlpha -- llSetLinkColor -- llSetLinkGLTFOverrides -- llSetLinkPrimitiveParams -- llSetLinkPrimitiveParamsFast -- llSetLinkRenderMaterial -- llSetLinkTexture -- llSetLinkTextureAnim -- llSetPrimitiveParams -- llSetRenderMaterial -- llSetScale -- llSetText -- llSetTexture -- llSetTextureAnim -- llsRGB2Linear +- changed( integer Changed ) +- llGetAlpha( integer Face ) -> float +- llGetColor( integer Face ) -> vector +- llGetLinkNumberOfSides( integer LinkNumber ) -> integer +- llGetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> list +- llGetMaxScaleFactor( ) -> float +- llGetMinScaleFactor( ) -> float +- llGetNumberOfSides( ) -> integer +- llGetPrimitiveParams( list Parameters ) -> list +- llGetRenderMaterial( integer Face ) -> string +- llGetTexture( integer Face ) -> string +- llGetTextureOffset( integer Face ) -> vector +- llGetTextureRot( integer Face ) -> float +- llGetTextureScale( integer Face ) -> vector +- llIsLinkGLTFMaterial( integer link, integer face ) -> integer +- llLinear2sRGB( vector color ) -> vector +- llOffsetTexture( float OffsetS, float OffsetT, integer Face ) -> void +- llRotateTexture( float Radians, integer Face ) -> void +- llScaleByFactor( float ScalingFactor ) -> integer +- llScaleTexture( float Horizontal, float Vertical, integer Face ) -> void +- llSetAlpha( float Opacity, integer Face ) -> void +- llSetColor( vector Color, integer Face ) -> void +- llSetLinkAlpha( integer LinkNumber, float Opacity, integer Face ) -> void +- llSetLinkColor( integer LinkNumber, vector Color, integer Face ) -> void +- llSetLinkGLTFOverrides( integer link, integer face, list options ) -> void +- llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated +- llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void +- llSetLinkRenderMaterial( integer LinkNumber, string RenderMaterial, integer Face ) -> void +- llSetLinkTexture( integer LinkNumber, string Texture, integer Face ) -> void +- llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +- llSetPrimitiveParams( list Parameters ) -> void // deprecated +- llSetRenderMaterial( string Material, integer Face ) -> void +- llSetScale( vector Scale ) -> void +- llSetText( string Text, vector Color, float Opacity ) -> void +- llSetTexture( string Texture, integer Face ) -> void +- llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +- llsRGB2Linear( vector srgb ) -> vector prim_inventory: -- changed -- llAllowInventoryDrop -- llDerezObject -- llGetInventoryAcquireTime -- llGetInventoryCreator -- llGetInventoryDesc -- llGetInventoryKey -- llGetInventoryName -- llGetInventoryNumber -- llGetInventoryPermMask -- llGetInventoryType -- llGetScriptName -- llGetScriptState -- llGiveInventory -- llGiveInventoryList -- llGodLikeRezObject -- llRemoteLoadScript -- llRemoteLoadScriptPin -- llRemoveInventory -- llRequestInventoryData -- llResetOtherScript -- llRezAtRoot -- llRezObject -- llRezObjectWithParams -- llSetInventoryPermMask -- llSetRemoteScriptAccessPin -- llSetScriptState +- changed( integer Changed ) +- llAllowInventoryDrop( integer Flag ) -> void +- llDerezObject( key ID, integer flags ) -> integer +- llGetInventoryAcquireTime( string InventoryItem ) -> string +- llGetInventoryCreator( string InventoryItem ) -> key +- llGetInventoryDesc( string InventoryItem ) -> string +- llGetInventoryKey( string InventoryItem ) -> key +- llGetInventoryName( integer InventoryType, integer Index ) -> string +- llGetInventoryNumber( integer InventoryType ) -> integer +- llGetInventoryPermMask( string InventoryItem, integer BitMask ) -> integer +- llGetInventoryType( string InventoryItem ) -> integer +- llGetScriptName( ) -> string +- llGetScriptState( string ScriptName ) -> integer +- llGiveInventory( key TargetID, string InventoryItem ) -> void +- llGiveInventoryList( key TargetID, string FolderName, list InventoryItems ) -> void +- llGodLikeRezObject( key InventoryItemID, vector Position ) -> void +- llRemoteLoadScript( key Target, string ScriptName, integer Unknown1, integer Unknown2 ) -> void // private // deprecated +- llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void +- llRemoveInventory( string InventoryItem ) -> void +- llRequestInventoryData( string InventoryItem ) -> key +- llResetOtherScript( string ScriptName ) -> void +- llRezAtRoot( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void +- llRezObject( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void +- llRezObjectWithParams( string InventoryItem, list Params ) -> key +- llSetInventoryPermMask( string InventoryItem, integer PermissionFlag, integer PermissionMask ) -> void +- llSetRemoteScriptAccessPin( integer PIN ) -> void +- llSetScriptState( string ScriptName, integer Running ) -> void prim_media: -- changed -- llClearLinkMedia -- llClearPrimMedia -- llGetLinkMedia -- llGetPrimMediaParams -- llHTTPResponse -- llRefreshPrimURL -- llSetContentType -- llSetLinkMedia -- llSetPrimMediaParams -- llSetPrimURL +- changed( integer Changed ) +- llClearLinkMedia( integer Link, integer Face ) -> integer +- llClearPrimMedia( integer Face ) -> integer +- llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list +- llGetPrimMediaParams( integer Face, list Parameters ) -> list +- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void +- llRefreshPrimURL( ) -> void // deprecated +- llSetContentType( key HTTPRequestID, integer ContentType ) -> void +- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer +- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer +- llSetPrimURL( string URL ) -> void // deprecated prim_properties: -- llGetObjectDesc -- llGetObjectDetails -- llGetObjectName -- llGetPrimitiveParams -- llSetClickAction -- llSetLinkPrimitiveParams -- llSetLinkPrimitiveParamsFast -- llSetObjectDesc -- llSetObjectName -- llSetPayPrice -- llSetPhysicsMaterial -- llSetPrimitiveParams -- llSetStatus -- llSetText -- llSetTouchText +- llGetObjectDesc( ) -> string +- llGetObjectDetails( key ID, list Parameters ) -> list +- llGetObjectName( ) -> string +- llGetPrimitiveParams( list Parameters ) -> list +- llSetClickAction( integer Action ) -> void +- llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated +- llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void +- llSetObjectDesc( string Description ) -> void +- llSetObjectName( string Name ) -> void +- llSetPayPrice( integer Price, list QuickButtons ) -> void +- llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void +- llSetPrimitiveParams( list Parameters ) -> void // deprecated +- llSetStatus( integer Status, integer Value ) -> void +- llSetText( string Text, vector Color, float Opacity ) -> void +- llSetTouchText( string Text ) -> void quaternion: -- llAngleBetween -- llAxes2Rot -- llAxisAngle2Rot -- llEuler2Rot -- llRot2Angle -- llRot2Axis -- llRot2Euler -- llRot2Fwd -- llRot2Left -- llRot2Up -- llRotBetween +- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float +- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation +- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation +- llEuler2Rot( vector Vector ) -> rotation +- llRot2Angle( rotation Rotation ) -> float +- llRot2Axis( rotation Rotation ) -> vector +- llRot2Euler( rotation Rotation ) -> vector +- llRot2Fwd( rotation Rotation ) -> vector +- llRot2Left( rotation Rotation ) -> vector +- llRot2Up( rotation Rotation ) -> vector +- llRotBetween( vector Vector1, vector Vector2 ) -> rotation region: -- changed -- llCloud -- llEdgeOfWorld -- llGetAgentList -- llGetEnv -- llGetRegionAgentCount -- llGetRegionCorner -- llGetRegionDayLength -- llGetRegionDayOffset -- llGetRegionFPS -- llGetRegionFlags -- llGetRegionMoonDirection -- llGetRegionMoonRotation -- llGetRegionName -- llGetRegionSunDirection -- llGetRegionSunRotation -- llGetRegionTimeDilation -- llGetRegionTimeOfDay -- llGetSimStats -- llGetSimulatorHostname -- llGround -- llGroundContour -- llGroundNormal -- llGroundRepel -- llGroundSlope -- llModifyLand -- llRequestSimulatorData -- llSetGroundTexture -- llWater -- llWind +- changed( integer Changed ) +- llCloud( vector Offset ) -> float // deprecated +- llEdgeOfWorld( vector Position, vector Direction ) -> integer +- llGetAgentList( integer Scope, list Options ) -> list +- llGetEnv( string DataRequest ) -> string +- llGetRegionAgentCount( ) -> integer +- llGetRegionCorner( ) -> vector +- llGetRegionDayLength( ) -> integer +- llGetRegionDayOffset( ) -> integer +- llGetRegionFPS( ) -> float +- llGetRegionFlags( ) -> integer +- llGetRegionMoonDirection( ) -> vector +- llGetRegionMoonRotation( ) -> rotation +- llGetRegionName( ) -> string +- llGetRegionSunDirection( ) -> vector +- llGetRegionSunRotation( ) -> rotation +- llGetRegionTimeDilation( ) -> float +- llGetRegionTimeOfDay( ) -> float +- llGetSimStats( integer StatType ) -> float +- llGetSimulatorHostname( ) -> string +- llGround( vector Offset ) -> float +- llGroundContour( vector Offset ) -> vector +- llGroundNormal( vector Offset ) -> vector +- llGroundRepel( float Height, integer Water, float Tau ) -> void +- llGroundSlope( vector Offset ) -> vector +- llModifyLand( integer Action, integer Area ) -> void +- llRequestSimulatorData( string RegionName, integer Data ) -> key +- llSetGroundTexture( list Changes ) -> integer +- llWater( vector Offset ) -> float +- llWind( vector Offset ) -> vector region_appearance: -- llGetRegionMoonDirection -- llGetRegionMoonRotation -- llGetRegionSunDirection -- llGetRegionSunRotation -- llReplaceAgentEnvironment -- llSetAgentEnvironment +- llGetRegionMoonDirection( ) -> vector +- llGetRegionMoonRotation( ) -> rotation +- llGetRegionSunDirection( ) -> vector +- llGetRegionSunRotation( ) -> rotation +- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer +- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer rez: -- object_rez -- on_rez -- llDerezObject -- llDie -- llGetStartParameter -- llGetStartString -- llGodLikeRezObject -- llReturnObjectsByID -- llReturnObjectsByOwner -- llRezAtRoot -- llRezObject -- llRezObjectWithParams +- object_rez( key RezzedObjectsID ) +- on_rez( integer StartParameter ) +- llDerezObject( key ID, integer flags ) -> integer +- llDie( ) -> void +- llGetStartParameter( ) -> integer +- llGetStartString( ) -> string +- llGodLikeRezObject( key InventoryItemID, vector Position ) -> void +- llReturnObjectsByID( list ObjectIDs ) -> integer +- llReturnObjectsByOwner( key ID, integer Scope ) -> integer +- llRezAtRoot( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void +- llRezObject( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void +- llRezObjectWithParams( string InventoryItem, list Params ) -> key script: -- changed -- on_rez -- state_entry -- state_exit -- timer -- llGetAndResetTime -- llGetEnergy -- llGetFreeMemory -- llGetFreeURLs -- llGetMemoryLimit -- llGetSPMaxMemory -- llGetScriptName -- llGetScriptState -- llGetStartParameter -- llGetStartString -- llGetTime -- llGetUsedMemory -- llMinEventDelay -- llRemoteLoadScript -- llRemoteLoadScriptPin -- llResetOtherScript -- llResetScript -- llResetTime -- llScriptDanger -- llScriptProfiler -- llSetMemoryLimit -- llSetRemoteScriptAccessPin -- llSetScriptState -- llSetTimerEvent -- llSleep +- changed( integer Changed ) +- on_rez( integer StartParameter ) +- state_entry( ) +- state_exit( ) +- timer( ) +- llGetAndResetTime( ) -> float +- llGetEnergy( ) -> float +- llGetFreeMemory( ) -> integer +- llGetFreeURLs( ) -> integer +- llGetMemoryLimit( ) -> integer +- llGetSPMaxMemory( ) -> integer +- llGetScriptName( ) -> string +- llGetScriptState( string ScriptName ) -> integer +- llGetStartParameter( ) -> integer +- llGetStartString( ) -> string +- llGetTime( ) -> float +- llGetUsedMemory( ) -> integer +- llMinEventDelay( float Delay ) -> void +- llRemoteLoadScript( key Target, string ScriptName, integer Unknown1, integer Unknown2 ) -> void // private // deprecated +- llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void +- llResetOtherScript( string ScriptName ) -> void +- llResetScript( ) -> void +- llResetTime( ) -> void +- llScriptDanger( vector Position ) -> integer +- llScriptProfiler( integer State ) -> void +- llSetMemoryLimit( integer Limit ) -> integer +- llSetRemoteScriptAccessPin( integer PIN ) -> void +- llSetScriptState( string ScriptName, integer Running ) -> void +- llSetTimerEvent( float Rate ) -> void +- llSleep( float Time ) -> void script_communication: -- http_request -- http_response -- link_message -- listen -- remote_data -- llCloseRemoteDataChannel -- llGetNextEmail -- llHTTPRequest -- llHTTPResponse -- llListen -- llListenControl -- llListenRemove -- llMessageLinked -- llOpenRemoteDataChannel -- llRegionSay -- llRegionSayTo -- llRemoteDataReply -- llRemoteDataSetRegion -- llRequestSecureURL -- llRequestURL -- llSay -- llSendRemoteData -- llShout -- llWhisper +- http_request( key HTTPRequestID, string HTTPMethod, string Body ) +- http_response( key HTTPRequestID, integer Status, list Metadata, string Body ) +- link_message( integer SendersLink, integer Value, string Text, key ID ) +- listen( integer Channel, string Name, key ID, string Text ) +- remote_data( integer EventType, key ChannelID, key MessageID, string Sender, integer IData, string SData ) // deprecated +- llCloseRemoteDataChannel( key ChannelID ) -> void // deprecated +- llGetNextEmail( string Address, string Subject ) -> void +- llHTTPRequest( string URL, list Parameters, string Body ) -> key +- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void +- llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer +- llListenControl( integer ChannelHandle, integer Active ) -> void +- llListenRemove( integer ChannelHandle ) -> void +- llMessageLinked( integer LinkNumber, integer Number, string Text, key ID ) -> void +- llOpenRemoteDataChannel( ) -> void // deprecated +- llRegionSay( integer Channel, string Text ) -> void +- llRegionSayTo( key TargetID, integer Channel, string Text ) -> void +- llRemoteDataReply( key ChannelID, key MessageID, string sData, integer iData ) -> void // deprecated +- llRemoteDataSetRegion( ) -> void // deprecated +- llRequestSecureURL( ) -> key +- llRequestURL( ) -> key +- llSay( integer Channel, string Text ) -> void +- llSendRemoteData( key ChannelID, string Destination, integer Value, string Text ) -> key // deprecated +- llShout( integer Channel, string Text ) -> void +- llWhisper( integer Channel, string Text ) -> void sensor: -- collision -- collision_end -- collision_start -- no_sensor -- sensor -- llCastRay -- llCollisionFilter -- llPassCollisions -- llSensor -- llSensorRemove -- llSensorRepeat -- llVolumeDetect +- collision( integer NumberOfCollisions ) +- collision_end( integer NumberOfCollisions ) +- collision_start( integer NumberOfCollisions ) +- no_sensor( ) +- sensor( integer NumberDetected ) +- llCastRay( vector Start, vector End, list Options ) -> list +- llCollisionFilter( string ObjectName, key ObjectID, integer Accept ) -> void +- llPassCollisions( integer Pass ) -> void +- llSensor( string Name, key ID, integer Type, float Range, float Arc ) -> void +- llSensorRemove( ) -> void +- llSensorRepeat( string Name, key ID, integer Type, float Range, float Arc, float Rate ) -> void +- llVolumeDetect( integer DetectEnabled ) -> void sit: -- changed -- llAvatarOnLinkSitTarget -- llAvatarOnSitTarget -- llGetLinkSitFlags -- llLinkSitTarget -- llSetLinkCamera -- llSetLinkSitFlags -- llSetSitText -- llSitOnLink -- llSitTarget -- llUnSit +- changed( integer Changed ) +- llAvatarOnLinkSitTarget( integer LinkNumber ) -> key +- llAvatarOnSitTarget( ) -> key +- llGetLinkSitFlags( integer LinkNumber ) -> integer +- llLinkSitTarget( integer LinkNumber, vector Offset, rotation Rotation ) -> void +- llSetLinkCamera( integer LinkNumber, vector EyeOffset, vector LookOffset ) -> void +- llSetLinkSitFlags( integer LinkNumber, integer Flags ) -> void +- llSetSitText( string Text ) -> void +- llSitOnLink( key AvatarID, integer LinkID ) -> integer +- llSitTarget( vector Offset, rotation Rotation ) -> void +- llUnSit( key AvatarID ) -> void sound: -- llAdjustSoundVolume -- llCollisionSound -- llCollisionSprite -- llLinkAdjustSoundVolume -- llLinkPlaySound -- llLinkSetSoundQueueing -- llLinkSetSoundRadius -- llLinkStopSound -- llLoopSound -- llLoopSoundMaster -- llLoopSoundSlave -- llPlaySound -- llPlaySoundSlave -- llPreloadSound -- llSetSoundQueueing -- llSetSoundRadius -- llSound -- llSoundPreload -- llStopSound -- llTriggerSound -- llTriggerSoundLimited +- llAdjustSoundVolume( float Volume ) -> void +- llCollisionSound( string ImpactSound, float ImpactVolume ) -> void +- llCollisionSprite( string ImpactSprite ) -> void // deprecated +- llLinkAdjustSoundVolume( integer LinkNumber, float Volume ) -> void +- llLinkPlaySound( integer LinkNumber, string Sound, float Volume, integer Flags ) -> void +- llLinkSetSoundQueueing( integer LinkNumber, integer QueueEnable ) -> void +- llLinkSetSoundRadius( integer LinkNumber, float radius ) -> void +- llLinkStopSound( integer LinkNumber ) -> void +- llLoopSound( string Sound, float Volume ) -> void +- llLoopSoundMaster( string Sound, float Volume ) -> void +- llLoopSoundSlave( string Sound, float Volume ) -> void +- llPlaySound( string Sound, float Volume ) -> void +- llPlaySoundSlave( string Sound, float Volume ) -> void +- llPreloadSound( string Sound ) -> void +- llSetSoundQueueing( integer QueueEnable ) -> void +- llSetSoundRadius( float Radius ) -> void +- llSound( string Sound, float Volume, integer Queue, integer Loop ) -> void // deprecated +- llSoundPreload( string Sound ) -> void // deprecated +- llStopSound( ) -> void +- llTriggerSound( string Sound, float Volume ) -> void +- llTriggerSoundLimited( string Sound, float Volume, vector TNE, vector BSW ) -> void string: -- llChar -- llDeleteSubString -- llGetSubString -- llInsertString -- llOrd -- llReplaceSubString -- llStringLength -- llStringTrim -- llSubStringIndex -- llToLower -- llToUpper +- llChar( integer value ) -> string +- llDeleteSubString( string Source, integer Start, integer End ) -> string +- llGetSubString( string String, integer Start, integer End ) -> string +- llInsertString( string TargetVariable, integer Position, string SourceVariable ) -> string +- llOrd( string value, integer index ) -> integer +- llReplaceSubString( string InitialString, string SubString, string NewSubString, integer Count ) -> string +- llStringLength( string Text ) -> integer +- llStringTrim( string Text, integer TrimType ) -> string +- llSubStringIndex( string Text, string Sequence ) -> integer +- llToLower( string Text ) -> string +- llToUpper( string Text ) -> string teleport: -- changed -- llMapDestination -- llTeleportAgent -- llTeleportAgentGlobalCoords -- llTeleportAgentHome +- changed( integer Changed ) +- llMapDestination( string RegionName, vector Position, vector Direction ) -> void +- llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void +- llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void +- llTeleportAgentHome( key AvatarID ) -> void time: -- timer -- llGetDate -- llGetDayLength -- llGetDayOffset -- llGetGMTclock -- llGetRegionDayLength -- llGetRegionDayOffset -- llGetRegionTimeOfDay -- llGetTimeOfDay -- llGetTimestamp -- llGetUnixTime -- llGetWallclock -- llSetTimerEvent -- llSleep +- timer( ) +- llGetDate( ) -> string +- llGetDayLength( ) -> integer +- llGetDayOffset( ) -> integer +- llGetGMTclock( ) -> float +- llGetRegionDayLength( ) -> integer +- llGetRegionDayOffset( ) -> integer +- llGetRegionTimeOfDay( ) -> float +- llGetTimeOfDay( ) -> float +- llGetTimestamp( ) -> string +- llGetUnixTime( ) -> integer +- llGetWallclock( ) -> float +- llSetTimerEvent( float Rate ) -> void +- llSleep( float Time ) -> void touch: -- touch -- touch_end -- touch_start -- llDetectedGrab -- llDetectedTouchBinormal -- llDetectedTouchFace -- llDetectedTouchNormal -- llDetectedTouchPos -- llDetectedTouchST -- llDetectedTouchUV -- llPassTouches -- llSetClickAction -- llSetTouchText +- touch( integer NumberOfTouches ) +- touch_end( integer NumberOfTouches ) +- touch_start( integer NumberOfTouches ) +- llDetectedGrab( integer Number ) -> vector +- llDetectedTouchBinormal( integer Index ) -> vector +- llDetectedTouchFace( integer Index ) -> integer +- llDetectedTouchNormal( integer Index ) -> vector +- llDetectedTouchPos( integer Index ) -> vector +- llDetectedTouchST( integer Index ) -> vector +- llDetectedTouchUV( integer Index ) -> vector +- llPassTouches( integer Pass ) -> void +- llSetClickAction( integer Action ) -> void +- llSetTouchText( string Text ) -> void user_interface: -- touch -- touch_end -- touch_start -- llDialog -- llLoadURL -- llMapBeacon -- llMapDestination -- llSetClickAction -- llSetPayPrice -- llSetSitText -- llSetTouchText -- llTextBox -- llWorldPosToHUD +- touch( integer NumberOfTouches ) +- touch_end( integer NumberOfTouches ) +- touch_start( integer NumberOfTouches ) +- llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void +- llLoadURL( key AvatarID, string Text, string URL ) -> void +- llMapBeacon( string RegionName, vector Position, list Options ) -> void +- llMapDestination( string RegionName, vector Position, vector Direction ) -> void +- llSetClickAction( integer Action ) -> void +- llSetPayPrice( integer Price, list QuickButtons ) -> void +- llSetSitText( string Text ) -> void +- llSetTouchText( string Text ) -> void +- llTextBox( key AvatarID, string Text, integer Channel ) -> void +- llWorldPosToHUD( vector world_pos ) -> vector uuid: -- llDetectedKey -- llGenerateKey -- llGetKey -- llGetLinkKey -- llGetObjectLinkKey -- llGetOwner -- llGetOwnerKey -- llRequestUserKey +- llDetectedKey( integer Number ) -> key +- llGenerateKey( ) -> key +- llGetKey( ) -> key +- llGetLinkKey( integer LinkNumber ) -> key +- llGetObjectLinkKey( key id, integer link_no ) -> key +- llGetOwner( ) -> key +- llGetOwnerKey( key ObjectID ) -> key +- llRequestUserKey( string Name ) -> key vector: -- llRot2Axis -- llRot2Fwd -- llRot2Left -- llRot2Up -- llVecDist -- llVecMag -- llVecNorm +- llRot2Axis( rotation Rotation ) -> vector +- llRot2Fwd( rotation Rotation ) -> vector +- llRot2Left( rotation Rotation ) -> vector +- llRot2Up( rotation Rotation ) -> vector +- llVecDist( vector Location1, vector Location2 ) -> float +- llVecMag( vector Vector ) -> float +- llVecNorm( vector Vector ) -> vector vehicles: -- llRemoveVehicleFlags -- llSetVehicleFlags -- llSetVehicleFloatParam -- llSetVehicleRotationParam -- llSetVehicleType -- llSetVehicleVectorParam +- llRemoveVehicleFlags( integer Vehiclelags ) -> void +- llSetVehicleFlags( integer Flags ) -> void +- llSetVehicleFloatParam( integer ParameterName, float ParameterValue ) -> void +- llSetVehicleRotationParam( integer ParameterName, rotation ParameterValue ) -> void +- llSetVehicleType( integer Type ) -> void +- llSetVehicleVectorParam( integer ParameterName, vector ParameterValue ) -> void web: -- http_request -- http_response -- llEscapeURL -- llGetFreeURLs -- llGetHTTPHeader -- llHTTPRequest -- llHTTPResponse -- llLoadURL -- llRefreshPrimURL -- llReleaseURL -- llRequestSecureURL -- llRequestURL -- llSetContentType -- llSetLinkMedia -- llSetPrimMediaParams -- llSetPrimURL -- llUnescapeURL +- http_request( key HTTPRequestID, string HTTPMethod, string Body ) +- http_response( key HTTPRequestID, integer Status, list Metadata, string Body ) +- llEscapeURL( string URL ) -> string +- llGetFreeURLs( ) -> integer +- llGetHTTPHeader( key HTTPRequestID, string Header ) -> string +- llHTTPRequest( string URL, list Parameters, string Body ) -> key +- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void +- llLoadURL( key AvatarID, string Text, string URL ) -> void +- llRefreshPrimURL( ) -> void // deprecated +- llReleaseURL( string URL ) -> void +- llRequestSecureURL( ) -> key +- llRequestURL( ) -> key +- llSetContentType( key HTTPRequestID, integer ContentType ) -> void +- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer +- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer +- llSetPrimURL( string URL ) -> void // deprecated +- llUnescapeURL( string URL ) -> string diff --git a/lsl_definitions/generators/builtins_txt.py b/lsl_definitions/generators/builtins_txt.py index 810ffca4..183a20e8 100644 --- a/lsl_definitions/generators/builtins_txt.py +++ b/lsl_definitions/generators/builtins_txt.py @@ -13,8 +13,7 @@ def gen_builtins_txt(definitions: LSLDefinitions) -> str: builtins_str = "// Generated by gen_definitions.py\n" for func in sorted(definitions.functions.values(), key=lambda x: x.name): - args_str = ", ".join(f"{x.type!s} {x.name}" for x in func.arguments) - builtins_str += f"{func.ret_type!s} {func.name}( {args_str} )\n" + builtins_str += f"{func.ret_type!s} {func.name}{func.args_str}\n" for const in sorted(definitions.constants.values(), key=lambda x: x.name): builtins_str += f"const {const.type!s} {const.name} = " @@ -29,7 +28,6 @@ def gen_builtins_txt(definitions: LSLDefinitions) -> str: builtins_str += "\n" for event in sorted(definitions.events.values(), key=lambda x: x.name): - args_str = ", ".join(f"{x.type!s} {x.name}" for x in event.arguments) - builtins_str += f"event {event.name}( {args_str} )\n" + builtins_str += f"event {event.name}{event.args_str}\n" return builtins_str diff --git a/lsl_definitions/generators/experimental.py b/lsl_definitions/generators/experimental.py index 16ab22b7..1896a463 100644 --- a/lsl_definitions/generators/experimental.py +++ b/lsl_definitions/generators/experimental.py @@ -14,6 +14,15 @@ from lsl_definitions.lsl import LSLDefinitions, LSLEnumType +def lsl_annotations(member) -> str: + annotations = "" + if member.private: + annotations += " // private" + if member.deprecated: + annotations += " // deprecated" + return annotations + + @register("gen_enums_txt") def gen_enums_txt(definitions: LSLDefinitions) -> str: builtins_str = "// Dump of the enums just for testing. Feel free to remove this rule\n" @@ -26,20 +35,14 @@ def gen_enums_txt(definitions: LSLDefinitions) -> str: builtins_str += f"0x{member.value:x}" else: builtins_str += f"{member.value}" - if member.constant.private: - builtins_str += " // private" - if member.constant.deprecated: - builtins_str += " // deprecated" + builtins_str += lsl_annotations(member.constant) builtins_str += "\n" builtins_str += "};\n" for const in sorted(definitions.constants.values(), key=lambda x: x.name): if not const.member_of: builtins_str += f"const {const.type!s} {const.name} = {const.lsl_doc_literal}" - if const.private: - builtins_str += " // private" - if const.deprecated: - builtins_str += " // deprecated" + builtins_str += lsl_annotations(const) builtins_str += "\n" return builtins_str @@ -53,12 +56,16 @@ def gen_category_functions(definitions: LSLDefinitions) -> str: for event in sorted(definitions.events.values(), key=lambda x: x.name): for category in event.categories: - categories.setdefault(category, []).append(event.name) + builtins_str = f"{event.name}{event.args_str}" + builtins_str += lsl_annotations(event) + categories.setdefault(category, []).append(builtins_str) for func in sorted(definitions.functions.values(), key=lambda x: x.name): for category in func.categories: - categories.setdefault(category, []).append(func.name) + builtins_str = f"{func.name}{func.args_str} -> {func.ret_type!s}" + builtins_str += lsl_annotations(func) + categories.setdefault(category, []).append(builtins_str) categories = {k: categories[k] for k in sorted(categories.keys())} - yaml.safe_dump(categories, file, sort_keys=False) + yaml.safe_dump(categories, file, sort_keys=False, width=200) return file.getvalue() diff --git a/lsl_definitions/lsl.py b/lsl_definitions/lsl.py index 46aaa3ec..1bc709d1 100644 --- a/lsl_definitions/lsl.py +++ b/lsl_definitions/lsl.py @@ -278,6 +278,10 @@ class LSLFunctionBase(abc.ABC): tooltip: str categories: list[str] + @property + def args_str(self) -> str: + return "( " + ", ".join(f"{x.type!s} {x.name}" for x in self.arguments) + " )" + @dataclasses.dataclass class LSLEvent(LSLFunctionBase): From 45c6e5104e618f4d36e314a51f27503bdf24eaca Mon Sep 17 00:00:00 2001 From: tapple Date: Sat, 6 Jun 2026 16:55:17 -0700 Subject: [PATCH 7/8] duplicate category_functions generator to category_docs --- gen_all_definitions.sh | 1 + generated/experimental/category_docs.yaml | 1104 ++++++++++++++++++++ lsl_definitions/generators/experimental.py | 23 + 3 files changed, 1128 insertions(+) create mode 100644 generated/experimental/category_docs.yaml diff --git a/gen_all_definitions.sh b/gen_all_definitions.sh index 43560c60..734fac85 100755 --- a/gen_all_definitions.sh +++ b/gen_all_definitions.sh @@ -45,3 +45,4 @@ $CMD $DEFS gen_mono_library_defs ./templates/LslLibrary.cs "$outdir/templated/Ls # Experimental generators $CMD $DEFS gen_enums_txt "$outdir/experimental/enums.txt" $CMD $DEFS gen_category_functions "$outdir/experimental/category_functions.yaml" +$CMD $DEFS gen_category_docs "$outdir/experimental/category_docs.yaml" diff --git a/generated/experimental/category_docs.yaml b/generated/experimental/category_docs.yaml new file mode 100644 index 00000000..b3953a59 --- /dev/null +++ b/generated/experimental/category_docs.yaml @@ -0,0 +1,1104 @@ +# Functions by category +asset_permissions: +- changed( integer Changed ) +- llGetInventoryPermMask( string InventoryItem, integer BitMask ) -> integer +- llGetObjectPermMask( integer Category ) -> integer +- llSetInventoryPermMask( string InventoryItem, integer PermissionFlag, integer PermissionMask ) -> void +- llSetObjectPermMask( integer PermissionFlag, integer PermissionMask ) -> void +- llTransferOwnership( key AgentID, integer Flags, list Params ) -> integer +attachments: +- attach( key AvatarID ) +- llAttachToAvatar( integer AttachmentPoint ) -> void +- llAttachToAvatarTemp( integer AttachPoint ) -> void +- llDetachFromAvatar( ) -> void +- llGetAttached( ) -> integer +- llGetAttachedList( key ID ) -> list +- llGetAttachedListFiltered( key AgentID, list Options ) -> list +avatar: +- control( key AvatarID, integer Levels, integer Edges ) +- experience_permissions( key agent_id ) +- experience_permissions_denied( key agent_id, integer Reason ) +- game_control( key id, integer buttons, list axes ) +- llAgentInExperience( key AgentID ) -> integer +- llAttachToAvatar( integer AttachmentPoint ) -> void +- llAttachToAvatarTemp( integer AttachPoint ) -> void +- llAvatarOnLinkSitTarget( integer LinkNumber ) -> key +- llAvatarOnSitTarget( ) -> key +- llClearCameraParams( ) -> void +- llDetachFromAvatar( ) -> void +- llDetectedOwner( integer Number ) -> key +- llForceMouselook( integer Enable ) -> void +- llGetAgentInfo( key AvatarID ) -> integer +- llGetAgentLanguage( key AvatarID ) -> string +- llGetAgentList( integer Scope, list Options ) -> list +- llGetAgentSize( key AvatarID ) -> vector +- llGetAnimation( key AvatarID ) -> string +- llGetAnimationList( key AvatarID ) -> list +- llGetAnimationOverride( string AnimationState ) -> string +- llGetAttachedList( key ID ) -> list +- llGetAttachedListFiltered( key AgentID, list Options ) -> list +- llGetCameraAspect( ) -> float +- llGetCameraFOV( ) -> float +- llGetCameraPos( ) -> vector +- llGetCameraRot( ) -> rotation +- llGetDisplayName( key AvatarID ) -> string +- llGetPermissionsKey( ) -> key +- llGetUsername( key AvatarID ) -> string +- llGetVisualParams( key ID, list Parameters ) -> list +- llGiveMoney( key AvatarID, integer Amount ) -> integer +- llIsFriend( key agent_id ) -> integer +- llName2Key( string Name ) -> key +- llReleaseCamera( key AvatarID ) -> void // deprecated +- llReleaseControls( ) -> void +- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer +- llRequestAgentData( key AvatarID, integer Data ) -> key +- llRequestDisplayName( key AvatarID ) -> key +- llRequestExperiencePermissions( key AgentID, string unused ) -> void +- llRequestUserKey( string Name ) -> key +- llRequestUsername( key AvatarID ) -> key +- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer +- llSetAgentRot( rotation rot, integer flags ) -> void +- llSetCameraParams( list Parameters ) -> void +- llStartAnimation( string Animation ) -> void +- llStopAnimation( string Animation ) -> void +- llTakeCamera( key AvatarID ) -> void // deprecated +- llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void +- llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void +- llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void +- llTeleportAgentHome( key AvatarID ) -> void +- llUnSit( key AvatarID ) -> void +- llWorldPosToHUD( vector world_pos ) -> vector +avatar_animation: +- llGetAnimation( key AvatarID ) -> string +- llGetAnimationList( key AvatarID ) -> list +- llGetAnimationOverride( string AnimationState ) -> string +- llResetAnimationOverride( string AnimationState ) -> void +- llSetAnimationOverride( string AnimationState, string AnimationName ) -> void +- llStartAnimation( string Animation ) -> void +- llStopAnimation( string Animation ) -> void +avatar_communication: +- email( string Time, string Address, string Subject, string Body, integer NumberRemaining ) +- listen( integer Channel, string Name, key ID, string Text ) +- llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void +- llEmail( string Address, string Subject, string Text ) -> void +- llInstantMessage( key AvatarID, string Text ) -> void +- llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer +- llListenControl( integer ChannelHandle, integer Active ) -> void +- llListenRemove( integer ChannelHandle ) -> void +- llLoadURL( key AvatarID, string Text, string URL ) -> void +- llMapBeacon( string RegionName, vector Position, list Options ) -> void +- llMapDestination( string RegionName, vector Position, vector Direction ) -> void +- llOpenFloater( string floater_name, string url, list params ) -> integer +- llOwnerSay( string Text ) -> void +- llRegionSayTo( key TargetID, integer Channel, string Text ) -> void +- llSay( integer Channel, string Text ) -> void +- llSetText( string Text, vector Color, float Opacity ) -> void +- llShout( integer Channel, string Text ) -> void +- llTargetedEmail( integer Target, string Subject, string Text ) -> void +- llTextBox( key AvatarID, string Text, integer Channel ) -> void +- llWhisper( integer Channel, string Text ) -> void +avatar_inventory: +- llGiveAgentInventory( key AgentID, string FolderName, list InventoryItems, list Options ) -> integer +- llGiveInventory( key TargetID, string InventoryItem ) -> void +- llGiveInventoryList( key TargetID, string FolderName, list InventoryItems ) -> void +camera: +- llClearCameraParams( ) -> void +- llForceMouselook( integer Enable ) -> void +- llGetCameraAspect( ) -> float +- llGetCameraFOV( ) -> float +- llGetCameraPos( ) -> vector +- llGetCameraRot( ) -> rotation +- llReleaseCamera( key AvatarID ) -> void // deprecated +- llSetCameraAtOffset( vector Offset ) -> void +- llSetCameraEyeOffset( vector Offset ) -> void +- llSetCameraParams( list Parameters ) -> void +- llSetLinkCamera( integer LinkNumber, vector EyeOffset, vector LookOffset ) -> void +- llTakeCamera( key AvatarID ) -> void // deprecated +- llWorldPosToHUD( vector world_pos ) -> vector +chat: +- listen( integer Channel, string Name, key ID, string Text ) +- llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void +- llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer +- llListenControl( integer ChannelHandle, integer Active ) -> void +- llListenRemove( integer ChannelHandle ) -> void +- llRegionSay( integer Channel, string Text ) -> void +- llRegionSayTo( key TargetID, integer Channel, string Text ) -> void +- llSay( integer Channel, string Text ) -> void +- llShout( integer Channel, string Text ) -> void +- llTextBox( key AvatarID, string Text, integer Channel ) -> void +- llWhisper( integer Channel, string Text ) -> void +combat: +- final_damage( integer count ) +- on_damage( integer count ) +- on_death( ) +- llAdjustDamage( integer Number, float Damage ) -> void +- llDamage( key target, float damage, integer type ) -> void +- llDetectedDamage( integer Number ) -> list +- llGetHealth( key ID ) -> float +- llRezObjectWithParams( string InventoryItem, list Params ) -> key +- llSetDamage( float Damage ) -> void +cryptography: +- llComputeHash( string Message, string Algorithm ) -> string +- llHMAC( string Key, string Message, string Algorithm ) -> string +- llHash( string value ) -> integer +- llMD5String( string Text, integer Nonce ) -> string +- llSHA1String( string Text ) -> string +- llSHA256String( string text ) -> string +- llSignRSA( string PrivateKey, string Message, string Algorithm ) -> string +- llVerifyRSA( string PublicKey, string Message, string Signature, string Algorithm ) -> integer +data_conversion: +- llBase64ToInteger( string Text ) -> integer +- llBase64ToString( string Text ) -> string +- llCSV2List( string Text ) -> list +- llDumpList2String( list Source, string Separator ) -> string +- llIntegerToBase64( integer Value ) -> string +- llJson2List( string JSON ) -> list +- llJsonGetValue( string JSON, list Specifiers ) -> string +- llJsonSetValue( string JSON, list Specifiers, string Value ) -> string +- llJsonValueType( string JSON, list Specifiers ) -> string +- llLinear2sRGB( vector color ) -> vector +- llList2CSV( list ListVariable ) -> string +- llList2Float( list ListVariable, integer Index ) -> float +- llList2Integer( list ListVariable, integer Index ) -> integer +- llList2Json( string JsonType, list Values ) -> string +- llList2Key( list ListVariable, integer Index ) -> key +- llList2Rot( list ListVariable, integer Index ) -> rotation +- llList2String( list ListVariable, integer Index ) -> string +- llList2Vector( list ListVariable, integer Index ) -> vector +- llParseString2List( string Text, list Separators, list Spacers ) -> list +- llParseStringKeepNulls( string Text, list Separators, list Spacers ) -> list +- llStringToBase64( string Text ) -> string +- llXorBase64( string Text1, string Text2 ) -> string +- llXorBase64Strings( string Text1, string Text2 ) -> string // deprecated +- llXorBase64StringsCorrect( string Text1, string Text2 ) -> string // deprecated +data_storage: +- linkset_data( integer action, string name, string value ) +- llCreateKeyValue( string Key, string Value ) -> key +- llDataSizeKeyValue( ) -> key +- llDeleteKeyValue( string Key ) -> key +- llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key +- llFindNotecardTextSync( string NotecardName, string Pattern, integer StartMatch, integer Count, list Options ) -> list +- llGetNotecardLine( string NotecardName, integer LineNumber ) -> key +- llGetNotecardLineSync( string NotecardName, integer LineNumber ) -> string +- llGetNumberOfNotecardLines( string NotecardName ) -> key +- llKeyCountKeyValue( ) -> key +- llKeysKeyValue( integer First, integer Count ) -> key +- llLinksetDataAvailable( ) -> integer +- llLinksetDataCountFound( string search ) -> integer +- llLinksetDataCountKeys( ) -> integer +- llLinksetDataDelete( string name ) -> integer +- llLinksetDataDeleteFound( string search, string pass ) -> list +- llLinksetDataDeleteProtected( string name, string pass ) -> integer +- llLinksetDataFindKeys( string search, integer start, integer count ) -> list +- llLinksetDataListKeys( integer start, integer count ) -> list +- llLinksetDataRead( string name ) -> string +- llLinksetDataReadProtected( string name, string pass ) -> string +- llLinksetDataReset( ) -> void +- llLinksetDataWrite( string name, string value ) -> integer +- llLinksetDataWriteProtected( string name, string value, string pass ) -> integer +- llReadKeyValue( string Key ) -> key +- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key +dataserver: +- dataserver( key RequestID, string Data ) +- llCreateKeyValue( string Key, string Value ) -> key +- llDataSizeKeyValue( ) -> key +- llDeleteKeyValue( string Key ) -> key +- llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key +- llGetNotecardLine( string NotecardName, integer LineNumber ) -> key +- llGetNumberOfNotecardLines( string NotecardName ) -> key +- llKeyCountKeyValue( ) -> key +- llKeysKeyValue( integer First, integer Count ) -> key +- llReadKeyValue( string Key ) -> key +- llRequestAgentData( key AvatarID, integer Data ) -> key +- llRequestDisplayName( key AvatarID ) -> key +- llRequestInventoryData( string InventoryItem ) -> key +- llRequestSimulatorData( string RegionName, integer Data ) -> key +- llRequestUserKey( string Name ) -> key +- llRequestUsername( key AvatarID ) -> key +- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key +detected: +- collision( integer NumberOfCollisions ) +- collision_end( integer NumberOfCollisions ) +- collision_start( integer NumberOfCollisions ) +- final_damage( integer count ) +- no_sensor( ) +- on_damage( integer count ) +- sensor( integer NumberDetected ) +- touch( integer NumberOfTouches ) +- touch_end( integer NumberOfTouches ) +- touch_start( integer NumberOfTouches ) +- llAdjustDamage( integer Number, float Damage ) -> void +- llDetectedDamage( integer Number ) -> list +- llDetectedGrab( integer Number ) -> vector +- llDetectedGroup( integer Number ) -> integer +- llDetectedKey( integer Number ) -> key +- llDetectedLinkNumber( integer Number ) -> integer +- llDetectedName( integer Number ) -> string +- llDetectedOwner( integer Number ) -> key +- llDetectedPos( integer Number ) -> vector +- llDetectedRezzer( integer Number ) -> key +- llDetectedRot( integer Number ) -> rotation +- llDetectedTouchBinormal( integer Index ) -> vector +- llDetectedTouchFace( integer Index ) -> integer +- llDetectedTouchNormal( integer Index ) -> vector +- llDetectedTouchPos( integer Index ) -> vector +- llDetectedTouchST( integer Index ) -> vector +- llDetectedTouchUV( integer Index ) -> vector +- llDetectedType( integer Number ) -> integer +- llDetectedVel( integer Number ) -> vector +effects: +- llCollisionSprite( string ImpactSprite ) -> void // deprecated +- llLinkParticleSystem( integer LinkNumber, list Rules ) -> void +- llMakeExplosion( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated +- llMakeFire( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated +- llMakeFountain( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, integer Bounce, string Texture, vector Offset, float Bounce_Offset ) -> void // deprecated +- llMakeSmoke( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated +- llParticleSystem( list Parameters ) -> void +- llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +- llSetText( string Text, vector Color, float Opacity ) -> void +- llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +experience: +- experience_permissions( key agent_id ) +- experience_permissions_denied( key agent_id, integer Reason ) +- llAgentInExperience( key AgentID ) -> integer +- llClearExperience( key AgentID, key ExperienceID ) -> void // private // deprecated +- llClearExperiencePermissions( key AgentID ) -> void // private // deprecated +- llCreateKeyValue( string Key, string Value ) -> key +- llDataSizeKeyValue( ) -> key +- llDeleteKeyValue( string Key ) -> key +- llGetExperienceDetails( key ExperienceID ) -> list +- llGetExperienceErrorMessage( integer Error ) -> string +- llGetExperienceList( key AgentID ) -> list // private // deprecated +- llKeyCountKeyValue( ) -> key +- llKeysKeyValue( integer First, integer Count ) -> key +- llReadKeyValue( string Key ) -> key +- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer +- llRequestExperiencePermissions( key AgentID, string unused ) -> void +- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer +- llSetExperienceKey( key ExperienceID ) -> integer // private // deprecated +- llSitOnLink( key AvatarID, integer LinkID ) -> integer +- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key +experience_data: +- llCreateKeyValue( string Key, string Value ) -> key +- llDataSizeKeyValue( ) -> key +- llDeleteKeyValue( string Key ) -> key +- llKeyCountKeyValue( ) -> key +- llKeysKeyValue( integer First, integer Count ) -> key +- llReadKeyValue( string Key ) -> key +- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key +input: +- control( key AvatarID, integer Levels, integer Edges ) +- game_control( key id, integer buttons, list axes ) +- llReleaseControls( ) -> void +- llSetClickAction( integer Action ) -> void +- llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void +json: +- llJson2List( string JSON ) -> list +- llJsonGetValue( string JSON, list Specifiers ) -> string +- llJsonSetValue( string JSON, list Specifiers, string Value ) -> string +- llJsonValueType( string JSON, list Specifiers ) -> string +- llList2Json( string JsonType, list Values ) -> string +land_moderation: +- llAddToLandBanList( key ID, float Hours ) -> void +- llAddToLandPassList( key ID, float Hours ) -> void +- llEjectFromLand( key AvatarID ) -> void +- llManageEstateAccess( integer Action, key AvatarID ) -> integer +- llRemoveFromLandBanList( key AvatarID ) -> void +- llRemoveFromLandPassList( key AvatarID ) -> void +- llResetLandBanList( ) -> void +- llResetLandPassList( ) -> void +- llReturnObjectsByID( list ObjectIDs ) -> integer +- llReturnObjectsByOwner( key ID, integer Scope ) -> integer +- llTeleportAgentHome( key AvatarID ) -> void +linkset: +- changed( integer Changed ) +- linkset_data( integer action, string name, string value ) +- llAvatarOnLinkSitTarget( integer LinkNumber ) -> key +- llBreakAllLinks( ) -> void +- llBreakLink( integer LinkNumber ) -> void +- llClearLinkMedia( integer Link, integer Face ) -> integer +- llCreateLink( key TargetPrim, integer Parent ) -> void +- llGetLinkKey( integer LinkNumber ) -> key +- llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list +- llGetLinkName( integer LinkNumber ) -> string +- llGetLinkNumberOfSides( integer LinkNumber ) -> integer +- llGetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> list +- llGetLinkSitFlags( integer LinkNumber ) -> integer +- llGetMass( ) -> float +- llGetMassMKS( ) -> float +- llGetMaxScaleFactor( ) -> float +- llGetMinScaleFactor( ) -> float +- llGetNumberOfPrims( ) -> integer +- llGetObjectPermMask( integer Category ) -> integer +- llGetOwner( ) -> key +- llGetRootPosition( ) -> vector +- llGetRootRotation( ) -> rotation +- llGetStatus( integer StatusFlag ) -> integer +- llIsLinkGLTFMaterial( integer link, integer face ) -> integer +- llLinkSitTarget( integer LinkNumber, vector Offset, rotation Rotation ) -> void +- llLinksetDataAvailable( ) -> integer +- llLinksetDataCountFound( string search ) -> integer +- llLinksetDataCountKeys( ) -> integer +- llLinksetDataDelete( string name ) -> integer +- llLinksetDataDeleteFound( string search, string pass ) -> list +- llLinksetDataDeleteProtected( string name, string pass ) -> integer +- llLinksetDataFindKeys( string search, integer start, integer count ) -> list +- llLinksetDataListKeys( integer start, integer count ) -> list +- llLinksetDataRead( string name ) -> string +- llLinksetDataReadProtected( string name, string pass ) -> string +- llLinksetDataReset( ) -> void +- llLinksetDataWrite( string name, string value ) -> integer +- llLinksetDataWriteProtected( string name, string value, string pass ) -> integer +- llScaleByFactor( float ScalingFactor ) -> integer +- llSetLinkAlpha( integer LinkNumber, float Opacity, integer Face ) -> void +- llSetLinkColor( integer LinkNumber, vector Color, integer Face ) -> void +- llSetLinkGLTFOverrides( integer link, integer face, list options ) -> void +- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer +- llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated +- llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void +- llSetLinkRenderMaterial( integer LinkNumber, string RenderMaterial, integer Face ) -> void +- llSetLinkSitFlags( integer LinkNumber, integer Flags ) -> void +- llSetLinkTexture( integer LinkNumber, string Texture, integer Face ) -> void +- llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +- llSetObjectPermMask( integer PermissionFlag, integer PermissionMask ) -> void +- llSetStatus( integer Status, integer Value ) -> void +linkset_data: +- linkset_data( integer action, string name, string value ) +- llLinksetDataAvailable( ) -> integer +- llLinksetDataCountFound( string search ) -> integer +- llLinksetDataCountKeys( ) -> integer +- llLinksetDataDelete( string name ) -> integer +- llLinksetDataDeleteFound( string search, string pass ) -> list +- llLinksetDataDeleteProtected( string name, string pass ) -> integer +- llLinksetDataFindKeys( string search, integer start, integer count ) -> list +- llLinksetDataListKeys( integer start, integer count ) -> list +- llLinksetDataRead( string name ) -> string +- llLinksetDataReadProtected( string name, string pass ) -> string +- llLinksetDataReset( ) -> void +- llLinksetDataWrite( string name, string value ) -> integer +- llLinksetDataWriteProtected( string name, string value, string pass ) -> integer +list: +- llDeleteSubList( list Source, integer Start, integer End ) -> list +- llGetListEntryType( list ListVariable, integer Index ) -> integer +- llGetListLength( list ListVariable ) -> integer +- llList2CSV( list ListVariable ) -> string +- llList2Float( list ListVariable, integer Index ) -> float +- llList2Integer( list ListVariable, integer Index ) -> integer +- llList2Json( string JsonType, list Values ) -> string +- llList2Key( list ListVariable, integer Index ) -> key +- llList2List( list ListVariable, integer Start, integer End ) -> list +- llList2ListSlice( list ListVariable, integer Start, integer End, integer Stride, integer slice_index ) -> list +- llList2ListStrided( list ListVariable, integer Start, integer End, integer Stride ) -> list +- llList2Rot( list ListVariable, integer Index ) -> rotation +- llList2String( list ListVariable, integer Index ) -> string +- llList2Vector( list ListVariable, integer Index ) -> vector +- llListFindList( list ListVariable, list Find ) -> integer +- llListFindListNext( list ListVariable, list Find, integer Instance ) -> integer +- llListFindStrided( list ListVariable, list Find, integer Start, integer End, integer Stride ) -> integer +- llListInsertList( list Target, list ListVariable, integer Position ) -> list +- llListRandomize( list ListVariable, integer Stride ) -> list +- llListReplaceList( list Target, list ListVariable, integer Start, integer End ) -> list +- llListSort( list ListVariable, integer Stride, integer Ascending ) -> list +- llListSortStrided( list ListVariable, integer Stride, integer Sortkey, integer Ascending ) -> list +- llListStatistics( integer Operation, list ListVariable ) -> float +math: +- llAbs( integer Value ) -> integer +- llAcos( float Value ) -> float +- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float +- llAsin( float Value ) -> float +- llAtan2( float y, float x ) -> float +- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation +- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation +- llCeil( float Value ) -> integer +- llCos( float Theta ) -> float +- llEuler2Rot( vector Vector ) -> rotation +- llFabs( float Value ) -> float +- llFloor( float Value ) -> integer +- llFrand( float Magnitude ) -> float +- llLinear2sRGB( vector color ) -> vector +- llListStatistics( integer Operation, list ListVariable ) -> float +- llLog( float Value ) -> float +- llLog10( float Value ) -> float +- llModPow( integer Value, integer Power, integer Modulus ) -> integer +- llPow( float Value, float Exponent ) -> float +- llRot2Angle( rotation Rotation ) -> float +- llRot2Axis( rotation Rotation ) -> vector +- llRot2Euler( rotation Rotation ) -> vector +- llRot2Fwd( rotation Rotation ) -> vector +- llRot2Left( rotation Rotation ) -> vector +- llRot2Up( rotation Rotation ) -> vector +- llRotBetween( vector Vector1, vector Vector2 ) -> rotation +- llRound( float Value ) -> integer +- llSin( float Theta ) -> float +- llSqrt( float Value ) -> float +- llTan( float Theta ) -> float +- llVecDist( vector Location1, vector Location2 ) -> float +- llVecMag( vector Vector ) -> float +- llVecNorm( vector Vector ) -> vector +- llsRGB2Linear( vector srgb ) -> vector +math_3d: +- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float +- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation +- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation +- llEuler2Rot( vector Vector ) -> rotation +- llRot2Angle( rotation Rotation ) -> float +- llRot2Axis( rotation Rotation ) -> vector +- llRot2Euler( rotation Rotation ) -> vector +- llRot2Fwd( rotation Rotation ) -> vector +- llRot2Left( rotation Rotation ) -> vector +- llRot2Up( rotation Rotation ) -> vector +- llRotBetween( vector Vector1, vector Vector2 ) -> rotation +- llVecDist( vector Location1, vector Location2 ) -> float +- llVecMag( vector Vector ) -> float +- llVecNorm( vector Vector ) -> vector +math_trig: +- llAcos( float Value ) -> float +- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float +- llAsin( float Value ) -> float +- llAtan2( float y, float x ) -> float +- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation +- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation +- llCos( float Theta ) -> float +- llRot2Angle( rotation Rotation ) -> float +- llRot2Axis( rotation Rotation ) -> vector +- llRot2Fwd( rotation Rotation ) -> vector +- llRot2Left( rotation Rotation ) -> vector +- llRot2Up( rotation Rotation ) -> vector +- llRotBetween( vector Vector1, vector Vector2 ) -> rotation +- llSin( float Theta ) -> float +- llTan( float Theta ) -> float +media: +- changed( integer Changed ) +- llClearLinkMedia( integer Link, integer Face ) -> integer +- llClearPrimMedia( integer Face ) -> integer +- llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list +- llGetPrimMediaParams( integer Face, list Parameters ) -> list +- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void +- llParcelMediaCommandList( list CommandList ) -> void +- llParcelMediaQuery( list QueryList ) -> list +- llRefreshPrimURL( ) -> void // deprecated +- llReleaseURL( string URL ) -> void +- llRequestSecureURL( ) -> key +- llRequestURL( ) -> key +- llSetContentType( key HTTPRequestID, integer ContentType ) -> void +- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer +- llSetParcelMusicURL( string URL ) -> void +- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer +- llSetPrimURL( string URL ) -> void // deprecated +money: +- money( key Payer, integer Amount ) +- transaction_result( key RequestID, integer Success, string Message ) +- llGiveMoney( key AvatarID, integer Amount ) -> integer +- llSetClickAction( integer Action ) -> void +- llSetPayPrice( integer Price, list QuickButtons ) -> void +- llTransferLindenDollars( key AvatarID, integer Amount ) -> key +movement: +- at_rot_target( integer TargetNumber, rotation TargetRotation, rotation CurrentRotation ) +- at_target( integer TargetNumber, vector TargetPosition, vector CurrentPosition ) +- moving_end( ) +- moving_start( ) +- not_at_rot_target( ) +- not_at_target( ) +- llApplyImpulse( vector Force, integer Local ) -> void +- llApplyRotationalImpulse( vector Force, integer Local ) -> void +- llGetOmega( ) -> vector +- llGetTorque( ) -> vector +- llGetVel( ) -> vector +- llLookAt( vector Target, float Strength, float Damping ) -> void +- llMoveToTarget( vector Target, float Tau ) -> void +- llPointAt( vector Point ) -> void // private // deprecated +- llPushObject( key ObjectID, vector Impulse, vector AngularImpulse, integer Local ) -> void +- llRotLookAt( rotation Rotation, float Strength, float Damping ) -> void +- llRotTarget( rotation Rotation, float LeeWay ) -> integer +- llRotTargetRemove( integer Handle ) -> void +- llSetAgentRot( rotation rot, integer flags ) -> void +- llSetAngularVelocity( vector AngVel, integer Local ) -> void +- llSetForce( vector Force, integer Local ) -> void +- llSetForceAndTorque( vector Force, vector Torque, integer Local ) -> void +- llSetHoverHeight( float Height, integer Water, float Tau ) -> void +- llSetKeyframedMotion( list Keyframes, list Options ) -> void +- llSetLocalRot( rotation Rotation ) -> void +- llSetPos( vector Position ) -> void +- llSetRegionPos( vector Position ) -> integer +- llSetRot( rotation Rotation ) -> void +- llSetTorque( vector Torque, integer Local ) -> void +- llSetVelocity( vector Velocity, integer Local ) -> void +- llStopHover( ) -> void +- llStopLookAt( ) -> void +- llStopMoveToTarget( ) -> void +- llStopPointAt( ) -> void // private // deprecated +- llTarget( vector Position, float Range ) -> integer +- llTargetOmega( vector Axis, float SpinRate, float Gain ) -> void +- llTargetRemove( integer Target ) -> void +notecard: +- llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key +- llFindNotecardTextSync( string NotecardName, string Pattern, integer StartMatch, integer Count, list Options ) -> list +- llGetNotecardLine( string NotecardName, integer LineNumber ) -> key +- llGetNotecardLineSync( string NotecardName, integer LineNumber ) -> string +- llGetNumberOfNotecardLines( string NotecardName ) -> key +object: +- llGetBoundingBox( key ID ) -> list +- llGetCenterOfMass( ) -> vector +- llGetObjectDetails( key ID, list Parameters ) -> list +- llGetObjectLinkKey( key id, integer link_no ) -> key +- llGetObjectMass( key ID ) -> float +- llGetObjectPrimCount( key ObjectID ) -> integer +- llGetOwnerKey( key ObjectID ) -> key +- llKey2Name( key ID ) -> string +- llSameGroup( key ID ) -> integer +object_animation: +- llGetObjectAnimationNames( ) -> list +- llStartObjectAnimation( string Animation ) -> void +- llStopObjectAnimation( string Animation ) -> void +parcel: +- llAddToLandBanList( key ID, float Hours ) -> void +- llAddToLandPassList( key ID, float Hours ) -> void +- llEjectFromLand( key AvatarID ) -> void +- llGetAgentList( integer Scope, list Options ) -> list +- llGetEnvironment( vector Position, list EnvParams ) -> list +- llGetLandOwnerAt( vector Position ) -> key +- llGetMoonDirection( ) -> vector +- llGetMoonRotation( ) -> rotation +- llGetParcelDetails( vector Position, list ParcelDetails ) -> list +- llGetParcelFlags( vector Position ) -> integer +- llGetParcelMaxPrims( vector Position, integer SimWide ) -> integer +- llGetParcelMusicURL( ) -> string +- llGetParcelPrimCount( vector Position, integer Category, integer SimWide ) -> integer +- llGetParcelPrimOwners( vector Position ) -> list +- llGetSunDirection( ) -> vector +- llGetSunRotation( ) -> rotation +- llOverMyLand( key ID ) -> integer +- llParcelMediaCommandList( list CommandList ) -> void +- llParcelMediaQuery( list QueryList ) -> list +- llRemoveFromLandBanList( key AvatarID ) -> void +- llRemoveFromLandPassList( key AvatarID ) -> void +- llReplaceEnvironment( vector position, string environment, integer track_no, integer day_length, integer day_offset ) -> integer +- llResetLandBanList( ) -> void +- llResetLandPassList( ) -> void +- llScriptDanger( vector Position ) -> integer +- llSetEnvironment( vector Position, list EnvParams ) -> integer +- llSetParcelForSale( integer ForSale, list Options ) -> integer +- llSetParcelMusicURL( string URL ) -> void +parcel_appearance: +- llGetEnvironment( vector Position, list EnvParams ) -> list +- llGetMoonDirection( ) -> vector +- llGetMoonRotation( ) -> rotation +- llGetSunDirection( ) -> vector +- llGetSunRotation( ) -> rotation +- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer +- llReplaceEnvironment( vector position, string environment, integer track_no, integer day_length, integer day_offset ) -> integer +- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer +- llSetEnvironment( vector Position, list EnvParams ) -> integer +parcel_media: +- llParcelMediaCommandList( list CommandList ) -> void +- llParcelMediaQuery( list QueryList ) -> list +- llSetParcelMusicURL( string URL ) -> void +particles: +- llLinkParticleSystem( integer LinkNumber, list Rules ) -> void +- llParticleSystem( list Parameters ) -> void +pathfinding: +- moving_end( ) +- moving_start( ) +- path_update( integer Type, list Reserved ) +- llCreateCharacter( list Options ) -> void +- llDeleteCharacter( ) -> void +- llEvade( key TargetID, list Options ) -> void +- llExecCharacterCmd( integer Command, list Options ) -> void +- llFleeFrom( vector Source, float Distance, list Options ) -> void +- llGetClosestNavPoint( vector Point, list Options ) -> list +- llGetStaticPath( vector Start, vector End, float Radius, list Parameters ) -> list +- llNavigateTo( vector Location, list Options ) -> void +- llPatrolPoints( list Points, list Options ) -> void +- llPursue( key TargetID, list Options ) -> void +- llUpdateCharacter( list Options ) -> void +- llWanderWithin( vector Origin, vector Area, list Options ) -> void +permissions: +- experience_permissions( key agent_id ) +- experience_permissions_denied( key agent_id, integer Reason ) +- run_time_permissions( integer PermissionFlags ) +- llClearCameraParams( ) -> void +- llForceMouselook( integer Enable ) -> void +- llGetAnimation( key AvatarID ) -> string +- llGetAnimationList( key AvatarID ) -> list +- llGetAnimationOverride( string AnimationState ) -> string +- llGetCameraAspect( ) -> float +- llGetCameraFOV( ) -> float +- llGetCameraPos( ) -> vector +- llGetCameraRot( ) -> rotation +- llGetPermissions( ) -> integer +- llGetPermissionsKey( ) -> key +- llGiveMoney( key AvatarID, integer Amount ) -> integer +- llReleaseCamera( key AvatarID ) -> void // deprecated +- llReleaseControls( ) -> void +- llRequestExperiencePermissions( key AgentID, string unused ) -> void +- llRequestPermissions( key AvatarID, integer PermissionMask ) -> void +- llResetAnimationOverride( string AnimationState ) -> void +- llSetAnimationOverride( string AnimationState, string AnimationName ) -> void +- llSetCameraParams( list Parameters ) -> void +- llStartAnimation( string Animation ) -> void +- llStopAnimation( string Animation ) -> void +- llTakeCamera( key AvatarID ) -> void // deprecated +- llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void +- llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void +- llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void +- llTransferLindenDollars( key AvatarID, integer Amount ) -> key +- llWorldPosToHUD( vector world_pos ) -> vector +physics: +- collision( integer NumberOfCollisions ) +- collision_end( integer NumberOfCollisions ) +- collision_start( integer NumberOfCollisions ) +- land_collision( vector Position ) +- land_collision_end( vector Position ) +- land_collision_start( vector Position ) +- llApplyImpulse( vector Force, integer Local ) -> void +- llApplyRotationalImpulse( vector Force, integer Local ) -> void +- llCastRay( vector Start, vector End, list Options ) -> list +- llCollisionFilter( string ObjectName, key ObjectID, integer Accept ) -> void +- llCollisionSound( string ImpactSound, float ImpactVolume ) -> void +- llGetAccel( ) -> vector +- llGetCenterOfMass( ) -> vector +- llGetForce( ) -> vector +- llGetGeometricCenter( ) -> vector +- llGetMass( ) -> float +- llGetMassMKS( ) -> float +- llGetObjectMass( key ID ) -> float +- llGetOmega( ) -> vector +- llGetPhysicsMaterial( ) -> list +- llGetStatus( integer StatusFlag ) -> integer +- llGetTorque( ) -> vector +- llGetVel( ) -> vector +- llLookAt( vector Target, float Strength, float Damping ) -> void +- llMoveToTarget( vector Target, float Tau ) -> void +- llPassCollisions( integer Pass ) -> void +- llPointAt( vector Point ) -> void // private // deprecated +- llPushObject( key ObjectID, vector Impulse, vector AngularImpulse, integer Local ) -> void +- llRemoveVehicleFlags( integer Vehiclelags ) -> void +- llRotLookAt( rotation Rotation, float Strength, float Damping ) -> void +- llRotTarget( rotation Rotation, float LeeWay ) -> integer +- llRotTargetRemove( integer Handle ) -> void +- llSetAgentRot( rotation rot, integer flags ) -> void +- llSetAngularVelocity( vector AngVel, integer Local ) -> void +- llSetBuoyancy( float Buoyancy ) -> void +- llSetForce( vector Force, integer Local ) -> void +- llSetForceAndTorque( vector Force, vector Torque, integer Local ) -> void +- llSetHoverHeight( float Height, integer Water, float Tau ) -> void +- llSetKeyframedMotion( list Keyframes, list Options ) -> void +- llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void +- llSetStatus( integer Status, integer Value ) -> void +- llSetTorque( vector Torque, integer Local ) -> void +- llSetVelocity( vector Velocity, integer Local ) -> void +- llStopHover( ) -> void +- llStopLookAt( ) -> void +- llStopMoveToTarget( ) -> void +- llStopPointAt( ) -> void // private // deprecated +- llTargetOmega( vector Axis, float SpinRate, float Gain ) -> void +- llVolumeDetect( integer DetectEnabled ) -> void +prim: +- llAvatarOnSitTarget( ) -> key +- llClearPrimMedia( integer Face ) -> integer +- llGetAlpha( integer Face ) -> float +- llGetColor( integer Face ) -> vector +- llGetCreator( ) -> key +- llGetKey( ) -> key +- llGetLinkNumber( ) -> integer +- llGetLocalPos( ) -> vector +- llGetLocalRot( ) -> rotation +- llGetNumberOfSides( ) -> integer +- llGetObjectDesc( ) -> string +- llGetObjectName( ) -> string +- llGetPhysicsMaterial( ) -> list +- llGetPos( ) -> vector +- llGetPrimMediaParams( integer Face, list Parameters ) -> list +- llGetPrimitiveParams( list Parameters ) -> list +- llGetRenderMaterial( integer Face ) -> string +- llGetRot( ) -> rotation +- llGetScale( ) -> vector +- llGetTexture( integer Face ) -> string +- llGetTextureOffset( integer Face ) -> vector +- llGetTextureRot( integer Face ) -> float +- llGetTextureScale( integer Face ) -> vector +- llOffsetTexture( float OffsetS, float OffsetT, integer Face ) -> void +- llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void +- llRotateTexture( float Radians, integer Face ) -> void +- llScaleTexture( float Horizontal, float Vertical, integer Face ) -> void +- llSetAlpha( float Opacity, integer Face ) -> void +- llSetColor( vector Color, integer Face ) -> void +- llSetLocalRot( rotation Rotation ) -> void +- llSetObjectDesc( string Description ) -> void +- llSetObjectName( string Name ) -> void +- llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void +- llSetPos( vector Position ) -> void +- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer +- llSetPrimURL( string URL ) -> void // deprecated +- llSetPrimitiveParams( list Parameters ) -> void // deprecated +- llSetRegionPos( vector Position ) -> integer +- llSetRenderMaterial( string Material, integer Face ) -> void +- llSetRot( rotation Rotation ) -> void +- llSetScale( vector Scale ) -> void +- llSetSitText( string Text ) -> void +- llSetTexture( string Texture, integer Face ) -> void +- llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +- llSitTarget( vector Offset, rotation Rotation ) -> void +prim_appearance: +- changed( integer Changed ) +- llGetAlpha( integer Face ) -> float +- llGetColor( integer Face ) -> vector +- llGetLinkNumberOfSides( integer LinkNumber ) -> integer +- llGetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> list +- llGetMaxScaleFactor( ) -> float +- llGetMinScaleFactor( ) -> float +- llGetNumberOfSides( ) -> integer +- llGetPrimitiveParams( list Parameters ) -> list +- llGetRenderMaterial( integer Face ) -> string +- llGetTexture( integer Face ) -> string +- llGetTextureOffset( integer Face ) -> vector +- llGetTextureRot( integer Face ) -> float +- llGetTextureScale( integer Face ) -> vector +- llIsLinkGLTFMaterial( integer link, integer face ) -> integer +- llLinear2sRGB( vector color ) -> vector +- llOffsetTexture( float OffsetS, float OffsetT, integer Face ) -> void +- llRotateTexture( float Radians, integer Face ) -> void +- llScaleByFactor( float ScalingFactor ) -> integer +- llScaleTexture( float Horizontal, float Vertical, integer Face ) -> void +- llSetAlpha( float Opacity, integer Face ) -> void +- llSetColor( vector Color, integer Face ) -> void +- llSetLinkAlpha( integer LinkNumber, float Opacity, integer Face ) -> void +- llSetLinkColor( integer LinkNumber, vector Color, integer Face ) -> void +- llSetLinkGLTFOverrides( integer link, integer face, list options ) -> void +- llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated +- llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void +- llSetLinkRenderMaterial( integer LinkNumber, string RenderMaterial, integer Face ) -> void +- llSetLinkTexture( integer LinkNumber, string Texture, integer Face ) -> void +- llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +- llSetPrimitiveParams( list Parameters ) -> void // deprecated +- llSetRenderMaterial( string Material, integer Face ) -> void +- llSetScale( vector Scale ) -> void +- llSetText( string Text, vector Color, float Opacity ) -> void +- llSetTexture( string Texture, integer Face ) -> void +- llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void +- llsRGB2Linear( vector srgb ) -> vector +prim_inventory: +- changed( integer Changed ) +- llAllowInventoryDrop( integer Flag ) -> void +- llDerezObject( key ID, integer flags ) -> integer +- llGetInventoryAcquireTime( string InventoryItem ) -> string +- llGetInventoryCreator( string InventoryItem ) -> key +- llGetInventoryDesc( string InventoryItem ) -> string +- llGetInventoryKey( string InventoryItem ) -> key +- llGetInventoryName( integer InventoryType, integer Index ) -> string +- llGetInventoryNumber( integer InventoryType ) -> integer +- llGetInventoryPermMask( string InventoryItem, integer BitMask ) -> integer +- llGetInventoryType( string InventoryItem ) -> integer +- llGetScriptName( ) -> string +- llGetScriptState( string ScriptName ) -> integer +- llGiveInventory( key TargetID, string InventoryItem ) -> void +- llGiveInventoryList( key TargetID, string FolderName, list InventoryItems ) -> void +- llGodLikeRezObject( key InventoryItemID, vector Position ) -> void +- llRemoteLoadScript( key Target, string ScriptName, integer Unknown1, integer Unknown2 ) -> void // private // deprecated +- llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void +- llRemoveInventory( string InventoryItem ) -> void +- llRequestInventoryData( string InventoryItem ) -> key +- llResetOtherScript( string ScriptName ) -> void +- llRezAtRoot( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void +- llRezObject( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void +- llRezObjectWithParams( string InventoryItem, list Params ) -> key +- llSetInventoryPermMask( string InventoryItem, integer PermissionFlag, integer PermissionMask ) -> void +- llSetRemoteScriptAccessPin( integer PIN ) -> void +- llSetScriptState( string ScriptName, integer Running ) -> void +prim_media: +- changed( integer Changed ) +- llClearLinkMedia( integer Link, integer Face ) -> integer +- llClearPrimMedia( integer Face ) -> integer +- llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list +- llGetPrimMediaParams( integer Face, list Parameters ) -> list +- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void +- llRefreshPrimURL( ) -> void // deprecated +- llSetContentType( key HTTPRequestID, integer ContentType ) -> void +- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer +- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer +- llSetPrimURL( string URL ) -> void // deprecated +prim_properties: +- llGetObjectDesc( ) -> string +- llGetObjectDetails( key ID, list Parameters ) -> list +- llGetObjectName( ) -> string +- llGetPrimitiveParams( list Parameters ) -> list +- llSetClickAction( integer Action ) -> void +- llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated +- llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void +- llSetObjectDesc( string Description ) -> void +- llSetObjectName( string Name ) -> void +- llSetPayPrice( integer Price, list QuickButtons ) -> void +- llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void +- llSetPrimitiveParams( list Parameters ) -> void // deprecated +- llSetStatus( integer Status, integer Value ) -> void +- llSetText( string Text, vector Color, float Opacity ) -> void +- llSetTouchText( string Text ) -> void +quaternion: +- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float +- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation +- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation +- llEuler2Rot( vector Vector ) -> rotation +- llRot2Angle( rotation Rotation ) -> float +- llRot2Axis( rotation Rotation ) -> vector +- llRot2Euler( rotation Rotation ) -> vector +- llRot2Fwd( rotation Rotation ) -> vector +- llRot2Left( rotation Rotation ) -> vector +- llRot2Up( rotation Rotation ) -> vector +- llRotBetween( vector Vector1, vector Vector2 ) -> rotation +region: +- changed( integer Changed ) +- llCloud( vector Offset ) -> float // deprecated +- llEdgeOfWorld( vector Position, vector Direction ) -> integer +- llGetAgentList( integer Scope, list Options ) -> list +- llGetEnv( string DataRequest ) -> string +- llGetRegionAgentCount( ) -> integer +- llGetRegionCorner( ) -> vector +- llGetRegionDayLength( ) -> integer +- llGetRegionDayOffset( ) -> integer +- llGetRegionFPS( ) -> float +- llGetRegionFlags( ) -> integer +- llGetRegionMoonDirection( ) -> vector +- llGetRegionMoonRotation( ) -> rotation +- llGetRegionName( ) -> string +- llGetRegionSunDirection( ) -> vector +- llGetRegionSunRotation( ) -> rotation +- llGetRegionTimeDilation( ) -> float +- llGetRegionTimeOfDay( ) -> float +- llGetSimStats( integer StatType ) -> float +- llGetSimulatorHostname( ) -> string +- llGround( vector Offset ) -> float +- llGroundContour( vector Offset ) -> vector +- llGroundNormal( vector Offset ) -> vector +- llGroundRepel( float Height, integer Water, float Tau ) -> void +- llGroundSlope( vector Offset ) -> vector +- llModifyLand( integer Action, integer Area ) -> void +- llRequestSimulatorData( string RegionName, integer Data ) -> key +- llSetGroundTexture( list Changes ) -> integer +- llWater( vector Offset ) -> float +- llWind( vector Offset ) -> vector +region_appearance: +- llGetRegionMoonDirection( ) -> vector +- llGetRegionMoonRotation( ) -> rotation +- llGetRegionSunDirection( ) -> vector +- llGetRegionSunRotation( ) -> rotation +- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer +- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer +rez: +- object_rez( key RezzedObjectsID ) +- on_rez( integer StartParameter ) +- llDerezObject( key ID, integer flags ) -> integer +- llDie( ) -> void +- llGetStartParameter( ) -> integer +- llGetStartString( ) -> string +- llGodLikeRezObject( key InventoryItemID, vector Position ) -> void +- llReturnObjectsByID( list ObjectIDs ) -> integer +- llReturnObjectsByOwner( key ID, integer Scope ) -> integer +- llRezAtRoot( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void +- llRezObject( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void +- llRezObjectWithParams( string InventoryItem, list Params ) -> key +script: +- changed( integer Changed ) +- on_rez( integer StartParameter ) +- state_entry( ) +- state_exit( ) +- timer( ) +- llGetAndResetTime( ) -> float +- llGetEnergy( ) -> float +- llGetFreeMemory( ) -> integer +- llGetFreeURLs( ) -> integer +- llGetMemoryLimit( ) -> integer +- llGetSPMaxMemory( ) -> integer +- llGetScriptName( ) -> string +- llGetScriptState( string ScriptName ) -> integer +- llGetStartParameter( ) -> integer +- llGetStartString( ) -> string +- llGetTime( ) -> float +- llGetUsedMemory( ) -> integer +- llMinEventDelay( float Delay ) -> void +- llRemoteLoadScript( key Target, string ScriptName, integer Unknown1, integer Unknown2 ) -> void // private // deprecated +- llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void +- llResetOtherScript( string ScriptName ) -> void +- llResetScript( ) -> void +- llResetTime( ) -> void +- llScriptDanger( vector Position ) -> integer +- llScriptProfiler( integer State ) -> void +- llSetMemoryLimit( integer Limit ) -> integer +- llSetRemoteScriptAccessPin( integer PIN ) -> void +- llSetScriptState( string ScriptName, integer Running ) -> void +- llSetTimerEvent( float Rate ) -> void +- llSleep( float Time ) -> void +script_communication: +- http_request( key HTTPRequestID, string HTTPMethod, string Body ) +- http_response( key HTTPRequestID, integer Status, list Metadata, string Body ) +- link_message( integer SendersLink, integer Value, string Text, key ID ) +- listen( integer Channel, string Name, key ID, string Text ) +- remote_data( integer EventType, key ChannelID, key MessageID, string Sender, integer IData, string SData ) // deprecated +- llCloseRemoteDataChannel( key ChannelID ) -> void // deprecated +- llGetNextEmail( string Address, string Subject ) -> void +- llHTTPRequest( string URL, list Parameters, string Body ) -> key +- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void +- llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer +- llListenControl( integer ChannelHandle, integer Active ) -> void +- llListenRemove( integer ChannelHandle ) -> void +- llMessageLinked( integer LinkNumber, integer Number, string Text, key ID ) -> void +- llOpenRemoteDataChannel( ) -> void // deprecated +- llRegionSay( integer Channel, string Text ) -> void +- llRegionSayTo( key TargetID, integer Channel, string Text ) -> void +- llRemoteDataReply( key ChannelID, key MessageID, string sData, integer iData ) -> void // deprecated +- llRemoteDataSetRegion( ) -> void // deprecated +- llRequestSecureURL( ) -> key +- llRequestURL( ) -> key +- llSay( integer Channel, string Text ) -> void +- llSendRemoteData( key ChannelID, string Destination, integer Value, string Text ) -> key // deprecated +- llShout( integer Channel, string Text ) -> void +- llWhisper( integer Channel, string Text ) -> void +sensor: +- collision( integer NumberOfCollisions ) +- collision_end( integer NumberOfCollisions ) +- collision_start( integer NumberOfCollisions ) +- no_sensor( ) +- sensor( integer NumberDetected ) +- llCastRay( vector Start, vector End, list Options ) -> list +- llCollisionFilter( string ObjectName, key ObjectID, integer Accept ) -> void +- llPassCollisions( integer Pass ) -> void +- llSensor( string Name, key ID, integer Type, float Range, float Arc ) -> void +- llSensorRemove( ) -> void +- llSensorRepeat( string Name, key ID, integer Type, float Range, float Arc, float Rate ) -> void +- llVolumeDetect( integer DetectEnabled ) -> void +sit: +- changed( integer Changed ) +- llAvatarOnLinkSitTarget( integer LinkNumber ) -> key +- llAvatarOnSitTarget( ) -> key +- llGetLinkSitFlags( integer LinkNumber ) -> integer +- llLinkSitTarget( integer LinkNumber, vector Offset, rotation Rotation ) -> void +- llSetLinkCamera( integer LinkNumber, vector EyeOffset, vector LookOffset ) -> void +- llSetLinkSitFlags( integer LinkNumber, integer Flags ) -> void +- llSetSitText( string Text ) -> void +- llSitOnLink( key AvatarID, integer LinkID ) -> integer +- llSitTarget( vector Offset, rotation Rotation ) -> void +- llUnSit( key AvatarID ) -> void +sound: +- llAdjustSoundVolume( float Volume ) -> void +- llCollisionSound( string ImpactSound, float ImpactVolume ) -> void +- llCollisionSprite( string ImpactSprite ) -> void // deprecated +- llLinkAdjustSoundVolume( integer LinkNumber, float Volume ) -> void +- llLinkPlaySound( integer LinkNumber, string Sound, float Volume, integer Flags ) -> void +- llLinkSetSoundQueueing( integer LinkNumber, integer QueueEnable ) -> void +- llLinkSetSoundRadius( integer LinkNumber, float radius ) -> void +- llLinkStopSound( integer LinkNumber ) -> void +- llLoopSound( string Sound, float Volume ) -> void +- llLoopSoundMaster( string Sound, float Volume ) -> void +- llLoopSoundSlave( string Sound, float Volume ) -> void +- llPlaySound( string Sound, float Volume ) -> void +- llPlaySoundSlave( string Sound, float Volume ) -> void +- llPreloadSound( string Sound ) -> void +- llSetSoundQueueing( integer QueueEnable ) -> void +- llSetSoundRadius( float Radius ) -> void +- llSound( string Sound, float Volume, integer Queue, integer Loop ) -> void // deprecated +- llSoundPreload( string Sound ) -> void // deprecated +- llStopSound( ) -> void +- llTriggerSound( string Sound, float Volume ) -> void +- llTriggerSoundLimited( string Sound, float Volume, vector TNE, vector BSW ) -> void +string: +- llChar( integer value ) -> string +- llDeleteSubString( string Source, integer Start, integer End ) -> string +- llGetSubString( string String, integer Start, integer End ) -> string +- llInsertString( string TargetVariable, integer Position, string SourceVariable ) -> string +- llOrd( string value, integer index ) -> integer +- llReplaceSubString( string InitialString, string SubString, string NewSubString, integer Count ) -> string +- llStringLength( string Text ) -> integer +- llStringTrim( string Text, integer TrimType ) -> string +- llSubStringIndex( string Text, string Sequence ) -> integer +- llToLower( string Text ) -> string +- llToUpper( string Text ) -> string +teleport: +- changed( integer Changed ) +- llMapDestination( string RegionName, vector Position, vector Direction ) -> void +- llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void +- llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void +- llTeleportAgentHome( key AvatarID ) -> void +time: +- timer( ) +- llGetDate( ) -> string +- llGetDayLength( ) -> integer +- llGetDayOffset( ) -> integer +- llGetGMTclock( ) -> float +- llGetRegionDayLength( ) -> integer +- llGetRegionDayOffset( ) -> integer +- llGetRegionTimeOfDay( ) -> float +- llGetTimeOfDay( ) -> float +- llGetTimestamp( ) -> string +- llGetUnixTime( ) -> integer +- llGetWallclock( ) -> float +- llSetTimerEvent( float Rate ) -> void +- llSleep( float Time ) -> void +touch: +- touch( integer NumberOfTouches ) +- touch_end( integer NumberOfTouches ) +- touch_start( integer NumberOfTouches ) +- llDetectedGrab( integer Number ) -> vector +- llDetectedTouchBinormal( integer Index ) -> vector +- llDetectedTouchFace( integer Index ) -> integer +- llDetectedTouchNormal( integer Index ) -> vector +- llDetectedTouchPos( integer Index ) -> vector +- llDetectedTouchST( integer Index ) -> vector +- llDetectedTouchUV( integer Index ) -> vector +- llPassTouches( integer Pass ) -> void +- llSetClickAction( integer Action ) -> void +- llSetTouchText( string Text ) -> void +user_interface: +- touch( integer NumberOfTouches ) +- touch_end( integer NumberOfTouches ) +- touch_start( integer NumberOfTouches ) +- llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void +- llLoadURL( key AvatarID, string Text, string URL ) -> void +- llMapBeacon( string RegionName, vector Position, list Options ) -> void +- llMapDestination( string RegionName, vector Position, vector Direction ) -> void +- llSetClickAction( integer Action ) -> void +- llSetPayPrice( integer Price, list QuickButtons ) -> void +- llSetSitText( string Text ) -> void +- llSetTouchText( string Text ) -> void +- llTextBox( key AvatarID, string Text, integer Channel ) -> void +- llWorldPosToHUD( vector world_pos ) -> vector +uuid: +- llDetectedKey( integer Number ) -> key +- llGenerateKey( ) -> key +- llGetKey( ) -> key +- llGetLinkKey( integer LinkNumber ) -> key +- llGetObjectLinkKey( key id, integer link_no ) -> key +- llGetOwner( ) -> key +- llGetOwnerKey( key ObjectID ) -> key +- llRequestUserKey( string Name ) -> key +vector: +- llRot2Axis( rotation Rotation ) -> vector +- llRot2Fwd( rotation Rotation ) -> vector +- llRot2Left( rotation Rotation ) -> vector +- llRot2Up( rotation Rotation ) -> vector +- llVecDist( vector Location1, vector Location2 ) -> float +- llVecMag( vector Vector ) -> float +- llVecNorm( vector Vector ) -> vector +vehicles: +- llRemoveVehicleFlags( integer Vehiclelags ) -> void +- llSetVehicleFlags( integer Flags ) -> void +- llSetVehicleFloatParam( integer ParameterName, float ParameterValue ) -> void +- llSetVehicleRotationParam( integer ParameterName, rotation ParameterValue ) -> void +- llSetVehicleType( integer Type ) -> void +- llSetVehicleVectorParam( integer ParameterName, vector ParameterValue ) -> void +web: +- http_request( key HTTPRequestID, string HTTPMethod, string Body ) +- http_response( key HTTPRequestID, integer Status, list Metadata, string Body ) +- llEscapeURL( string URL ) -> string +- llGetFreeURLs( ) -> integer +- llGetHTTPHeader( key HTTPRequestID, string Header ) -> string +- llHTTPRequest( string URL, list Parameters, string Body ) -> key +- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void +- llLoadURL( key AvatarID, string Text, string URL ) -> void +- llRefreshPrimURL( ) -> void // deprecated +- llReleaseURL( string URL ) -> void +- llRequestSecureURL( ) -> key +- llRequestURL( ) -> key +- llSetContentType( key HTTPRequestID, integer ContentType ) -> void +- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer +- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer +- llSetPrimURL( string URL ) -> void // deprecated +- llUnescapeURL( string URL ) -> string diff --git a/lsl_definitions/generators/experimental.py b/lsl_definitions/generators/experimental.py index 1896a463..ae21d867 100644 --- a/lsl_definitions/generators/experimental.py +++ b/lsl_definitions/generators/experimental.py @@ -69,3 +69,26 @@ def gen_category_functions(definitions: LSLDefinitions) -> str: categories = {k: categories[k] for k in sorted(categories.keys())} yaml.safe_dump(categories, file, sort_keys=False, width=200) return file.getvalue() + + +@register("gen_category_docs") +def gen_category_docs(definitions: LSLDefinitions) -> str: + file = io.StringIO() + file.write("# Functions by category\n") + categories = {} + + for event in sorted(definitions.events.values(), key=lambda x: x.name): + for category in event.categories: + builtins_str = f"{event.name}{event.args_str}" + builtins_str += lsl_annotations(event) + categories.setdefault(category, []).append(builtins_str) + + for func in sorted(definitions.functions.values(), key=lambda x: x.name): + for category in func.categories: + builtins_str = f"{func.name}{func.args_str} -> {func.ret_type!s}" + builtins_str += lsl_annotations(func) + categories.setdefault(category, []).append(builtins_str) + + categories = {k: categories[k] for k in sorted(categories.keys())} + yaml.safe_dump(categories, file, sort_keys=False, width=200) + return file.getvalue() From 9d06c2064080a9d78d59f96d35585b6f94dca23c Mon Sep 17 00:00:00 2001 From: tapple Date: Sat, 6 Jun 2026 16:59:39 -0700 Subject: [PATCH 8/8] category docs generator --- generated/experimental/category_docs.yaml | 5202 ++++++++++++++++---- lsl_definitions/generators/experimental.py | 8 +- 2 files changed, 4167 insertions(+), 1043 deletions(-) diff --git a/generated/experimental/category_docs.yaml b/generated/experimental/category_docs.yaml index b3953a59..e40e2ba8 100644 --- a/generated/experimental/category_docs.yaml +++ b/generated/experimental/category_docs.yaml @@ -1,1104 +1,4224 @@ # Functions by category asset_permissions: -- changed( integer Changed ) -- llGetInventoryPermMask( string InventoryItem, integer BitMask ) -> integer -- llGetObjectPermMask( integer Category ) -> integer -- llSetInventoryPermMask( string InventoryItem, integer PermissionFlag, integer PermissionMask ) -> void -- llSetObjectPermMask( integer PermissionFlag, integer PermissionMask ) -> void -- llTransferOwnership( key AgentID, integer Flags, list Params ) -> integer + changed( integer Changed ): + Changed: '' + tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + llGetInventoryPermMask( string InventoryItem, integer BitMask ) -> integer: + InventoryItem: Inventory item name. + BitMask: MASK_BASE, MASK_OWNER, MASK_GROUP, MASK_EVERYONE or MASK_NEXT + tooltip: Returns the requested permission mask for the inventory item.\nReturns the requested permission mask for the inventory item defined by InventoryItem. If item is not in the object's inventory, + llGetInventoryPermMask returns FALSE and causes the object to say "No item named ''", where "" is item. + llGetObjectPermMask( integer Category ) -> integer: + Category: Category is one of MASK_BASE, MASK_OWNER, MASK_GROUP, MASK_EVERYONE, or MASK_NEXT + tooltip: Returns the permission mask of the requested category for the object. + llSetInventoryPermMask( string InventoryItem, integer PermissionFlag, integer PermissionMask ) -> void: + InventoryItem: An item in the prim's inventory + PermissionFlag: MASK_* flag + PermissionMask: Permission bit-field (PERM_* flags) + tooltip: Sets the given permission mask to the new value on the inventory item. + llSetObjectPermMask( integer PermissionFlag, integer PermissionMask ) -> void: + PermissionFlag: MASK_* flag + PermissionMask: Permission bit-field (PERM_* flags) + tooltip: Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to. + llTransferOwnership( key AgentID, integer Flags, list Params ) -> integer: + AgentID: An agent in the region. + Flags: Flags to control type of inventory transfer. + Params: Extra parameters to llTransferOwnership. None are defined at this time. + tooltip: Transfers ownership of an object, or a copy of the object to a new agent. attachments: -- attach( key AvatarID ) -- llAttachToAvatar( integer AttachmentPoint ) -> void -- llAttachToAvatarTemp( integer AttachPoint ) -> void -- llDetachFromAvatar( ) -> void -- llGetAttached( ) -> integer -- llGetAttachedList( key ID ) -> list -- llGetAttachedListFiltered( key AgentID, list Options ) -> list + attach( key AvatarID ): + AvatarID: '' + tooltip: This event is triggered whenever an object is attached or detached from an avatar. If it is attached, the key of the avatar it is attached to is passed in, otherwise NULL_KEY is. + llAttachToAvatar( integer AttachmentPoint ) -> void: + AttachmentPoint: '' + tooltip: Attach to avatar at point AttachmentPoint.\nRequires the PERMISSION_ATTACH runtime permission. + llAttachToAvatarTemp( integer AttachPoint ) -> void: + AttachPoint: Valid attachment point or ATTACH_* constant. + tooltip: Follows the same convention as llAttachToAvatar, with the exception that the object will not create new inventory for the user, and will disappear on detach or disconnect.\nRequires the PERMISSION_ATTACH + runtime permission. + llDetachFromAvatar( ) -> void: + tooltip: Remove the object containing the script from the avatar.\nRequires the PERMISSION_ATTACH runtime permission (automatically granted to attached objects). + llGetAttached( ) -> integer: + tooltip: Returns the object's attachment point, or 0 if not attached. + llGetAttachedList( key ID ) -> list: + ID: Avatar to get attachments + tooltip: Returns a list of keys of all visible (not HUD) attachments on the avatar identified by the ID argument, or a list containing 1 string on error. + llGetAttachedListFiltered( key AgentID, list Options ) -> list: + AgentID: An agent in the region. + Options: A list of option for inventory transfer. + tooltip: Retrieves a list of attachments on an avatar, or a list containing 1 string on error. avatar: -- control( key AvatarID, integer Levels, integer Edges ) -- experience_permissions( key agent_id ) -- experience_permissions_denied( key agent_id, integer Reason ) -- game_control( key id, integer buttons, list axes ) -- llAgentInExperience( key AgentID ) -> integer -- llAttachToAvatar( integer AttachmentPoint ) -> void -- llAttachToAvatarTemp( integer AttachPoint ) -> void -- llAvatarOnLinkSitTarget( integer LinkNumber ) -> key -- llAvatarOnSitTarget( ) -> key -- llClearCameraParams( ) -> void -- llDetachFromAvatar( ) -> void -- llDetectedOwner( integer Number ) -> key -- llForceMouselook( integer Enable ) -> void -- llGetAgentInfo( key AvatarID ) -> integer -- llGetAgentLanguage( key AvatarID ) -> string -- llGetAgentList( integer Scope, list Options ) -> list -- llGetAgentSize( key AvatarID ) -> vector -- llGetAnimation( key AvatarID ) -> string -- llGetAnimationList( key AvatarID ) -> list -- llGetAnimationOverride( string AnimationState ) -> string -- llGetAttachedList( key ID ) -> list -- llGetAttachedListFiltered( key AgentID, list Options ) -> list -- llGetCameraAspect( ) -> float -- llGetCameraFOV( ) -> float -- llGetCameraPos( ) -> vector -- llGetCameraRot( ) -> rotation -- llGetDisplayName( key AvatarID ) -> string -- llGetPermissionsKey( ) -> key -- llGetUsername( key AvatarID ) -> string -- llGetVisualParams( key ID, list Parameters ) -> list -- llGiveMoney( key AvatarID, integer Amount ) -> integer -- llIsFriend( key agent_id ) -> integer -- llName2Key( string Name ) -> key -- llReleaseCamera( key AvatarID ) -> void // deprecated -- llReleaseControls( ) -> void -- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer -- llRequestAgentData( key AvatarID, integer Data ) -> key -- llRequestDisplayName( key AvatarID ) -> key -- llRequestExperiencePermissions( key AgentID, string unused ) -> void -- llRequestUserKey( string Name ) -> key -- llRequestUsername( key AvatarID ) -> key -- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer -- llSetAgentRot( rotation rot, integer flags ) -> void -- llSetCameraParams( list Parameters ) -> void -- llStartAnimation( string Animation ) -> void -- llStopAnimation( string Animation ) -> void -- llTakeCamera( key AvatarID ) -> void // deprecated -- llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void -- llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void -- llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void -- llTeleportAgentHome( key AvatarID ) -> void -- llUnSit( key AvatarID ) -> void -- llWorldPosToHUD( vector world_pos ) -> vector + control( key AvatarID, integer Levels, integer Edges ): + AvatarID: '' + Levels: '' + Edges: '' + tooltip: "Once a script has the ability to grab control inputs from the avatar, this event will be used to pass the commands into the script.\n\t\t\tThe levels and edges are bit-fields of control constants." + experience_permissions( key agent_id ): + agent_id: ID of the agent approving permission for the Experience. + tooltip: Triggered when an agent has approved an experience permissions request. + experience_permissions_denied( key agent_id, integer Reason ): + agent_id: ID of the agent denying permission for the Experience. + Reason: One of the XP_ERROR_... constants describing the reason why the Experience permissions were denied for the agent. + tooltip: Describes why the Experience permissions were denied for the agent. + game_control( key id, integer buttons, list axes ): + id: UUID of avatar supplying input + buttons: 32-bit mask of buttons pressed + axes: Six float values in range [-1, 1] + tooltip: This event is raised when game controller input changes. + llAgentInExperience( key AgentID ) -> integer: + AgentID: '' + tooltip: "\n Returns TRUE if the agent is in the Experience and the Experience can run in the current location.\n " + llAttachToAvatar( integer AttachmentPoint ) -> void: + AttachmentPoint: '' + tooltip: Attach to avatar at point AttachmentPoint.\nRequires the PERMISSION_ATTACH runtime permission. + llAttachToAvatarTemp( integer AttachPoint ) -> void: + AttachPoint: Valid attachment point or ATTACH_* constant. + tooltip: Follows the same convention as llAttachToAvatar, with the exception that the object will not create new inventory for the user, and will disappear on detach or disconnect.\nRequires the PERMISSION_ATTACH + runtime permission. + llAvatarOnLinkSitTarget( integer LinkNumber ) -> key: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + tooltip: If an avatar is sitting on the link's sit target, return the avatar's key, NULL_KEY otherwise.\nReturns a key that is the UUID of the user seated on the specified link's prim. + llAvatarOnSitTarget( ) -> key: + tooltip: If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY.\nThis only will detect avatars sitting on sit targets defined with llSitTarget. + llClearCameraParams( ) -> void: + tooltip: Resets all camera parameters to default values and turns off scripted camera control.\nRequires the PERMISSION_CONTROL_CAMERA runtime permission (automatically granted to attached or sat on + objects). + llDetachFromAvatar( ) -> void: + tooltip: Remove the object containing the script from the avatar.\nRequires the PERMISSION_ATTACH runtime permission (automatically granted to attached objects). + llDetectedOwner( integer Number ) -> key: + Number: '' + tooltip: Returns the key of detected object's owner.\nReturns invalid key if Number is not a valid index. + llForceMouselook( integer Enable ) -> void: + Enable: Boolean, if TRUE when an avatar sits on the prim, the avatar will be forced into mouse-look mode.\nFALSE is the default setting and will undo a previously set TRUE or do nothing. + tooltip: If Enable is TRUE any avatar that sits on this object is forced into mouse-look mode.\nAfter calling this function with Enable set to TRUE, any agent sitting down on the prim will be forced + into mouse-look.\nJust like llSitTarget, this changes a permanent property of the prim (not the object) and needs to be reset by calling this function with Enable set to FALSE in order to disable + it. + llGetAgentInfo( key AvatarID ) -> integer: + AvatarID: '' + tooltip: "Returns an integer bit-field containing the agent information about id.\\n\n Returns 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, AGENT_IN_AIR and/or AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT.\\nReturns information about the given agent ID\ + \ as a bit-field of agent info constants." + llGetAgentLanguage( key AvatarID ) -> string: + AvatarID: '' + tooltip: Returns the language code of the preferred interface language of the avatar.\nReturns a string that is the language code of the preferred interface language of the resident. + llGetAgentList( integer Scope, list Options ) -> list: + Scope: The scope (region, parcel, parcel same owner) to return agents for. + Options: List of options to apply. Current unused. + tooltip: Requests a list of agents currently in the region, limited by the scope parameter.\nReturns a list [key UUID-0, key UUID-1, ..., key UUID-n] or [string error_msg] - returns avatar keys for + all agents in the region limited to the area(s) specified by scope + llGetAgentSize( key AvatarID ) -> vector: + AvatarID: '' + tooltip: If the avatar is in the same region, returns the size of the bounding box of the requested avatar by id, otherwise returns ZERO_VECTOR.\nIf the agent is in the same region as the object, returns + the size of the avatar. + llGetAnimation( key AvatarID ) -> string: + AvatarID: '' + tooltip: Returns the name of the currently playing locomotion animation for the avatar id.\nReturns the currently playing animation for the specified avatar ID. + llGetAnimationList( key AvatarID ) -> list: + AvatarID: '' + tooltip: Returns a list of keys of playing animations for an avatar.\nReturns a list of keys of all playing animations for the specified avatar ID. + llGetAnimationOverride( string AnimationState ) -> string: + AnimationState: '' + tooltip: Returns a string that is the name of the animation that is used for the specified animation state.\nRequires the PERMISSION_OVERRIDE_ANIMATIONS or PERMISSION_TRIGGER_ANIMATION runtime permission + (automatically granted to attached objects). + llGetAttachedList( key ID ) -> list: + ID: Avatar to get attachments + tooltip: Returns a list of keys of all visible (not HUD) attachments on the avatar identified by the ID argument, or a list containing 1 string on error. + llGetAttachedListFiltered( key AgentID, list Options ) -> list: + AgentID: An agent in the region. + Options: A list of option for inventory transfer. + tooltip: Retrieves a list of attachments on an avatar, or a list containing 1 string on error. + llGetCameraAspect( ) -> float: + tooltip: 'Returns the current camera aspect ratio (width / height) of the agent who has granted the scripted object PERMISSION_TRACK_CAMERA permissions. If no permissions have been granted: it returns + zero.' + llGetCameraFOV( ) -> float: + tooltip: 'Returns the current camera field of view of the agent who has granted the scripted object PERMISSION_TRACK_CAMERA permissions. If no permissions have been granted: it returns zero.' + llGetCameraPos( ) -> vector: + tooltip: Returns the current camera position for the agent the task has permissions for.\nReturns the position of the camera, of the user that granted the script PERMISSION_TRACK_CAMERA. If no user + has granted the permission, it returns ZERO_VECTOR. + llGetCameraRot( ) -> rotation: + tooltip: Returns the current camera orientation for the agent the task has permissions for. If no user has granted the PERMISSION_TRACK_CAMERA permission, returns ZERO_ROTATION. + llGetDisplayName( key AvatarID ) -> string: + AvatarID: Avatar UUID that is in the same region, or is otherwise known to the region. + tooltip: Returns the display name of an avatar, if the avatar is connected to the current region, or if the name has been cached. Otherwise, returns an empty string. Use llRequestDisplayName if the + avatar may be absent from the region. + llGetPermissionsKey( ) -> key: + tooltip: Returns the key of the avatar that last granted or declined permissions to the script.\nReturns NULL_KEY if permissions were never granted or declined. + llGetUsername( key AvatarID ) -> string: + AvatarID: '' + tooltip: Returns the username of an avatar, if the avatar is connected to the current region, or if the name has been cached. Otherwise, returns an empty string. Use llRequestUsername if the avatar + may be absent from the region. + llGetVisualParams( key ID, list Parameters ) -> list: + ID: Avatar UUID in the same region. + Parameters: List of visual parameter IDs. + tooltip: Returns a list of the current value for each requested visual parameter. + llGiveMoney( key AvatarID, integer Amount ) -> integer: + AvatarID: '' + Amount: '' + tooltip: Transfers Amount of L$ from script owner to AvatarID.\nThis call will silently fail if PERMISSION_DEBIT has not been granted. + llIsFriend( key agent_id ) -> integer: + agent_id: Agent ID of another agent in the region. + tooltip: Returns TRUE if avatar ID is a friend of the script owner. + llName2Key( string Name ) -> key: + Name: Name of agent in region to look up. + tooltip: Look up Agent ID for the named agent in the region. + llReleaseCamera( key AvatarID ) -> void // deprecated: + AvatarID: '' + tooltip: 'Return camera to agent.\nDeprecated: Use llClearCameraParams instead.' + llReleaseControls( ) -> void: + tooltip: Stop taking inputs.\nStop taking inputs from the avatar. + llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer: + agent_id: '' + transition: '' + environment: '' + tooltip: Replaces the entire environment for an agent. Must be used as part of an experience. + llRequestAgentData( key AvatarID, integer Data ) -> key: + AvatarID: '' + Data: '' + tooltip: Requests data about AvatarID. When data is available the dataserver event will be raised.\nThis function requests data about an avatar. If and when the information is collected, the dataserver + event is triggered with the key returned from this function passed in the requested parameter. See the agent data constants (DATA_*) for details about valid values of data and what each will return + in the dataserver event. + llRequestDisplayName( key AvatarID ) -> key: + AvatarID: Avatar UUID + tooltip: Requests the display name of the agent. When the display name is available the dataserver event will be raised.\nThe avatar identified does not need to be in the same region or online at the + time of the request.\nReturns a key that is used to identify the dataserver event when it is raised. + llRequestExperiencePermissions( key AgentID, string unused ) -> void: + AgentID: '' + unused: Not used, should be "" + tooltip: "\n Ask the agent for permission to participate in an experience. This request is similar to llRequestPermissions with the following permissions: PERMISSION_TAKE_CONTROLS,\ + \ PERMISSION_TRIGGER_ANIMATION, PERMISSION_ATTACH, PERMISSION_TRACK_CAMERA, PERMISSION_CONTROL_CAMERA and PERMISSION_TELEPORT. However, unlike llRequestPermissions the decision to allow or block the\ + \ request is persistent and applies to all scripts using the experience grid wide. Subsequent calls to llRequestExperiencePermissions from scripts in the experience will receive the same response\ + \ automatically with no user interaction. One of experience_permissions or experience_permissions_denied will be generated in response to this call. Outstanding permission requests will be lost if\ + \ the script is derezzed, moved to another region or reset.\n " + llRequestUserKey( string Name ) -> key: + Name: Name of agent to look up. + tooltip: Look up Agent ID for the named agent using a historical name. + llRequestUsername( key AvatarID ) -> key: + AvatarID: '' + tooltip: Requests single-word user-name of an avatar. When data is available the dataserver event will be raised.\nRequests the user-name of the identified agent. When the user-name is available the + dataserver event is raised.\nThe agent identified does not need to be in the same region or online at the time of the request.\nReturns a key that is used to identify the dataserver event when it + is raised. + llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer: + agent_id: Agent to receive new environment settings. + transition: Number of seconds over which to apply new settings. + Settings: List of environment settings to replace for agent. + tooltip: Sets an agent's environmental values to the specified values. Must be used as part of an experience. + llSetAgentRot( rotation rot, integer flags ) -> void: + rot: Rotation to turn the avatar to face. + flags: flags + tooltip: Sets the avatar rotation to the given value. + llSetCameraParams( list Parameters ) -> void: + Parameters: '' + tooltip: Sets multiple camera parameters at once. List format is [ rule-1, data-1, rule-2, data-2 . . . rule-n, data-n ].\nRequires the PERMISSION_CONTROL_CAMERA runtime permission (automatically granted + to attached or sat on objects). + llStartAnimation( string Animation ) -> void: + Animation: '' + tooltip: This function plays the specified animation from playing on the avatar who received the script's most recent permissions request.\nAnimation may be an animation in task inventory or a built-in + animation.\nRequires the PERMISSION_TRIGGER_ANIMATION runtime permission (automatically granted to attached or sat on objects). + llStopAnimation( string Animation ) -> void: + Animation: '' + tooltip: This function stops the specified animation on the avatar who received the script's most recent permissions request.\nAnimation may be an animation in task inventory, a built-in animation, + or the uuid of an animation.\nRequires the PERMISSION_TRIGGER_ANIMATION runtime permission (automatically granted to attached or sat on objects). + llTakeCamera( key AvatarID ) -> void // deprecated: + AvatarID: '' + tooltip: 'Deprecated: Use llSetCameraParams instead.' + llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void: + Controls: Bit-field of CONTROL_* flags. + Accept: Boolean, determines whether control events are generated. + PassOn: Boolean, determines whether controls are disabled. + tooltip: Take controls from the agent the script has permissions for.\nIf (Accept == (Controls & input)), send input to the script. PassOn determines whether Controls also perform their normal functions.\nRequires + the PERMISSION_TAKE_CONTROLS runtime permission (automatically granted to attached or sat on objects). + llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void: + AvatarID: UUID of avatar. + LandmarkName: Name of landmark (in object contents), or empty string, to use. + Position: If no landmark was provided, the position within the current region to teleport the avatar to. + LookAtPoint: The position within the target region that the avatar should be turned to face upon arrival. + tooltip: Requests a teleport of avatar to a landmark stored in the object's inventory. If no landmark is provided (an empty string), the avatar is teleported to the location position in the current + region. In either case, the avatar is turned to face the position given by look_at in local coordinates.\nRequires the PERMISSION_TELEPORT runtime permission.\nThis function can only teleport the + owner of the object. + llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void: + AvatarID: UUID of avatar. + GlobalPosition: Global coordinates of the destination region. Can be retrieved by using llRequestSimulatorData(region_name, DATA_SIM_POS). + RegionPosition: The position within the target region to teleport the avatar to, if no landmark was provided. + LookAtPoint: The position within the target region that the avatar should be turned to face upon arrival. + tooltip: Teleports an agent to the RegionPosition local coordinates within a region which is specified by the GlobalPosition global coordinates. The agent lands facing the position defined by LookAtPoint + local coordinates.\nRequires the PERMISSION_TELEPORT runtime permission.\nThis function can only teleport the owner of the object. + llTeleportAgentHome( key AvatarID ) -> void: + AvatarID: '' + tooltip: Teleport agent over the owner's land to agent's home location. + llUnSit( key AvatarID ) -> void: + AvatarID: '' + tooltip: If agent identified by AvatarID is sitting on the object the script is attached to or is over land owned by the object's owner, the agent is forced to stand up. + llWorldPosToHUD( vector world_pos ) -> vector: + world_pos: The world-frame position to project into HUD space + tooltip: Returns the local position that would put the origin of a HUD object directly over world_pos as viewed by the current camera. Requires the PERMISSION_TRACK_CAMERA runtime permission (else will + return zero vector). avatar_animation: -- llGetAnimation( key AvatarID ) -> string -- llGetAnimationList( key AvatarID ) -> list -- llGetAnimationOverride( string AnimationState ) -> string -- llResetAnimationOverride( string AnimationState ) -> void -- llSetAnimationOverride( string AnimationState, string AnimationName ) -> void -- llStartAnimation( string Animation ) -> void -- llStopAnimation( string Animation ) -> void + llGetAnimation( key AvatarID ) -> string: + AvatarID: '' + tooltip: Returns the name of the currently playing locomotion animation for the avatar id.\nReturns the currently playing animation for the specified avatar ID. + llGetAnimationList( key AvatarID ) -> list: + AvatarID: '' + tooltip: Returns a list of keys of playing animations for an avatar.\nReturns a list of keys of all playing animations for the specified avatar ID. + llGetAnimationOverride( string AnimationState ) -> string: + AnimationState: '' + tooltip: Returns a string that is the name of the animation that is used for the specified animation state.\nRequires the PERMISSION_OVERRIDE_ANIMATIONS or PERMISSION_TRIGGER_ANIMATION runtime permission + (automatically granted to attached objects). + llResetAnimationOverride( string AnimationState ) -> void: + AnimationState: '' + tooltip: Resets the animation of the specified animation state to the default value.\nIf animation state equals "ALL", then all animation states are reset.\nRequires the PERMISSION_OVERRIDE_ANIMATIONS + permission (automatically granted to attached objects). + llSetAnimationOverride( string AnimationState, string AnimationName ) -> void: + AnimationState: '' + AnimationName: '' + tooltip: Sets the animation (in object inventory) that will play for the given animation state.\nTo use this function the script must obtain the PERMISSION_OVERRIDE_ANIMATIONS permission. + llStartAnimation( string Animation ) -> void: + Animation: '' + tooltip: This function plays the specified animation from playing on the avatar who received the script's most recent permissions request.\nAnimation may be an animation in task inventory or a built-in + animation.\nRequires the PERMISSION_TRIGGER_ANIMATION runtime permission (automatically granted to attached or sat on objects). + llStopAnimation( string Animation ) -> void: + Animation: '' + tooltip: This function stops the specified animation on the avatar who received the script's most recent permissions request.\nAnimation may be an animation in task inventory, a built-in animation, + or the uuid of an animation.\nRequires the PERMISSION_TRIGGER_ANIMATION runtime permission (automatically granted to attached or sat on objects). avatar_communication: -- email( string Time, string Address, string Subject, string Body, integer NumberRemaining ) -- listen( integer Channel, string Name, key ID, string Text ) -- llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void -- llEmail( string Address, string Subject, string Text ) -> void -- llInstantMessage( key AvatarID, string Text ) -> void -- llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer -- llListenControl( integer ChannelHandle, integer Active ) -> void -- llListenRemove( integer ChannelHandle ) -> void -- llLoadURL( key AvatarID, string Text, string URL ) -> void -- llMapBeacon( string RegionName, vector Position, list Options ) -> void -- llMapDestination( string RegionName, vector Position, vector Direction ) -> void -- llOpenFloater( string floater_name, string url, list params ) -> integer -- llOwnerSay( string Text ) -> void -- llRegionSayTo( key TargetID, integer Channel, string Text ) -> void -- llSay( integer Channel, string Text ) -> void -- llSetText( string Text, vector Color, float Opacity ) -> void -- llShout( integer Channel, string Text ) -> void -- llTargetedEmail( integer Target, string Subject, string Text ) -> void -- llTextBox( key AvatarID, string Text, integer Channel ) -> void -- llWhisper( integer Channel, string Text ) -> void + email( string Time, string Address, string Subject, string Body, integer NumberRemaining ): + Time: '' + Address: '' + Subject: '' + Body: '' + NumberRemaining: '' + tooltip: "This event is triggered when an email sent to this script arrives.\n\t\t\tThe number remaining tells how many more emails are known to be still pending." + listen( integer Channel, string Name, key ID, string Text ): + Channel: '' + Name: '' + ID: '' + Text: '' + tooltip: "This event is raised whenever a chat message matching the constraints set in the llListen command is received. The name and ID of the speaker, as well as the message, are passed in as parameters.\n\ + \t\t\tChannel 0 is the public chat channel that all avatars see as chat text. Channels 1 through 2,147,483,648 are private channels that are not sent to avatars but other scripts can listen on those\ + \ channels." + llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void: + AvatarID: '' + Text: '' + Buttons: '' + Channel: '' + tooltip: "Shows a dialog box on the avatar's screen with the message.\\n\n Up to 12 strings in the list form buttons.\\n\n If a button is clicked, the name is chatted\ + \ on Channel.\\nOpens a \"notify box\" in the given avatars screen displaying the message.\\n\n Up to twelve buttons can be specified in a list of strings. When the user clicks a button,\ + \ the name of the button is said on the specified channel.\\n\n Channels work just like llSay(), so channel 0 can be heard by everyone.\\n\n The chat originates at the\ + \ object's position, not the avatar's position, even though it is said as the avatar (uses avatar's UUID and Name etc.).\\n\n Examples:\\n\n llDialog(who, \"Are you a\ + \ boy or a girl?\", [ \"Boy\", \"Girl\" ], -4913);\\n\n llDialog(who, \"This shows only an OK button.\", [], -192);\\n\n llDialog(who, \"This chats so you can 'hear'\ + \ it.\", [\"Hooray\"], 0);" + llEmail( string Address, string Subject, string Text ) -> void: + Address: '' + Subject: '' + Text: '' + tooltip: Sends email to Address with Subject and Message.\nSends an email to Address with Subject and Message. + llInstantMessage( key AvatarID, string Text ) -> void: + AvatarID: '' + Text: '' + tooltip: IMs Text to the user identified.\nSend Text to the user as an instant message. + llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer: + Channel: '' + SpeakersName: '' + SpeakersID: '' + Text: '' + tooltip: Creates a listen callback for Text on Channel from SpeakersName and SpeakersID (SpeakersName, SpeakersID, and/or Text can be empty) and returns an identifier that can be used to deactivate + or remove the listen.\nNon-empty values for SpeakersName, SpeakersID, and Text will filter the results accordingly, while empty strings and NULL_KEY will not filter the results, for string and key + parameters respectively.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels + are are not sent to avatars, but may be used to communicate with scripts. + llListenControl( integer ChannelHandle, integer Active ) -> void: + ChannelHandle: '' + Active: '' + tooltip: Makes a listen event callback active or inactive. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener you are controlling.\nUse boolean values + to specify Active + llListenRemove( integer ChannelHandle ) -> void: + ChannelHandle: '' + tooltip: Removes a listen event callback. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener to remove. + llLoadURL( key AvatarID, string Text, string URL ) -> void: + AvatarID: '' + Text: '' + URL: '' + tooltip: "Shows dialog to avatar AvatarID offering to load web page at URL.\tIf user clicks yes, launches their web browser.\\nllLoadURL displays a dialogue box to the user, offering to load the specified\ + \ web page using the default web browser." + llMapBeacon( string RegionName, vector Position, list Options ) -> void: + RegionName: Region in which to show the beacon. + Position: Position within region to show the beacon. + Options: Options + tooltip: Displays an in world beacon and optionally opens world map for avatar who touched the object or is wearing the script, centered on RegionName with Position highlighted. Only works for scripts + attached to avatar, or during touch events. + llMapDestination( string RegionName, vector Position, vector Direction ) -> void: + RegionName: '' + Position: '' + Direction: '' + tooltip: Opens world map for avatar who touched it or is wearing the script, centred on RegionName with Position highlighted. Only works for scripts attached to avatar, or during touch events.\nDirection + currently has no effect. + llOpenFloater( string floater_name, string url, list params ) -> integer: + floater_name: Identifier for floater to open + url: URL to pass to floater + params: Parameters to apply to open floater + tooltip: Returns the value for header for request_id.\nReturns a string that is the value of the Header for HTTPRequestID. + llOwnerSay( string Text ) -> void: + Text: '' + tooltip: says Text to owner only (if owner is in region).\nSays Text to the owner of the object running the script, if the owner has been within the object's simulator since logging into Second Life, + regardless of where they may be in-world. + llRegionSayTo( key TargetID, integer Channel, string Text ) -> void: + TargetID: Avatar or object to say to. + Channel: Output channel, any integer value. + Text: Message to be transmitted. + tooltip: Says Text, on Channel, to avatar or object indicated by TargetID (if within region).\nIf TargetID is an avatar and Channel is nonzero, Text can be heard by any attachment on the avatar. + llSay( integer Channel, string Text ) -> void: + Channel: Channel to use to say text on. + Text: Text to say. + tooltip: Says Text on Channel.\nThis chat method has a range of 20m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and + is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts. + llSetText( string Text, vector Color, float Opacity ) -> void: + Text: '' + Color: '' + Opacity: '' + tooltip: Causes Text to float above the prim, using the specified Color and Opacity. + llShout( integer Channel, string Text ) -> void: + Channel: '' + Text: '' + tooltip: Shouts Text on Channel.\nThis chat method has a range of 100m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, + and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts. + llTargetedEmail( integer Target, string Subject, string Text ) -> void: + Target: '' + Subject: '' + Text: '' + tooltip: Sends an email with Subject and Message to the owner or creator of an object. + llTextBox( key AvatarID, string Text, integer Channel ) -> void: + AvatarID: '' + Text: '' + Channel: '' + tooltip: Opens a dialog for the specified avatar with message Text, which contains a text box for input. Any text that is entered is said on the specified Channel (as if by the avatar) when the "OK" + button is clicked. + llWhisper( integer Channel, string Text ) -> void: + Channel: '' + Text: '' + tooltip: Whispers Text on Channel.\nThis chat method has a range of 10m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, + and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts. avatar_inventory: -- llGiveAgentInventory( key AgentID, string FolderName, list InventoryItems, list Options ) -> integer -- llGiveInventory( key TargetID, string InventoryItem ) -> void -- llGiveInventoryList( key TargetID, string FolderName, list InventoryItems ) -> void + llGiveAgentInventory( key AgentID, string FolderName, list InventoryItems, list Options ) -> integer: + AgentID: An agent in the region. + FolderName: Folder name to give to the agent. + InventoryItems: Inventory items to give to the agent. + Options: A list of option for inventory transfer. + tooltip: Give InventoryItems to the specified agent as a new folder of items, as permitted by the permissions system. The target must be an agent. + llGiveInventory( key TargetID, string InventoryItem ) -> void: + TargetID: '' + InventoryItem: '' + tooltip: Give InventoryItem to destination represented by TargetID, as permitted by the permissions system.\nTargetID may be any agent or an object in the same region. + llGiveInventoryList( key TargetID, string FolderName, list InventoryItems ) -> void: + TargetID: '' + FolderName: '' + InventoryItems: '' + tooltip: Give InventoryItems to destination (represented by TargetID) as a new folder of items, as permitted by the permissions system.\nTargetID may be any agent or an object in the same region. If + TargetID is an object, the items are passed directly to the object inventory (no folder is created). camera: -- llClearCameraParams( ) -> void -- llForceMouselook( integer Enable ) -> void -- llGetCameraAspect( ) -> float -- llGetCameraFOV( ) -> float -- llGetCameraPos( ) -> vector -- llGetCameraRot( ) -> rotation -- llReleaseCamera( key AvatarID ) -> void // deprecated -- llSetCameraAtOffset( vector Offset ) -> void -- llSetCameraEyeOffset( vector Offset ) -> void -- llSetCameraParams( list Parameters ) -> void -- llSetLinkCamera( integer LinkNumber, vector EyeOffset, vector LookOffset ) -> void -- llTakeCamera( key AvatarID ) -> void // deprecated -- llWorldPosToHUD( vector world_pos ) -> vector + llClearCameraParams( ) -> void: + tooltip: Resets all camera parameters to default values and turns off scripted camera control.\nRequires the PERMISSION_CONTROL_CAMERA runtime permission (automatically granted to attached or sat on + objects). + llForceMouselook( integer Enable ) -> void: + Enable: Boolean, if TRUE when an avatar sits on the prim, the avatar will be forced into mouse-look mode.\nFALSE is the default setting and will undo a previously set TRUE or do nothing. + tooltip: If Enable is TRUE any avatar that sits on this object is forced into mouse-look mode.\nAfter calling this function with Enable set to TRUE, any agent sitting down on the prim will be forced + into mouse-look.\nJust like llSitTarget, this changes a permanent property of the prim (not the object) and needs to be reset by calling this function with Enable set to FALSE in order to disable + it. + llGetCameraAspect( ) -> float: + tooltip: 'Returns the current camera aspect ratio (width / height) of the agent who has granted the scripted object PERMISSION_TRACK_CAMERA permissions. If no permissions have been granted: it returns + zero.' + llGetCameraFOV( ) -> float: + tooltip: 'Returns the current camera field of view of the agent who has granted the scripted object PERMISSION_TRACK_CAMERA permissions. If no permissions have been granted: it returns zero.' + llGetCameraPos( ) -> vector: + tooltip: Returns the current camera position for the agent the task has permissions for.\nReturns the position of the camera, of the user that granted the script PERMISSION_TRACK_CAMERA. If no user + has granted the permission, it returns ZERO_VECTOR. + llGetCameraRot( ) -> rotation: + tooltip: Returns the current camera orientation for the agent the task has permissions for. If no user has granted the PERMISSION_TRACK_CAMERA permission, returns ZERO_ROTATION. + llReleaseCamera( key AvatarID ) -> void // deprecated: + AvatarID: '' + tooltip: 'Return camera to agent.\nDeprecated: Use llClearCameraParams instead.' + llSetCameraAtOffset( vector Offset ) -> void: + Offset: '' + tooltip: Sets the camera used in this object, at offset, if an avatar sits on it.\nSets the offset that an avatar's camera will be moved to if the avatar sits on the object. + llSetCameraEyeOffset( vector Offset ) -> void: + Offset: '' + tooltip: Sets the camera eye offset used in this object if an avatar sits on it. + llSetCameraParams( list Parameters ) -> void: + Parameters: '' + tooltip: Sets multiple camera parameters at once. List format is [ rule-1, data-1, rule-2, data-2 . . . rule-n, data-n ].\nRequires the PERMISSION_CONTROL_CAMERA runtime permission (automatically granted + to attached or sat on objects). + llSetLinkCamera( integer LinkNumber, vector EyeOffset, vector LookOffset ) -> void: + LinkNumber: 'Prim link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + EyeOffset: Offset, relative to the object's centre and expressed in local coordinates, that the camera looks from. + LookOffset: Offset, relative to the object's centre and expressed in local coordinates, that the camera looks toward. + tooltip: Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim. + llTakeCamera( key AvatarID ) -> void // deprecated: + AvatarID: '' + tooltip: 'Deprecated: Use llSetCameraParams instead.' + llWorldPosToHUD( vector world_pos ) -> vector: + world_pos: The world-frame position to project into HUD space + tooltip: Returns the local position that would put the origin of a HUD object directly over world_pos as viewed by the current camera. Requires the PERMISSION_TRACK_CAMERA runtime permission (else will + return zero vector). chat: -- listen( integer Channel, string Name, key ID, string Text ) -- llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void -- llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer -- llListenControl( integer ChannelHandle, integer Active ) -> void -- llListenRemove( integer ChannelHandle ) -> void -- llRegionSay( integer Channel, string Text ) -> void -- llRegionSayTo( key TargetID, integer Channel, string Text ) -> void -- llSay( integer Channel, string Text ) -> void -- llShout( integer Channel, string Text ) -> void -- llTextBox( key AvatarID, string Text, integer Channel ) -> void -- llWhisper( integer Channel, string Text ) -> void + listen( integer Channel, string Name, key ID, string Text ): + Channel: '' + Name: '' + ID: '' + Text: '' + tooltip: "This event is raised whenever a chat message matching the constraints set in the llListen command is received. The name and ID of the speaker, as well as the message, are passed in as parameters.\n\ + \t\t\tChannel 0 is the public chat channel that all avatars see as chat text. Channels 1 through 2,147,483,648 are private channels that are not sent to avatars but other scripts can listen on those\ + \ channels." + llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void: + AvatarID: '' + Text: '' + Buttons: '' + Channel: '' + tooltip: "Shows a dialog box on the avatar's screen with the message.\\n\n Up to 12 strings in the list form buttons.\\n\n If a button is clicked, the name is chatted\ + \ on Channel.\\nOpens a \"notify box\" in the given avatars screen displaying the message.\\n\n Up to twelve buttons can be specified in a list of strings. When the user clicks a button,\ + \ the name of the button is said on the specified channel.\\n\n Channels work just like llSay(), so channel 0 can be heard by everyone.\\n\n The chat originates at the\ + \ object's position, not the avatar's position, even though it is said as the avatar (uses avatar's UUID and Name etc.).\\n\n Examples:\\n\n llDialog(who, \"Are you a\ + \ boy or a girl?\", [ \"Boy\", \"Girl\" ], -4913);\\n\n llDialog(who, \"This shows only an OK button.\", [], -192);\\n\n llDialog(who, \"This chats so you can 'hear'\ + \ it.\", [\"Hooray\"], 0);" + llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer: + Channel: '' + SpeakersName: '' + SpeakersID: '' + Text: '' + tooltip: Creates a listen callback for Text on Channel from SpeakersName and SpeakersID (SpeakersName, SpeakersID, and/or Text can be empty) and returns an identifier that can be used to deactivate + or remove the listen.\nNon-empty values for SpeakersName, SpeakersID, and Text will filter the results accordingly, while empty strings and NULL_KEY will not filter the results, for string and key + parameters respectively.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels + are are not sent to avatars, but may be used to communicate with scripts. + llListenControl( integer ChannelHandle, integer Active ) -> void: + ChannelHandle: '' + Active: '' + tooltip: Makes a listen event callback active or inactive. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener you are controlling.\nUse boolean values + to specify Active + llListenRemove( integer ChannelHandle ) -> void: + ChannelHandle: '' + tooltip: Removes a listen event callback. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener to remove. + llRegionSay( integer Channel, string Text ) -> void: + Channel: Any integer value except zero. + Text: Message to be transmitted. + tooltip: Broadcasts Text to entire region on Channel (except for channel 0). + llRegionSayTo( key TargetID, integer Channel, string Text ) -> void: + TargetID: Avatar or object to say to. + Channel: Output channel, any integer value. + Text: Message to be transmitted. + tooltip: Says Text, on Channel, to avatar or object indicated by TargetID (if within region).\nIf TargetID is an avatar and Channel is nonzero, Text can be heard by any attachment on the avatar. + llSay( integer Channel, string Text ) -> void: + Channel: Channel to use to say text on. + Text: Text to say. + tooltip: Says Text on Channel.\nThis chat method has a range of 20m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and + is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts. + llShout( integer Channel, string Text ) -> void: + Channel: '' + Text: '' + tooltip: Shouts Text on Channel.\nThis chat method has a range of 100m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, + and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts. + llTextBox( key AvatarID, string Text, integer Channel ) -> void: + AvatarID: '' + Text: '' + Channel: '' + tooltip: Opens a dialog for the specified avatar with message Text, which contains a text box for input. Any text that is entered is said on the specified Channel (as if by the avatar) when the "OK" + button is clicked. + llWhisper( integer Channel, string Text ) -> void: + Channel: '' + Text: '' + tooltip: Whispers Text on Channel.\nThis chat method has a range of 10m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, + and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts. combat: -- final_damage( integer count ) -- on_damage( integer count ) -- on_death( ) -- llAdjustDamage( integer Number, float Damage ) -> void -- llDamage( key target, float damage, integer type ) -> void -- llDetectedDamage( integer Number ) -> list -- llGetHealth( key ID ) -> float -- llRezObjectWithParams( string InventoryItem, list Params ) -> key -- llSetDamage( float Damage ) -> void + final_damage( integer count ): + count: The number of damage events queued. + tooltip: Triggered as damage is applied to an avatar or task, after all on_damage events have been processed. + on_damage( integer count ): + count: The number of damage events queued. + tooltip: Triggered when an avatar or object receives damage. + on_death( ): + tooltip: Triggered when an avatar reaches 0 health. + llAdjustDamage( integer Number, float Damage ) -> void: + Number: Damage event index to modify. + Damage: New damage amount to apply on this event. + tooltip: Changes the amount of damage to be delivered by this damage event. + llDamage( key target, float damage, integer type ) -> void: + target: Agent or task to receive damage. + damage: Damage amount to inflict on this target. + type: Damage type to inflict on this target. + tooltip: Generates a damage event on the targeted agent or task. + llDetectedDamage( integer Number ) -> list: + Number: '' + tooltip: Returns a list containing the current damage for the event, the damage type and the original damage delivered. + llGetHealth( key ID ) -> float: + ID: The ID of an agent or object in the region. + tooltip: Returns the current health of an avatar or object in the region. + llRezObjectWithParams( string InventoryItem, list Params ) -> key: + InventoryItem: '' + Params: '' + tooltip: Instantiate owner's InventoryItem with the given parameters. + llSetDamage( float Damage ) -> void: + Damage: '' + tooltip: "Sets the amount of damage that will be done to an avatar that this task hits.\tTask will be killed.\\nSets the amount of damage that will be done to an avatar that this object hits. This object\ + \ will be destroyed on damaging an avatar, and no collision event is triggered." cryptography: -- llComputeHash( string Message, string Algorithm ) -> string -- llHMAC( string Key, string Message, string Algorithm ) -> string -- llHash( string value ) -> integer -- llMD5String( string Text, integer Nonce ) -> string -- llSHA1String( string Text ) -> string -- llSHA256String( string text ) -> string -- llSignRSA( string PrivateKey, string Message, string Algorithm ) -> string -- llVerifyRSA( string PublicKey, string Message, string Signature, string Algorithm ) -> integer + llComputeHash( string Message, string Algorithm ) -> string: + Message: The message to be hashed. + Algorithm: 'The digest algorithm: md5, sha1, sha224, sha256, sha384, sha512.' + tooltip: Returns hex-encoded Hash string of Message using digest Algorithm. + llHMAC( string Key, string Message, string Algorithm ) -> string: + Key: The PEM-formatted key for the hash digest. + Message: The message to be hashed. + Algorithm: 'The digest algorithm: md5, sha1, sha224, sha256, sha384, sha512.' + tooltip: Returns the base64-encoded hashed message authentication code (HMAC), of Message using PEM-formatted Key and digest Algorithm (md5, sha1, sha224, sha256, sha384, sha512). + llHash( string value ) -> integer: + value: '' + tooltip: Calculates the 32bit hash value for the provided string. + llMD5String( string Text, integer Nonce ) -> string: + Text: '' + Nonce: '' + tooltip: Returns a string of 32 hex characters that is an RSA Data Security Inc., MD5 Message-Digest Algorithm of Text with Nonce used as the salt.\nReturns a 32-character hex string. (128-bit in binary.) + llSHA1String( string Text ) -> string: + Text: '' + tooltip: Returns a string of 40 hex characters that is the SHA1 security hash of text. + llSHA256String( string text ) -> string: + text: '' + tooltip: Returns a string of 64 hex characters that is the SHA256 security hash of text. + llSignRSA( string PrivateKey, string Message, string Algorithm ) -> string: + PrivateKey: The PEM-formatted private key + Message: The message contents to sign + Algorithm: 'The digest algorithnm to use: sha1, sha224, sha256, sha384, sha512' + tooltip: Returns the base64-encoded RSA signature of Message using PEM-formatted PrivateKey and digest Algorithm (sha1, sha224, sha256, sha384, sha512). + llVerifyRSA( string PublicKey, string Message, string Signature, string Algorithm ) -> integer: + PublicKey: The PEM-formatted public key for signature verifiation. + Message: The message that was signed. + Signature: The base64-formatted signature of the message. + Algorithm: 'The digest algorithm: sha1, sha224, sha256, sha384, sha512.' + tooltip: Returns TRUE if PublicKey, Message, and Algorithm produce the same base64-formatted Signature. data_conversion: -- llBase64ToInteger( string Text ) -> integer -- llBase64ToString( string Text ) -> string -- llCSV2List( string Text ) -> list -- llDumpList2String( list Source, string Separator ) -> string -- llIntegerToBase64( integer Value ) -> string -- llJson2List( string JSON ) -> list -- llJsonGetValue( string JSON, list Specifiers ) -> string -- llJsonSetValue( string JSON, list Specifiers, string Value ) -> string -- llJsonValueType( string JSON, list Specifiers ) -> string -- llLinear2sRGB( vector color ) -> vector -- llList2CSV( list ListVariable ) -> string -- llList2Float( list ListVariable, integer Index ) -> float -- llList2Integer( list ListVariable, integer Index ) -> integer -- llList2Json( string JsonType, list Values ) -> string -- llList2Key( list ListVariable, integer Index ) -> key -- llList2Rot( list ListVariable, integer Index ) -> rotation -- llList2String( list ListVariable, integer Index ) -> string -- llList2Vector( list ListVariable, integer Index ) -> vector -- llParseString2List( string Text, list Separators, list Spacers ) -> list -- llParseStringKeepNulls( string Text, list Separators, list Spacers ) -> list -- llStringToBase64( string Text ) -> string -- llXorBase64( string Text1, string Text2 ) -> string -- llXorBase64Strings( string Text1, string Text2 ) -> string // deprecated -- llXorBase64StringsCorrect( string Text1, string Text2 ) -> string // deprecated + llBase64ToInteger( string Text ) -> integer: + Text: '' + tooltip: Returns an integer that is the Text, Base64 decoded as a big endian integer.\nReturns zero if Text is longer then 8 characters. If Text contains fewer then 6 characters, the return value is + unpredictable. + llBase64ToString( string Text ) -> string: + Text: '' + tooltip: Converts a Base64 string to a conventional string.\nIf the conversion creates any unprintable characters, they are converted to question marks. + llCSV2List( string Text ) -> list: + Text: '' + tooltip: Create a list from a string of comma separated values specified in Text. + llDumpList2String( list Source, string Separator ) -> string: + Source: '' + Separator: '' + tooltip: Returns the list as a single string, using Separator between the entries.\nWrite the list out as a single string, using Separator between values. + llIntegerToBase64( integer Value ) -> string: + Value: '' + tooltip: Returns a string that is a Base64 big endian encode of Value.\nEncodes the Value as an 8-character Base64 string. + llJson2List( string JSON ) -> list: + JSON: '' + tooltip: Converts the top level of the JSON string to a list. + llJsonGetValue( string JSON, list Specifiers ) -> string: + JSON: '' + Specifiers: '' + tooltip: Gets the value indicated by Specifiers from the JSON string. + llJsonSetValue( string JSON, list Specifiers, string Value ) -> string: + JSON: '' + Specifiers: '' + Value: '' + tooltip: Returns a new JSON string that is the JSON given with the Value indicated by Specifiers set to Value. + llJsonValueType( string JSON, list Specifiers ) -> string: + JSON: '' + Specifiers: '' + tooltip: Returns the type constant (JSON_*) for the value in JSON indicated by Specifiers. + llLinear2sRGB( vector color ) -> vector: + color: A color in the linear colorspace. + tooltip: Converts a color from the linear colorspace to sRGB. + llList2CSV( list ListVariable ) -> string: + ListVariable: '' + tooltip: Creates a string of comma separated values from the list.\nCreate a string of comma separated values from the specified list. + llList2Float( list ListVariable, integer Index ) -> float: + ListVariable: '' + Index: '' + tooltip: Copies the float at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a float, then zero + is returned. + llList2Integer( list ListVariable, integer Index ) -> integer: + ListVariable: '' + Index: '' + tooltip: Copies the integer at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to an integer, then + zero is returned. + llList2Json( string JsonType, list Values ) -> string: + JsonType: Type is JSON_ARRAY or JSON_OBJECT. + Values: List of values to convert. + tooltip: Converts either a strided list of key:value pairs to a JSON_OBJECT, or a list of values to a JSON_ARRAY. + llList2Key( list ListVariable, integer Index ) -> key: + ListVariable: '' + Index: '' + tooltip: Copies the key at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a key, then null string + is returned. + llList2Rot( list ListVariable, integer Index ) -> rotation: + ListVariable: '' + Index: '' + tooltip: Copies the rotation at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to rotation, thenZERO_ROTATION + is returned. + llList2String( list ListVariable, integer Index ) -> string: + ListVariable: '' + Index: '' + tooltip: Copies the string at Index in the list.\nReturns the value at Index in the specified list as a string. If Index describes a location not in the list then null string is returned. + llList2Vector( list ListVariable, integer Index ) -> vector: + ListVariable: '' + Index: '' + tooltip: Copies the vector at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a vector, then + ZERO_VECTOR is returned. + llParseString2List( string Text, list Separators, list Spacers ) -> list: + Text: '' + Separators: '' + Spacers: '' + tooltip: Converts Text into a list, discarding Separators, keeping Spacers (Separators and Spacers must be lists of strings, maximum of 8 each).\nSeparators and Spacers are lists of strings with a maximum + of 8 entries each. + llParseStringKeepNulls( string Text, list Separators, list Spacers ) -> list: + Text: '' + Separators: '' + Spacers: '' + tooltip: Breaks Text into a list, discarding separators, keeping spacers, keeping any null values generated. (separators and spacers must be lists of strings, maximum of 8 each).\nllParseStringKeepNulls + works almost exactly like llParseString2List, except that if a null is found it will add a null-string instead of discarding it like llParseString2List does. + llStringToBase64( string Text ) -> string: + Text: '' + tooltip: Returns the string Base64 representation of the input string. + llXorBase64( string Text1, string Text2 ) -> string: + Text1: '' + Text2: '' + tooltip: Performs an exclusive OR on two Base64 strings and returns a Base64 string. Text2 repeats if it is shorter than Text1. + llXorBase64Strings( string Text1, string Text2 ) -> string // deprecated: + Text1: '' + Text2: '' + tooltip: 'Deprecated: Please use llXorBase64 instead.\nIncorrectly performs an exclusive OR on two Base64 strings and returns a Base64 string. Text2 repeats if it is shorter than Text1.\nRetained for + backwards compatibility.' + llXorBase64StringsCorrect( string Text1, string Text2 ) -> string // deprecated: + Text1: '' + Text2: '' + tooltip: 'Deprecated: Please use llXorBase64 instead.\nCorrectly (unless nulls are present) performs an exclusive OR on two Base64 strings and returns a Base64 string.\nText2 repeats if it is shorter + than Text1.' data_storage: -- linkset_data( integer action, string name, string value ) -- llCreateKeyValue( string Key, string Value ) -> key -- llDataSizeKeyValue( ) -> key -- llDeleteKeyValue( string Key ) -> key -- llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key -- llFindNotecardTextSync( string NotecardName, string Pattern, integer StartMatch, integer Count, list Options ) -> list -- llGetNotecardLine( string NotecardName, integer LineNumber ) -> key -- llGetNotecardLineSync( string NotecardName, integer LineNumber ) -> string -- llGetNumberOfNotecardLines( string NotecardName ) -> key -- llKeyCountKeyValue( ) -> key -- llKeysKeyValue( integer First, integer Count ) -> key -- llLinksetDataAvailable( ) -> integer -- llLinksetDataCountFound( string search ) -> integer -- llLinksetDataCountKeys( ) -> integer -- llLinksetDataDelete( string name ) -> integer -- llLinksetDataDeleteFound( string search, string pass ) -> list -- llLinksetDataDeleteProtected( string name, string pass ) -> integer -- llLinksetDataFindKeys( string search, integer start, integer count ) -> list -- llLinksetDataListKeys( integer start, integer count ) -> list -- llLinksetDataRead( string name ) -> string -- llLinksetDataReadProtected( string name, string pass ) -> string -- llLinksetDataReset( ) -> void -- llLinksetDataWrite( string name, string value ) -> integer -- llLinksetDataWriteProtected( string name, string value, string pass ) -> integer -- llReadKeyValue( string Key ) -> key -- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key + linkset_data( integer action, string name, string value ): + action: '' + name: '' + value: '' + tooltip: Triggered when a script modifies the linkset datastore. + llCreateKeyValue( string Key, string Value ) -> key: + Key: '' + Value: '' + tooltip: "\n Starts an asychronous transaction to create a key-value pair. Will fail with XP_ERROR_STORAGE_EXCEPTION if the key already exists. The dataserver callback will be executed\ + \ with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1)\ + \ or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value passed to the function.\n\ + \ " + llDataSizeKeyValue( ) -> key: + tooltip: "\n Starts an asychronous transaction the request the used and total amount of data allocated for the Experience. The dataserver callback will be executed with the key returned\ + \ from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case,\ + \ the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the the amount in use and the third item will be the total available.\n\ + \ " + llDeleteKeyValue( string Key ) -> key: + Key: '' + tooltip: "\n Starts an asychronous transaction to delete a key-value pair. The dataserver callback will be executed with the key returned from this call and a string describing the\ + \ result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer\ + \ corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key.\n " + llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key: + NotecardName: '' + Pattern: Regex pattern to find in the notecard text. + Options: A list of options to control the search. Included for future expansion, should be [] + tooltip: "Searches the text of a cached notecard for lines containing the given pattern and returns the \n number of matches found through a dataserver event.\n " + llFindNotecardTextSync( string NotecardName, string Pattern, integer StartMatch, integer Count, list Options ) -> list: + NotecardName: '' + Pattern: Regex pattern to find in the notecard text. + StartMatch: Index of the first match to return. + Count: The maximum number of matches to return. If 0 this function will return the first 64 matches found. + Options: A list of options to control the search. Included for future expansion, should be [] + tooltip: "Searches the text of a cached notecard for lines containing the given pattern. \n Returns a list of line numbers and column where a match is found. If the notecard is not in\n \ + \ the cache it returns a list containing a single entry of NAK. If no matches are found an\n empty list is returned." + llGetNotecardLine( string NotecardName, integer LineNumber ) -> key: + NotecardName: '' + LineNumber: '' + tooltip: Returns LineNumber from NotecardName via the dataserver event. The line index starts at zero in LSL, one in Lua.\nIf the requested line is passed the end of the note-card the dataserver event + will return the constant EOF string.\nThe key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter. + llGetNotecardLineSync( string NotecardName, integer LineNumber ) -> string: + NotecardName: '' + LineNumber: '' + tooltip: Returns LineNumber from NotecardName. The line index starts at zero in LSL, one in Lua.\nIf the requested line is past the end of the note-card the return value will be set to the constant + EOF string.\nIf the note-card is not cached on the simulator the return value is the NAK string. + llGetNumberOfNotecardLines( string NotecardName ) -> key: + NotecardName: '' + tooltip: Returns the number of lines contained within a notecard via the dataserver event.\nThe key returned by this function is a query ID for identifying the dataserver reply. + llKeyCountKeyValue( ) -> key: + tooltip: "\n Starts an asychronous transaction the request the number of keys in the data store. The dataserver callback will be executed with the key returned from this call and a\ + \ string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will\ + \ be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will the the number of keys in the system.\n " + llKeysKeyValue( integer First, integer Count ) -> key: + First: Index of the first key to return. + Count: The number of keys to return. + tooltip: "\n Starts an asychronous transaction the request a number of keys from the data store. The dataserver callback will be executed with the key returned from this call and a\ + \ string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will\ + \ be an integer corresponding to one of the XP_ERROR_... constants. The error XP_ERROR_KEY_NOT_FOUND is returned if First is greater than or equal to the number of keys in the data store. In the success\ + \ case the subsequent items will be the keys requested. The number of keys returned may be less than requested if the return value is too large or if there is not enough keys remaining. The order\ + \ keys are returned is not guaranteed but is stable between subsequent calls as long as no keys are added or removed. Because the keys are returned in a comma-delimited list it is not recommended\ + \ to use commas in key names if this function is used.\n " + llLinksetDataAvailable( ) -> integer: + tooltip: Returns the number of bytes remaining in the linkset's datastore. + llLinksetDataCountFound( string search ) -> integer: + search: A regex search string to match against keys in the datastore. + tooltip: Returns the number of keys matching the regular expression passed in the search parameter. + llLinksetDataCountKeys( ) -> integer: + tooltip: Returns the number of keys in the linkset's datastore. + llLinksetDataDelete( string name ) -> integer: + name: Key to delete from the linkset's datastore. + tooltip: Deletes a name:value pair from the linkset's datastore. + llLinksetDataDeleteFound( string search, string pass ) -> list: + search: A regex search string to match against keys in the datastore. + pass: The pass phrase used to protect key value pairs in the linkset data + tooltip: 'Deletes all key value pairs in the linkset data where the key matches the regular expression in search. Returns a list consisting of [ #deleted, #not deleted ].' + llLinksetDataDeleteProtected( string name, string pass ) -> integer: + name: Key to delete from the linkset's datastore. + pass: Pass phrase to access protected data. + tooltip: Deletes a name:value pair from the linkset's datastore. + llLinksetDataFindKeys( string search, integer start, integer count ) -> list: + search: A regex search string to match against keys in the datastore. + start: Index of the first entry to return. + count: Number of entries to return. Less than 1 for all keys. + tooltip: Returns a list of keys from the linkset's data store matching the search parameter. + llLinksetDataListKeys( integer start, integer count ) -> list: + start: First entry to return. 0 for start of list. + count: Number of entries to return. Less than 1 for all keys. + tooltip: Returns a list of all keys in the linkset datastore. + llLinksetDataRead( string name ) -> string: + name: Key to retrieve from the linkset's datastore. + tooltip: Returns the value stored for a key in the linkset. + llLinksetDataReadProtected( string name, string pass ) -> string: + name: Key to retrieve from the linkset's datastore. + pass: Pass phrase to access protected data. + tooltip: Returns the value stored for a key in the linkset. + llLinksetDataReset( ) -> void: + tooltip: Resets the linkset's data store, erasing all key-value pairs. + llLinksetDataWrite( string name, string value ) -> integer: + name: key for the name:value pair. + value: value to store in the linkset's datastore. + tooltip: Sets a name:value pair in the linkset's datastore + llLinksetDataWriteProtected( string name, string value, string pass ) -> integer: + name: key for the name:value pair. + value: value to store in the linkset's datastore. + pass: Pass phrase to access protected data. + tooltip: Sets a name:value pair in the linkset's datastore + llReadKeyValue( string Key ) -> key: + Key: '' + tooltip: "\n Starts an asychronous transaction to retrieve the value associated with the key given. Will fail with XP_ERROR_KEY_NOT_FOUND if the key does not exist. The dataserver\ + \ callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the\ + \ transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the\ + \ value associated with the key.\n " + llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key: + Key: '' + Value: '' + Checked: '' + OriginalValue: '' + tooltip: "\n Starts an asychronous transaction to update the value associated with the key given. The dataserver callback will be executed with the key returned from this call and\ + \ a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second\ + \ item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key. If Checked is 1 the existing value in the\ + \ data store must match the OriginalValue passed or XP_ERROR_RETRY_UPDATE will be returned. If Checked is 0 the key will be created if necessary.\n " dataserver: -- dataserver( key RequestID, string Data ) -- llCreateKeyValue( string Key, string Value ) -> key -- llDataSizeKeyValue( ) -> key -- llDeleteKeyValue( string Key ) -> key -- llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key -- llGetNotecardLine( string NotecardName, integer LineNumber ) -> key -- llGetNumberOfNotecardLines( string NotecardName ) -> key -- llKeyCountKeyValue( ) -> key -- llKeysKeyValue( integer First, integer Count ) -> key -- llReadKeyValue( string Key ) -> key -- llRequestAgentData( key AvatarID, integer Data ) -> key -- llRequestDisplayName( key AvatarID ) -> key -- llRequestInventoryData( string InventoryItem ) -> key -- llRequestSimulatorData( string RegionName, integer Data ) -> key -- llRequestUserKey( string Name ) -> key -- llRequestUsername( key AvatarID ) -> key -- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key + dataserver( key RequestID, string Data ): + RequestID: '' + Data: '' + tooltip: "This event is triggered when the requested data is returned to the script.\n\t\t\tData may be requested by the llRequestAgentData, llRequestInventoryData, and llGetNotecardLine function calls,\ + \ for example." + llCreateKeyValue( string Key, string Value ) -> key: + Key: '' + Value: '' + tooltip: "\n Starts an asychronous transaction to create a key-value pair. Will fail with XP_ERROR_STORAGE_EXCEPTION if the key already exists. The dataserver callback will be executed\ + \ with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1)\ + \ or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value passed to the function.\n\ + \ " + llDataSizeKeyValue( ) -> key: + tooltip: "\n Starts an asychronous transaction the request the used and total amount of data allocated for the Experience. The dataserver callback will be executed with the key returned\ + \ from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case,\ + \ the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the the amount in use and the third item will be the total available.\n\ + \ " + llDeleteKeyValue( string Key ) -> key: + Key: '' + tooltip: "\n Starts an asychronous transaction to delete a key-value pair. The dataserver callback will be executed with the key returned from this call and a string describing the\ + \ result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer\ + \ corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key.\n " + llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key: + NotecardName: '' + Pattern: Regex pattern to find in the notecard text. + Options: A list of options to control the search. Included for future expansion, should be [] + tooltip: "Searches the text of a cached notecard for lines containing the given pattern and returns the \n number of matches found through a dataserver event.\n " + llGetNotecardLine( string NotecardName, integer LineNumber ) -> key: + NotecardName: '' + LineNumber: '' + tooltip: Returns LineNumber from NotecardName via the dataserver event. The line index starts at zero in LSL, one in Lua.\nIf the requested line is passed the end of the note-card the dataserver event + will return the constant EOF string.\nThe key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter. + llGetNumberOfNotecardLines( string NotecardName ) -> key: + NotecardName: '' + tooltip: Returns the number of lines contained within a notecard via the dataserver event.\nThe key returned by this function is a query ID for identifying the dataserver reply. + llKeyCountKeyValue( ) -> key: + tooltip: "\n Starts an asychronous transaction the request the number of keys in the data store. The dataserver callback will be executed with the key returned from this call and a\ + \ string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will\ + \ be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will the the number of keys in the system.\n " + llKeysKeyValue( integer First, integer Count ) -> key: + First: Index of the first key to return. + Count: The number of keys to return. + tooltip: "\n Starts an asychronous transaction the request a number of keys from the data store. The dataserver callback will be executed with the key returned from this call and a\ + \ string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will\ + \ be an integer corresponding to one of the XP_ERROR_... constants. The error XP_ERROR_KEY_NOT_FOUND is returned if First is greater than or equal to the number of keys in the data store. In the success\ + \ case the subsequent items will be the keys requested. The number of keys returned may be less than requested if the return value is too large or if there is not enough keys remaining. The order\ + \ keys are returned is not guaranteed but is stable between subsequent calls as long as no keys are added or removed. Because the keys are returned in a comma-delimited list it is not recommended\ + \ to use commas in key names if this function is used.\n " + llReadKeyValue( string Key ) -> key: + Key: '' + tooltip: "\n Starts an asychronous transaction to retrieve the value associated with the key given. Will fail with XP_ERROR_KEY_NOT_FOUND if the key does not exist. The dataserver\ + \ callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the\ + \ transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the\ + \ value associated with the key.\n " + llRequestAgentData( key AvatarID, integer Data ) -> key: + AvatarID: '' + Data: '' + tooltip: Requests data about AvatarID. When data is available the dataserver event will be raised.\nThis function requests data about an avatar. If and when the information is collected, the dataserver + event is triggered with the key returned from this function passed in the requested parameter. See the agent data constants (DATA_*) for details about valid values of data and what each will return + in the dataserver event. + llRequestDisplayName( key AvatarID ) -> key: + AvatarID: Avatar UUID + tooltip: Requests the display name of the agent. When the display name is available the dataserver event will be raised.\nThe avatar identified does not need to be in the same region or online at the + time of the request.\nReturns a key that is used to identify the dataserver event when it is raised. + llRequestInventoryData( string InventoryItem ) -> key: + InventoryItem: '' + tooltip: Requests data for the named InventoryItem.\nWhen data is available, the dataserver event will be raised with the key returned from this function in the requested parameter.\nThe only request + currently implemented is to request data from landmarks, where the data returned is in the form "" which can be cast to a vector. This position is in region local coordinates. + llRequestSimulatorData( string RegionName, integer Data ) -> key: + RegionName: '' + Data: '' + tooltip: Requests the specified Data about RegionName. When the specified data is available, the dataserver event is raised.\nData should use one of the DATA_SIM_* constants.\nReturns a dataserver query + ID and triggers the dataserver event when data is found. + llRequestUserKey( string Name ) -> key: + Name: Name of agent to look up. + tooltip: Look up Agent ID for the named agent using a historical name. + llRequestUsername( key AvatarID ) -> key: + AvatarID: '' + tooltip: Requests single-word user-name of an avatar. When data is available the dataserver event will be raised.\nRequests the user-name of the identified agent. When the user-name is available the + dataserver event is raised.\nThe agent identified does not need to be in the same region or online at the time of the request.\nReturns a key that is used to identify the dataserver event when it + is raised. + llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key: + Key: '' + Value: '' + Checked: '' + OriginalValue: '' + tooltip: "\n Starts an asychronous transaction to update the value associated with the key given. The dataserver callback will be executed with the key returned from this call and\ + \ a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second\ + \ item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key. If Checked is 1 the existing value in the\ + \ data store must match the OriginalValue passed or XP_ERROR_RETRY_UPDATE will be returned. If Checked is 0 the key will be created if necessary.\n " detected: -- collision( integer NumberOfCollisions ) -- collision_end( integer NumberOfCollisions ) -- collision_start( integer NumberOfCollisions ) -- final_damage( integer count ) -- no_sensor( ) -- on_damage( integer count ) -- sensor( integer NumberDetected ) -- touch( integer NumberOfTouches ) -- touch_end( integer NumberOfTouches ) -- touch_start( integer NumberOfTouches ) -- llAdjustDamage( integer Number, float Damage ) -> void -- llDetectedDamage( integer Number ) -> list -- llDetectedGrab( integer Number ) -> vector -- llDetectedGroup( integer Number ) -> integer -- llDetectedKey( integer Number ) -> key -- llDetectedLinkNumber( integer Number ) -> integer -- llDetectedName( integer Number ) -> string -- llDetectedOwner( integer Number ) -> key -- llDetectedPos( integer Number ) -> vector -- llDetectedRezzer( integer Number ) -> key -- llDetectedRot( integer Number ) -> rotation -- llDetectedTouchBinormal( integer Index ) -> vector -- llDetectedTouchFace( integer Index ) -> integer -- llDetectedTouchNormal( integer Index ) -> vector -- llDetectedTouchPos( integer Index ) -> vector -- llDetectedTouchST( integer Index ) -> vector -- llDetectedTouchUV( integer Index ) -> vector -- llDetectedType( integer Number ) -> integer -- llDetectedVel( integer Number ) -> vector + collision( integer NumberOfCollisions ): + NumberOfCollisions: '' + tooltip: "This event is raised while another object, or avatar, is colliding with the object the script is attached to.\n\t\t\tThe number of detected objects is passed to the script. Information on\ + \ those objects may be gathered via the llDetected* functions." + collision_end( integer NumberOfCollisions ): + NumberOfCollisions: '' + tooltip: "This event is raised when another object, or avatar, stops colliding with the object the script is attached to.\n\t\t\tThe number of detected objects is passed to the script. Information on\ + \ those objects may be gathered via the llDetected* library functions." + collision_start( integer NumberOfCollisions ): + NumberOfCollisions: '' + tooltip: "This event is raised when another object, or avatar, starts colliding with the object the script is attached to.\n\t\t\tThe number of detected objects is passed to the script. Information\ + \ on those objects may be gathered via the llDetected* library functions." + final_damage( integer count ): + count: The number of damage events queued. + tooltip: Triggered as damage is applied to an avatar or task, after all on_damage events have been processed. + no_sensor( ): + tooltip: This event is raised when sensors are active, via the llSensor function call, but are not sensing anything. + on_damage( integer count ): + count: The number of damage events queued. + tooltip: Triggered when an avatar or object receives damage. + sensor( integer NumberDetected ): + NumberDetected: '' + tooltip: "This event is raised whenever objects matching the constraints of the llSensor command are detected.\n\t\t\tThe number of detected objects is passed to the script in the parameter. Information\ + \ on those objects may be gathered via the llDetected* functions." + touch( integer NumberOfTouches ): + NumberOfTouches: '' + tooltip: "This event is raised while a user is touching the object the script is attached to.\n\t\t\tThe number of touching objects is passed to the script in the parameter.\n\t\t\tInformation on those\ + \ objects may be gathered via the llDetected* library functions." + touch_end( integer NumberOfTouches ): + NumberOfTouches: '' + tooltip: "This event is raised when a user stops touching the object the script is attached to. The number of touches is passed to the script in the parameter.\n\t\t\tInformation on those objects may\ + \ be gathered via the llDetected* library functions." + touch_start( integer NumberOfTouches ): + NumberOfTouches: '' + tooltip: "This event is raised when a user first touches the object the script is attached to. The number of touches is passed to the script in the parameter.\n\t\t\tInformation on those objects may\ + \ be gathered via the llDetected() library functions." + llAdjustDamage( integer Number, float Damage ) -> void: + Number: Damage event index to modify. + Damage: New damage amount to apply on this event. + tooltip: Changes the amount of damage to be delivered by this damage event. + llDetectedDamage( integer Number ) -> list: + Number: '' + tooltip: Returns a list containing the current damage for the event, the damage type and the original damage delivered. + llDetectedGrab( integer Number ) -> vector: + Number: '' + tooltip: Returns the grab offset of a user touching the object.\nReturns <0.0, 0.0, 0.0> if Number is not a valid object. + llDetectedGroup( integer Number ) -> integer: + Number: '' + tooltip: Returns TRUE if detected object or agent Number has the same user group active as this object.\nIt will return FALSE if the object or agent is in the group, but the group is not active. + llDetectedKey( integer Number ) -> key: + Number: '' + tooltip: Returns the key of detected object or avatar number.\nReturns NULL_KEY if Number is not a valid index. + llDetectedLinkNumber( integer Number ) -> integer: + Number: '' + tooltip: Returns the link position of the triggered event for touches and collisions only.\n0 for a non-linked object, 1 for the root of a linked object, 2 for the first child, etc. + llDetectedName( integer Number ) -> string: + Number: '' + tooltip: Returns the name of detected object or avatar number.\nReturns the name of detected object number.\nReturns empty string if Number is not a valid index. + llDetectedOwner( integer Number ) -> key: + Number: '' + tooltip: Returns the key of detected object's owner.\nReturns invalid key if Number is not a valid index. + llDetectedPos( integer Number ) -> vector: + Number: '' + tooltip: Returns the position of detected object or avatar number.\nReturns <0.0, 0.0, 0.0> if Number is not a valid index. + llDetectedRezzer( integer Number ) -> key: + Number: '' + tooltip: Returns the key for the rezzer of the detected object. + llDetectedRot( integer Number ) -> rotation: + Number: '' + tooltip: Returns the rotation of detected object or avatar number.\nReturns <0.0, 0.0, 0.0, 1.0> if Number is not a valid offset. + llDetectedTouchBinormal( integer Index ) -> vector: + Index: Index of detection information + tooltip: Returns the surface bi-normal for a triggered touch event.\nReturns a vector that is the surface bi-normal (tangent to the surface) where the touch event was triggered. + llDetectedTouchFace( integer Index ) -> integer: + Index: Index of detection information + tooltip: Returns the index of the face where the avatar clicked in a triggered touch event. + llDetectedTouchNormal( integer Index ) -> vector: + Index: Index of detection information + tooltip: Returns the surface normal for a triggered touch event.\nReturns a vector that is the surface normal (perpendicular to the surface) where the touch event was triggered. + llDetectedTouchPos( integer Index ) -> vector: + Index: Index of detected information + tooltip: Returns the position, in region coordinates, where the object was touched in a triggered touch event.\nUnless it is a HUD, in which case it returns the position relative to the attach point. + llDetectedTouchST( integer Index ) -> vector: + Index: Index of detection information + tooltip: Returns a vector that is the surface coordinates where the prim was touched.\nThe X and Y vector positions contain the horizontal (S) and vertical (T) face coordinates respectively.\nEach component + is in the interval [0.0, 1.0].\nTOUCH_INVALID_TEXCOORD is returned if the surface coordinates cannot be determined (e.g. when the viewer does not support this function). + llDetectedTouchUV( integer Index ) -> vector: + Index: Index of detection information + tooltip: Returns a vector that is the texture coordinates for where the prim was touched.\nThe X and Y vector positions contain the U and V face coordinates respectively.\nTOUCH_INVALID_TEXCOORD is + returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function). + llDetectedType( integer Number ) -> integer: + Number: '' + tooltip: "Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object.\\nReturns 0 if number is not a valid index.\\nNote that number is a bit-field, so comparisons need to be a bitwise checked.\ + \ e.g.:\\ninteger iType = llDetectedType(0);\\n{\\n\t// ...do stuff with the agent\\n}" + llDetectedVel( integer Number ) -> vector: + Number: '' + tooltip: Returns the velocity of the detected object Number.\nReturns<0.0, 0.0, 0.0> if Number is not a valid offset. effects: -- llCollisionSprite( string ImpactSprite ) -> void // deprecated -- llLinkParticleSystem( integer LinkNumber, list Rules ) -> void -- llMakeExplosion( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated -- llMakeFire( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated -- llMakeFountain( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, integer Bounce, string Texture, vector Offset, float Bounce_Offset ) -> void // deprecated -- llMakeSmoke( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated -- llParticleSystem( list Parameters ) -> void -- llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void -- llSetText( string Text, vector Color, float Opacity ) -> void -- llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void + llCollisionSprite( string ImpactSprite ) -> void // deprecated: + ImpactSprite: '' + tooltip: Suppress default collision sprites, replace default impact sprite with ImpactSprite; found in the object inventory (empty string to just suppress). + llLinkParticleSystem( integer LinkNumber, list Rules ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Rules: Particle system rules list in the format [ rule1, data1, rule2, data2 . . . ruleN, dataN ] + tooltip: Creates a particle system in prim LinkNumber based on Rules. An empty list removes a particle system from object.\nList format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].\nThis + is identical to llParticleSystem except that it applies to a specified linked prim and not just the prim the script is in. + ? llMakeExplosion( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated + : Particles: '' + Scale: '' + Velocity: '' + Lifetime: '' + Arc: '' + Texture: '' + Offset: '' + tooltip: 'Make a round explosion of particles. Deprecated: Use llParticleSystem instead.\nMake a round explosion of particles using texture from the objects inventory. Deprecated: Use llParticleSystem + instead.' + ? llMakeFire( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated + : Particles: '' + Scale: '' + Velocity: '' + Lifetime: '' + Arc: '' + Texture: '' + Offset: '' + tooltip: 'Make fire like particles. Deprecated: Use llParticleSystem instead.\nMake fire particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.' + ? llMakeFountain( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, integer Bounce, string Texture, vector Offset, float Bounce_Offset ) -> void // deprecated + : Particles: '' + Scale: '' + Velocity: '' + Lifetime: '' + Arc: '' + Bounce: '' + Texture: '' + Offset: '' + Bounce_Offset: '' + tooltip: 'Make a fountain of particles. Deprecated: Use llParticleSystem instead.\nMake a fountain of particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.' + ? llMakeSmoke( integer Particles, float Scale, float Velocity, float Lifetime, float Arc, string Texture, vector Offset ) -> void // deprecated + : Particles: '' + Scale: '' + Velocity: '' + Lifetime: '' + Arc: '' + Texture: '' + Offset: '' + tooltip: 'Make smoke like particles. Deprecated: Use llParticleSystem instead.\nMake smoky particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.' + llParticleSystem( list Parameters ) -> void: + Parameters: '' + tooltip: Creates a particle system in the prim the script is attached to, based on Parameters. An empty list removes a particle system from object.\nList format is [ rule-1, data-1, rule-2, data-2 ... + rule-n, data-n ]. + ? llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void + : LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag to effect' + Mode: Bitmask of animation options. + Face: Specifies which object face to animate or ALL_SIDES. + SizeX: Horizontal frames (ignored for ROTATE and SCALE). + SizeY: Vertical frames (ignored for ROTATE and SCALE). + Start: Start position/frame number (or radians for ROTATE). + Length: Specifies the animation duration, in frames (or radians for ROTATE). + Rate: Specifies the animation playback rate, in frames per second (must be greater than zero). + tooltip: Animates a texture on the prim specified by LinkNumber, by setting the texture scale and offset.\nMode is a bitmask of animation options.\nFace specifies which object face to animate.\nSizeX + and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\nLength specifies the animation duration.\nRate specifies the animation playback rate. + llSetText( string Text, vector Color, float Opacity ) -> void: + Text: '' + Color: '' + Opacity: '' + tooltip: Causes Text to float above the prim, using the specified Color and Opacity. + ? llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void + : Mode: Mask of Mode flags. + Face: Face number or ALL_SIDES. + SizeX: Horizontal frames (ignored for ROTATE and SCALE). + SizeY: Vertical frames (ignored for ROTATE and SCALE). + Start: Start position/frame number (or radians for ROTATE). + Length: number of frames to display (or radians for ROTATE). + Rate: Frames per second (must not greater than zero). + tooltip: Animates a texture by setting the texture scale and offset.\nMode is a bitmask of animation options.\nFace specifies which object face to animate.\nSizeX and SizeY specify the number of horizontal + and vertical frames.Start specifes the animation start point.\nLength specifies the animation duration.\nRate specifies the animation playback rate. experience: -- experience_permissions( key agent_id ) -- experience_permissions_denied( key agent_id, integer Reason ) -- llAgentInExperience( key AgentID ) -> integer -- llClearExperience( key AgentID, key ExperienceID ) -> void // private // deprecated -- llClearExperiencePermissions( key AgentID ) -> void // private // deprecated -- llCreateKeyValue( string Key, string Value ) -> key -- llDataSizeKeyValue( ) -> key -- llDeleteKeyValue( string Key ) -> key -- llGetExperienceDetails( key ExperienceID ) -> list -- llGetExperienceErrorMessage( integer Error ) -> string -- llGetExperienceList( key AgentID ) -> list // private // deprecated -- llKeyCountKeyValue( ) -> key -- llKeysKeyValue( integer First, integer Count ) -> key -- llReadKeyValue( string Key ) -> key -- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer -- llRequestExperiencePermissions( key AgentID, string unused ) -> void -- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer -- llSetExperienceKey( key ExperienceID ) -> integer // private // deprecated -- llSitOnLink( key AvatarID, integer LinkID ) -> integer -- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key + experience_permissions( key agent_id ): + agent_id: ID of the agent approving permission for the Experience. + tooltip: Triggered when an agent has approved an experience permissions request. + experience_permissions_denied( key agent_id, integer Reason ): + agent_id: ID of the agent denying permission for the Experience. + Reason: One of the XP_ERROR_... constants describing the reason why the Experience permissions were denied for the agent. + tooltip: Describes why the Experience permissions were denied for the agent. + llAgentInExperience( key AgentID ) -> integer: + AgentID: '' + tooltip: "\n Returns TRUE if the agent is in the Experience and the Experience can run in the current location.\n " + llClearExperience( key AgentID, key ExperienceID ) -> void // private // deprecated: + AgentID: '' + ExperienceID: '' + tooltip: '' + llClearExperiencePermissions( key AgentID ) -> void // private // deprecated: + AgentID: '' + tooltip: '' + llCreateKeyValue( string Key, string Value ) -> key: + Key: '' + Value: '' + tooltip: "\n Starts an asychronous transaction to create a key-value pair. Will fail with XP_ERROR_STORAGE_EXCEPTION if the key already exists. The dataserver callback will be executed\ + \ with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1)\ + \ or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value passed to the function.\n\ + \ " + llDataSizeKeyValue( ) -> key: + tooltip: "\n Starts an asychronous transaction the request the used and total amount of data allocated for the Experience. The dataserver callback will be executed with the key returned\ + \ from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case,\ + \ the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the the amount in use and the third item will be the total available.\n\ + \ " + llDeleteKeyValue( string Key ) -> key: + Key: '' + tooltip: "\n Starts an asychronous transaction to delete a key-value pair. The dataserver callback will be executed with the key returned from this call and a string describing the\ + \ result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer\ + \ corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key.\n " + llGetExperienceDetails( key ExperienceID ) -> list: + ExperienceID: May be NULL_KEY to retrieve the details for the script's Experience + tooltip: "\n Returns a list with the following Experience properties: [Experience Name, Owner ID, Group ID, Experience ID, State, State Message]. State is an integer corresponding\ + \ to one of the constants XP_ERROR_... and State Message is the string returned by llGetExperienceErrorMessage for that integer.\n " + llGetExperienceErrorMessage( integer Error ) -> string: + Error: An Experience error code to translate. + tooltip: "\n Returns a string describing the error code passed or the string corresponding with XP_ERROR_UNKNOWN_ERROR if the value is not a valid Experience error code.\n \ + \ " + llGetExperienceList( key AgentID ) -> list // private // deprecated: + AgentID: '' + tooltip: '' + llKeyCountKeyValue( ) -> key: + tooltip: "\n Starts an asychronous transaction the request the number of keys in the data store. The dataserver callback will be executed with the key returned from this call and a\ + \ string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will\ + \ be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will the the number of keys in the system.\n " + llKeysKeyValue( integer First, integer Count ) -> key: + First: Index of the first key to return. + Count: The number of keys to return. + tooltip: "\n Starts an asychronous transaction the request a number of keys from the data store. The dataserver callback will be executed with the key returned from this call and a\ + \ string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will\ + \ be an integer corresponding to one of the XP_ERROR_... constants. The error XP_ERROR_KEY_NOT_FOUND is returned if First is greater than or equal to the number of keys in the data store. In the success\ + \ case the subsequent items will be the keys requested. The number of keys returned may be less than requested if the return value is too large or if there is not enough keys remaining. The order\ + \ keys are returned is not guaranteed but is stable between subsequent calls as long as no keys are added or removed. Because the keys are returned in a comma-delimited list it is not recommended\ + \ to use commas in key names if this function is used.\n " + llReadKeyValue( string Key ) -> key: + Key: '' + tooltip: "\n Starts an asychronous transaction to retrieve the value associated with the key given. Will fail with XP_ERROR_KEY_NOT_FOUND if the key does not exist. The dataserver\ + \ callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the\ + \ transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the\ + \ value associated with the key.\n " + llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer: + agent_id: '' + transition: '' + environment: '' + tooltip: Replaces the entire environment for an agent. Must be used as part of an experience. + llRequestExperiencePermissions( key AgentID, string unused ) -> void: + AgentID: '' + unused: Not used, should be "" + tooltip: "\n Ask the agent for permission to participate in an experience. This request is similar to llRequestPermissions with the following permissions: PERMISSION_TAKE_CONTROLS,\ + \ PERMISSION_TRIGGER_ANIMATION, PERMISSION_ATTACH, PERMISSION_TRACK_CAMERA, PERMISSION_CONTROL_CAMERA and PERMISSION_TELEPORT. However, unlike llRequestPermissions the decision to allow or block the\ + \ request is persistent and applies to all scripts using the experience grid wide. Subsequent calls to llRequestExperiencePermissions from scripts in the experience will receive the same response\ + \ automatically with no user interaction. One of experience_permissions or experience_permissions_denied will be generated in response to this call. Outstanding permission requests will be lost if\ + \ the script is derezzed, moved to another region or reset.\n " + llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer: + agent_id: Agent to receive new environment settings. + transition: Number of seconds over which to apply new settings. + Settings: List of environment settings to replace for agent. + tooltip: Sets an agent's environmental values to the specified values. Must be used as part of an experience. + llSetExperienceKey( key ExperienceID ) -> integer // private // deprecated: + ExperienceID: '' + tooltip: '' + llSitOnLink( key AvatarID, integer LinkID ) -> integer: + AvatarID: '' + LinkID: '' + tooltip: If agent identified by AvatarID is participating in the experience, sit them on the specified link's sit target. + llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key: + Key: '' + Value: '' + Checked: '' + OriginalValue: '' + tooltip: "\n Starts an asychronous transaction to update the value associated with the key given. The dataserver callback will be executed with the key returned from this call and\ + \ a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second\ + \ item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key. If Checked is 1 the existing value in the\ + \ data store must match the OriginalValue passed or XP_ERROR_RETRY_UPDATE will be returned. If Checked is 0 the key will be created if necessary.\n " experience_data: -- llCreateKeyValue( string Key, string Value ) -> key -- llDataSizeKeyValue( ) -> key -- llDeleteKeyValue( string Key ) -> key -- llKeyCountKeyValue( ) -> key -- llKeysKeyValue( integer First, integer Count ) -> key -- llReadKeyValue( string Key ) -> key -- llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key + llCreateKeyValue( string Key, string Value ) -> key: + Key: '' + Value: '' + tooltip: "\n Starts an asychronous transaction to create a key-value pair. Will fail with XP_ERROR_STORAGE_EXCEPTION if the key already exists. The dataserver callback will be executed\ + \ with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1)\ + \ or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value passed to the function.\n\ + \ " + llDataSizeKeyValue( ) -> key: + tooltip: "\n Starts an asychronous transaction the request the used and total amount of data allocated for the Experience. The dataserver callback will be executed with the key returned\ + \ from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case,\ + \ the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the the amount in use and the third item will be the total available.\n\ + \ " + llDeleteKeyValue( string Key ) -> key: + Key: '' + tooltip: "\n Starts an asychronous transaction to delete a key-value pair. The dataserver callback will be executed with the key returned from this call and a string describing the\ + \ result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer\ + \ corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key.\n " + llKeyCountKeyValue( ) -> key: + tooltip: "\n Starts an asychronous transaction the request the number of keys in the data store. The dataserver callback will be executed with the key returned from this call and a\ + \ string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will\ + \ be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will the the number of keys in the system.\n " + llKeysKeyValue( integer First, integer Count ) -> key: + First: Index of the first key to return. + Count: The number of keys to return. + tooltip: "\n Starts an asychronous transaction the request a number of keys from the data store. The dataserver callback will be executed with the key returned from this call and a\ + \ string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will\ + \ be an integer corresponding to one of the XP_ERROR_... constants. The error XP_ERROR_KEY_NOT_FOUND is returned if First is greater than or equal to the number of keys in the data store. In the success\ + \ case the subsequent items will be the keys requested. The number of keys returned may be less than requested if the return value is too large or if there is not enough keys remaining. The order\ + \ keys are returned is not guaranteed but is stable between subsequent calls as long as no keys are added or removed. Because the keys are returned in a comma-delimited list it is not recommended\ + \ to use commas in key names if this function is used.\n " + llReadKeyValue( string Key ) -> key: + Key: '' + tooltip: "\n Starts an asychronous transaction to retrieve the value associated with the key given. Will fail with XP_ERROR_KEY_NOT_FOUND if the key does not exist. The dataserver\ + \ callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the\ + \ transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the\ + \ value associated with the key.\n " + llUpdateKeyValue( string Key, string Value, integer Checked, string OriginalValue ) -> key: + Key: '' + Value: '' + Checked: '' + OriginalValue: '' + tooltip: "\n Starts an asychronous transaction to update the value associated with the key given. The dataserver callback will be executed with the key returned from this call and\ + \ a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second\ + \ item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key. If Checked is 1 the existing value in the\ + \ data store must match the OriginalValue passed or XP_ERROR_RETRY_UPDATE will be returned. If Checked is 0 the key will be created if necessary.\n " input: -- control( key AvatarID, integer Levels, integer Edges ) -- game_control( key id, integer buttons, list axes ) -- llReleaseControls( ) -> void -- llSetClickAction( integer Action ) -> void -- llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void + control( key AvatarID, integer Levels, integer Edges ): + AvatarID: '' + Levels: '' + Edges: '' + tooltip: "Once a script has the ability to grab control inputs from the avatar, this event will be used to pass the commands into the script.\n\t\t\tThe levels and edges are bit-fields of control constants." + game_control( key id, integer buttons, list axes ): + id: UUID of avatar supplying input + buttons: 32-bit mask of buttons pressed + axes: Six float values in range [-1, 1] + tooltip: This event is raised when game controller input changes. + llReleaseControls( ) -> void: + tooltip: Stop taking inputs.\nStop taking inputs from the avatar. + llSetClickAction( integer Action ) -> void: + Action: A CLICK_ACTION_* flag + tooltip: Sets the action performed when a prim is clicked upon. + llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void: + Controls: Bit-field of CONTROL_* flags. + Accept: Boolean, determines whether control events are generated. + PassOn: Boolean, determines whether controls are disabled. + tooltip: Take controls from the agent the script has permissions for.\nIf (Accept == (Controls & input)), send input to the script. PassOn determines whether Controls also perform their normal functions.\nRequires + the PERMISSION_TAKE_CONTROLS runtime permission (automatically granted to attached or sat on objects). json: -- llJson2List( string JSON ) -> list -- llJsonGetValue( string JSON, list Specifiers ) -> string -- llJsonSetValue( string JSON, list Specifiers, string Value ) -> string -- llJsonValueType( string JSON, list Specifiers ) -> string -- llList2Json( string JsonType, list Values ) -> string + llJson2List( string JSON ) -> list: + JSON: '' + tooltip: Converts the top level of the JSON string to a list. + llJsonGetValue( string JSON, list Specifiers ) -> string: + JSON: '' + Specifiers: '' + tooltip: Gets the value indicated by Specifiers from the JSON string. + llJsonSetValue( string JSON, list Specifiers, string Value ) -> string: + JSON: '' + Specifiers: '' + Value: '' + tooltip: Returns a new JSON string that is the JSON given with the Value indicated by Specifiers set to Value. + llJsonValueType( string JSON, list Specifiers ) -> string: + JSON: '' + Specifiers: '' + tooltip: Returns the type constant (JSON_*) for the value in JSON indicated by Specifiers. + llList2Json( string JsonType, list Values ) -> string: + JsonType: Type is JSON_ARRAY or JSON_OBJECT. + Values: List of values to convert. + tooltip: Converts either a strided list of key:value pairs to a JSON_OBJECT, or a list of values to a JSON_ARRAY. land_moderation: -- llAddToLandBanList( key ID, float Hours ) -> void -- llAddToLandPassList( key ID, float Hours ) -> void -- llEjectFromLand( key AvatarID ) -> void -- llManageEstateAccess( integer Action, key AvatarID ) -> integer -- llRemoveFromLandBanList( key AvatarID ) -> void -- llRemoveFromLandPassList( key AvatarID ) -> void -- llResetLandBanList( ) -> void -- llResetLandPassList( ) -> void -- llReturnObjectsByID( list ObjectIDs ) -> integer -- llReturnObjectsByOwner( key ID, integer Scope ) -> integer -- llTeleportAgentHome( key AvatarID ) -> void + llAddToLandBanList( key ID, float Hours ) -> void: + ID: Agent UUID to add to ban-list. + Hours: Period, in hours, to ban the avatar for. + tooltip: Add avatar ID to the parcel ban list for the specified number of Hours.\nA value of 0 for Hours will add the agent indefinitely.\nThe smallest value that Hours will accept is 0.01; anything + smaller will be seen as 0.\nWhen values that small are used, it seems the function bans in approximately 30 second increments (Probably 36 second increments, as 0.01 of an hour is 36 seconds).\nResidents + teleporting to a parcel where they are banned will be redirected to a neighbouring parcel. + llAddToLandPassList( key ID, float Hours ) -> void: + ID: Agent UUID to add to pass-list. + Hours: Period, in hours, to allow the avatar for. + tooltip: Add avatar ID to the land pass list, for a duration of Hours. + llEjectFromLand( key AvatarID ) -> void: + AvatarID: '' + tooltip: Ejects AvatarID from land that you own.\nEjects AvatarID from land that the object owner (group or resident) owns. + llManageEstateAccess( integer Action, key AvatarID ) -> integer: + Action: One of the ESTATE_ACCESS_ALLOWED_* actions. + AvatarID: UUID of the avatar or group to act upon. + tooltip: Adds or removes agents from the estate's agent access or ban lists, or groups to the estate's group access list. Action is one of the ESTATE_ACCESS_ALLOWED_* operations to perform.\nReturns + an integer representing a boolean, TRUE if the call was successful; FALSE if throttled, invalid action, invalid or null id or object owner is not allowed to manage the estate.\nThe object owner is + notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script. + llRemoveFromLandBanList( key AvatarID ) -> void: + AvatarID: '' + tooltip: Remove avatar from the land ban list.\nRemove specified avatar from the land parcel ban list. + llRemoveFromLandPassList( key AvatarID ) -> void: + AvatarID: '' + tooltip: Remove avatar from the land pass list.\nRemove specified avatar from the land parcel pass list. + llResetLandBanList( ) -> void: + tooltip: Removes all residents from the land ban list. + llResetLandPassList( ) -> void: + tooltip: Removes all residents from the land access/pass list. + llReturnObjectsByID( list ObjectIDs ) -> integer: + ObjectIDs: List of object UUIDs to be returned. + tooltip: Return objects using their UUIDs.\nRequires the PERMISSION_RETURN_OBJECTS permission and that the script owner owns the parcel the returned objects are in, or is an estate manager or region + owner. + llReturnObjectsByOwner( key ID, integer Scope ) -> integer: + ID: Object owner's UUID. + Scope: '' + tooltip: Return objects based upon their owner and a scope of parcel, parcel owner, or region.\nRequires the PERMISSION_RETURN_OBJECTS permission and that the script owner owns the parcel the returned + objects are in, or is an estate manager or region owner. + llTeleportAgentHome( key AvatarID ) -> void: + AvatarID: '' + tooltip: Teleport agent over the owner's land to agent's home location. linkset: -- changed( integer Changed ) -- linkset_data( integer action, string name, string value ) -- llAvatarOnLinkSitTarget( integer LinkNumber ) -> key -- llBreakAllLinks( ) -> void -- llBreakLink( integer LinkNumber ) -> void -- llClearLinkMedia( integer Link, integer Face ) -> integer -- llCreateLink( key TargetPrim, integer Parent ) -> void -- llGetLinkKey( integer LinkNumber ) -> key -- llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list -- llGetLinkName( integer LinkNumber ) -> string -- llGetLinkNumberOfSides( integer LinkNumber ) -> integer -- llGetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> list -- llGetLinkSitFlags( integer LinkNumber ) -> integer -- llGetMass( ) -> float -- llGetMassMKS( ) -> float -- llGetMaxScaleFactor( ) -> float -- llGetMinScaleFactor( ) -> float -- llGetNumberOfPrims( ) -> integer -- llGetObjectPermMask( integer Category ) -> integer -- llGetOwner( ) -> key -- llGetRootPosition( ) -> vector -- llGetRootRotation( ) -> rotation -- llGetStatus( integer StatusFlag ) -> integer -- llIsLinkGLTFMaterial( integer link, integer face ) -> integer -- llLinkSitTarget( integer LinkNumber, vector Offset, rotation Rotation ) -> void -- llLinksetDataAvailable( ) -> integer -- llLinksetDataCountFound( string search ) -> integer -- llLinksetDataCountKeys( ) -> integer -- llLinksetDataDelete( string name ) -> integer -- llLinksetDataDeleteFound( string search, string pass ) -> list -- llLinksetDataDeleteProtected( string name, string pass ) -> integer -- llLinksetDataFindKeys( string search, integer start, integer count ) -> list -- llLinksetDataListKeys( integer start, integer count ) -> list -- llLinksetDataRead( string name ) -> string -- llLinksetDataReadProtected( string name, string pass ) -> string -- llLinksetDataReset( ) -> void -- llLinksetDataWrite( string name, string value ) -> integer -- llLinksetDataWriteProtected( string name, string value, string pass ) -> integer -- llScaleByFactor( float ScalingFactor ) -> integer -- llSetLinkAlpha( integer LinkNumber, float Opacity, integer Face ) -> void -- llSetLinkColor( integer LinkNumber, vector Color, integer Face ) -> void -- llSetLinkGLTFOverrides( integer link, integer face, list options ) -> void -- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer -- llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated -- llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void -- llSetLinkRenderMaterial( integer LinkNumber, string RenderMaterial, integer Face ) -> void -- llSetLinkSitFlags( integer LinkNumber, integer Flags ) -> void -- llSetLinkTexture( integer LinkNumber, string Texture, integer Face ) -> void -- llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void -- llSetObjectPermMask( integer PermissionFlag, integer PermissionMask ) -> void -- llSetStatus( integer Status, integer Value ) -> void + changed( integer Changed ): + Changed: '' + tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + linkset_data( integer action, string name, string value ): + action: '' + name: '' + value: '' + tooltip: Triggered when a script modifies the linkset datastore. + llAvatarOnLinkSitTarget( integer LinkNumber ) -> key: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + tooltip: If an avatar is sitting on the link's sit target, return the avatar's key, NULL_KEY otherwise.\nReturns a key that is the UUID of the user seated on the specified link's prim. + llBreakAllLinks( ) -> void: + tooltip: De-links all prims in the link set.\nRequires the PERMISSION_CHANGE_LINKS runtime permission. + llBreakLink( integer LinkNumber ) -> void: + LinkNumber: '' + tooltip: De-links the prim with the given link number.\nRequires the PERMISSION_CHANGE_LINKS runtime permission. + llClearLinkMedia( integer Link, integer Face ) -> integer: + Link: '' + Face: '' + tooltip: Clears (deletes) the media and all parameters from the given Face on the linked prim.\nReturns an integer that is a STATUS_* flag, which details the success/failure of the operation. + llCreateLink( key TargetPrim, integer Parent ) -> void: + TargetPrim: Object UUID that is in the same region. + Parent: If FALSE, then TargetPrim becomes the root. If TRUE, then the script's object becomes the root. + tooltip: Attempt to link the object the script is in, to target.\nRequires the PERMISSION_CHANGE_LINKS runtime permission. + llGetLinkKey( integer LinkNumber ) -> key: + LinkNumber: '' + tooltip: Returns the key of the linked prim LinkNumber.\nReturns the key of LinkNumber in the link set. + llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Face: The prim's side number + Parameters: A list of PRIM_MEDIA_* property constants to return values of. + tooltip: "Get the media parameters for a particular face on linked prim, given the desired list of parameter names. Returns a list of values in the order requested.\tReturns an empty list if no media\ + \ exists on the face." + llGetLinkName( integer LinkNumber ) -> string: + LinkNumber: '' + tooltip: Returns the name of LinkNumber in a link set.\nReturns the name of LinkNumber the link set. + llGetLinkNumberOfSides( integer LinkNumber ) -> integer: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + tooltip: Returns the number of sides of the specified linked prim.\nReturns an integer that is the number of faces (or sides) of the prim link. + llGetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> list: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + Parameters: PRIM_* flags. + tooltip: Returns the list of primitive attributes requested in the Parameters list for LinkNumber.\nPRIM_* flags can be broken into three categories, face flags, prim flags, and object flags.\n* Supplying + a prim or object flag will return that flag's attributes.\n* Face flags require the user to also supply a face index parameter. + llGetLinkSitFlags( integer LinkNumber ) -> integer: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + tooltip: Returns the sit flags set on the specified prim in a linkset. + llGetMass( ) -> float: + tooltip: Returns the mass of object that the script is attached to.\nReturns the scripted object's mass. When called from a script in a link-set, the parent will return the sum of the link-set weights, + while a child will return just its own mass. When called from a script inside an attachment, this function will return the mass of the avatar it's attached to, not its own. + llGetMassMKS( ) -> float: + tooltip: Acts as llGetMass(), except that the units of the value returned are Kg. + llGetMaxScaleFactor( ) -> float: + tooltip: Returns the largest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules. + llGetMinScaleFactor( ) -> float: + tooltip: Returns the smallest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules. + llGetNumberOfPrims( ) -> integer: + tooltip: Returns the number of prims in a link set the script is attached to.\nReturns the number of prims in (and avatars seated on) the object the script is in. + llGetObjectPermMask( integer Category ) -> integer: + Category: Category is one of MASK_BASE, MASK_OWNER, MASK_GROUP, MASK_EVERYONE, or MASK_NEXT + tooltip: Returns the permission mask of the requested category for the object. + llGetOwner( ) -> key: + tooltip: Returns the object owner's UUID.\nReturns the key for the owner of the object. + llGetRootPosition( ) -> vector: + tooltip: Returns the position (in region coordinates) of the root prim of the object which the script is attached to.\nThis is used to allow a child prim to determine where the root is. + llGetRootRotation( ) -> rotation: + tooltip: Returns the rotation (relative to the region) of the root prim of the object which the script is attached to.\nGets the global rotation of the root object of the object script is attached to. + llGetStatus( integer StatusFlag ) -> integer: + StatusFlag: A STATUS_* flag + tooltip: Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to. + llIsLinkGLTFMaterial( integer link, integer face ) -> integer: + link: Link number to check. + face: Side to check for a PBR material. Use ALL_SIDES to check for all. + tooltip: Checks the face for a PBR render material. + llLinkSitTarget( integer LinkNumber, vector Offset, rotation Rotation ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag of the prim.' + Offset: Position for the sit target, relative to the prim's position. + Rotation: Rotation (relative to the prim's rotation) for the avatar. + tooltip: Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it.\nSet the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation. + llLinksetDataAvailable( ) -> integer: + tooltip: Returns the number of bytes remaining in the linkset's datastore. + llLinksetDataCountFound( string search ) -> integer: + search: A regex search string to match against keys in the datastore. + tooltip: Returns the number of keys matching the regular expression passed in the search parameter. + llLinksetDataCountKeys( ) -> integer: + tooltip: Returns the number of keys in the linkset's datastore. + llLinksetDataDelete( string name ) -> integer: + name: Key to delete from the linkset's datastore. + tooltip: Deletes a name:value pair from the linkset's datastore. + llLinksetDataDeleteFound( string search, string pass ) -> list: + search: A regex search string to match against keys in the datastore. + pass: The pass phrase used to protect key value pairs in the linkset data + tooltip: 'Deletes all key value pairs in the linkset data where the key matches the regular expression in search. Returns a list consisting of [ #deleted, #not deleted ].' + llLinksetDataDeleteProtected( string name, string pass ) -> integer: + name: Key to delete from the linkset's datastore. + pass: Pass phrase to access protected data. + tooltip: Deletes a name:value pair from the linkset's datastore. + llLinksetDataFindKeys( string search, integer start, integer count ) -> list: + search: A regex search string to match against keys in the datastore. + start: Index of the first entry to return. + count: Number of entries to return. Less than 1 for all keys. + tooltip: Returns a list of keys from the linkset's data store matching the search parameter. + llLinksetDataListKeys( integer start, integer count ) -> list: + start: First entry to return. 0 for start of list. + count: Number of entries to return. Less than 1 for all keys. + tooltip: Returns a list of all keys in the linkset datastore. + llLinksetDataRead( string name ) -> string: + name: Key to retrieve from the linkset's datastore. + tooltip: Returns the value stored for a key in the linkset. + llLinksetDataReadProtected( string name, string pass ) -> string: + name: Key to retrieve from the linkset's datastore. + pass: Pass phrase to access protected data. + tooltip: Returns the value stored for a key in the linkset. + llLinksetDataReset( ) -> void: + tooltip: Resets the linkset's data store, erasing all key-value pairs. + llLinksetDataWrite( string name, string value ) -> integer: + name: key for the name:value pair. + value: value to store in the linkset's datastore. + tooltip: Sets a name:value pair in the linkset's datastore + llLinksetDataWriteProtected( string name, string value, string pass ) -> integer: + name: key for the name:value pair. + value: value to store in the linkset's datastore. + pass: Pass phrase to access protected data. + tooltip: Sets a name:value pair in the linkset's datastore + llScaleByFactor( float ScalingFactor ) -> integer: + ScalingFactor: The multiplier to be used with the prim sizes and their local positions. + tooltip: Attempts to resize the entire object by ScalingFactor, maintaining the size-position ratios of the prims.\n\nResizing is subject to prim scale limits and linkability limits. This function can + not resize the object if the linkset is physical, a pathfinding character, in a keyframed motion, or if resizing would cause the parcel to overflow.\nReturns a boolean (an integer) TRUE if it succeeds, + FALSE if it fails. + llSetLinkAlpha( integer LinkNumber, float Opacity, integer Face ) -> void: + LinkNumber: '' + Opacity: '' + Face: '' + tooltip: If a prim exists in the link chain at LinkNumber, set Face to Opacity.\nSets the Face, on the linked prim specified, to the Opacity. + llSetLinkColor( integer LinkNumber, vector Color, integer Face ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + Color: Color in RGB + Face: Side number or ALL_SIDES. + tooltip: If a task exists in the link chain at LinkNumber, set the Face to color.\nSets the color of the linked child's side, specified by LinkNumber. + llSetLinkGLTFOverrides( integer link, integer face, list options ) -> void: + link: Link number to check. + face: Side to check for a PBR material. Use ALL_SIDES to check for all. + options: List of individual overrides to set. + tooltip: Sets or changes GLTF Overrides set on the selected faces. + llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer: + Link: 'Link number (0: unlinked, 1: root prim, >1: child prims).' + Face: Face number. + Parameters: A set of name/value pairs (in no particular order) + tooltip: Set the media parameters for a particular face on linked prim, specified by Link. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters + is a set of name/value pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified. + llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Parameters: '' + tooltip: 'Deprecated: Use llSetLinkPrimitiveParamsFast instead.' + llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Parameters: '' + tooltip: Set primitive parameters for LinkNumber based on Parameters, without a delay.\nSet parameters for link number, from the list of Parameters, with no built-in script sleep. This function is identical + to llSetLinkPrimitiveParams, except without the delay. + llSetLinkRenderMaterial( integer LinkNumber, string RenderMaterial, integer Face ) -> void: + LinkNumber: '' + RenderMaterial: '' + Face: '' + tooltip: Sets the Render Material of Face on a linked prim, specified by LinkNumber. Render Material may be a UUID or name of a material in prim inventory. + llSetLinkSitFlags( integer LinkNumber, integer Flags ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + Flags: The new set of sit flags to apply to the specified prims in this linkset. + tooltip: Sets the sit flags for the specified prim in a linkset. + llSetLinkTexture( integer LinkNumber, string Texture, integer Face ) -> void: + LinkNumber: '' + Texture: '' + Face: '' + tooltip: Sets the Texture of Face on a linked prim, specified by LinkNumber. Texture may be a UUID or name of a texture in prim inventory. + ? llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void + : LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag to effect' + Mode: Bitmask of animation options. + Face: Specifies which object face to animate or ALL_SIDES. + SizeX: Horizontal frames (ignored for ROTATE and SCALE). + SizeY: Vertical frames (ignored for ROTATE and SCALE). + Start: Start position/frame number (or radians for ROTATE). + Length: Specifies the animation duration, in frames (or radians for ROTATE). + Rate: Specifies the animation playback rate, in frames per second (must be greater than zero). + tooltip: Animates a texture on the prim specified by LinkNumber, by setting the texture scale and offset.\nMode is a bitmask of animation options.\nFace specifies which object face to animate.\nSizeX + and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\nLength specifies the animation duration.\nRate specifies the animation playback rate. + llSetObjectPermMask( integer PermissionFlag, integer PermissionMask ) -> void: + PermissionFlag: MASK_* flag + PermissionMask: Permission bit-field (PERM_* flags) + tooltip: Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to. + llSetStatus( integer Status, integer Value ) -> void: + Status: '' + Value: '' + tooltip: Sets object status specified in Status bitmask (e.g. STATUS_PHYSICS|STATUS_PHANTOM) to boolean Value.\nFor a full list of STATUS_* constants, see wiki documentation. linkset_data: -- linkset_data( integer action, string name, string value ) -- llLinksetDataAvailable( ) -> integer -- llLinksetDataCountFound( string search ) -> integer -- llLinksetDataCountKeys( ) -> integer -- llLinksetDataDelete( string name ) -> integer -- llLinksetDataDeleteFound( string search, string pass ) -> list -- llLinksetDataDeleteProtected( string name, string pass ) -> integer -- llLinksetDataFindKeys( string search, integer start, integer count ) -> list -- llLinksetDataListKeys( integer start, integer count ) -> list -- llLinksetDataRead( string name ) -> string -- llLinksetDataReadProtected( string name, string pass ) -> string -- llLinksetDataReset( ) -> void -- llLinksetDataWrite( string name, string value ) -> integer -- llLinksetDataWriteProtected( string name, string value, string pass ) -> integer + linkset_data( integer action, string name, string value ): + action: '' + name: '' + value: '' + tooltip: Triggered when a script modifies the linkset datastore. + llLinksetDataAvailable( ) -> integer: + tooltip: Returns the number of bytes remaining in the linkset's datastore. + llLinksetDataCountFound( string search ) -> integer: + search: A regex search string to match against keys in the datastore. + tooltip: Returns the number of keys matching the regular expression passed in the search parameter. + llLinksetDataCountKeys( ) -> integer: + tooltip: Returns the number of keys in the linkset's datastore. + llLinksetDataDelete( string name ) -> integer: + name: Key to delete from the linkset's datastore. + tooltip: Deletes a name:value pair from the linkset's datastore. + llLinksetDataDeleteFound( string search, string pass ) -> list: + search: A regex search string to match against keys in the datastore. + pass: The pass phrase used to protect key value pairs in the linkset data + tooltip: 'Deletes all key value pairs in the linkset data where the key matches the regular expression in search. Returns a list consisting of [ #deleted, #not deleted ].' + llLinksetDataDeleteProtected( string name, string pass ) -> integer: + name: Key to delete from the linkset's datastore. + pass: Pass phrase to access protected data. + tooltip: Deletes a name:value pair from the linkset's datastore. + llLinksetDataFindKeys( string search, integer start, integer count ) -> list: + search: A regex search string to match against keys in the datastore. + start: Index of the first entry to return. + count: Number of entries to return. Less than 1 for all keys. + tooltip: Returns a list of keys from the linkset's data store matching the search parameter. + llLinksetDataListKeys( integer start, integer count ) -> list: + start: First entry to return. 0 for start of list. + count: Number of entries to return. Less than 1 for all keys. + tooltip: Returns a list of all keys in the linkset datastore. + llLinksetDataRead( string name ) -> string: + name: Key to retrieve from the linkset's datastore. + tooltip: Returns the value stored for a key in the linkset. + llLinksetDataReadProtected( string name, string pass ) -> string: + name: Key to retrieve from the linkset's datastore. + pass: Pass phrase to access protected data. + tooltip: Returns the value stored for a key in the linkset. + llLinksetDataReset( ) -> void: + tooltip: Resets the linkset's data store, erasing all key-value pairs. + llLinksetDataWrite( string name, string value ) -> integer: + name: key for the name:value pair. + value: value to store in the linkset's datastore. + tooltip: Sets a name:value pair in the linkset's datastore + llLinksetDataWriteProtected( string name, string value, string pass ) -> integer: + name: key for the name:value pair. + value: value to store in the linkset's datastore. + pass: Pass phrase to access protected data. + tooltip: Sets a name:value pair in the linkset's datastore list: -- llDeleteSubList( list Source, integer Start, integer End ) -> list -- llGetListEntryType( list ListVariable, integer Index ) -> integer -- llGetListLength( list ListVariable ) -> integer -- llList2CSV( list ListVariable ) -> string -- llList2Float( list ListVariable, integer Index ) -> float -- llList2Integer( list ListVariable, integer Index ) -> integer -- llList2Json( string JsonType, list Values ) -> string -- llList2Key( list ListVariable, integer Index ) -> key -- llList2List( list ListVariable, integer Start, integer End ) -> list -- llList2ListSlice( list ListVariable, integer Start, integer End, integer Stride, integer slice_index ) -> list -- llList2ListStrided( list ListVariable, integer Start, integer End, integer Stride ) -> list -- llList2Rot( list ListVariable, integer Index ) -> rotation -- llList2String( list ListVariable, integer Index ) -> string -- llList2Vector( list ListVariable, integer Index ) -> vector -- llListFindList( list ListVariable, list Find ) -> integer -- llListFindListNext( list ListVariable, list Find, integer Instance ) -> integer -- llListFindStrided( list ListVariable, list Find, integer Start, integer End, integer Stride ) -> integer -- llListInsertList( list Target, list ListVariable, integer Position ) -> list -- llListRandomize( list ListVariable, integer Stride ) -> list -- llListReplaceList( list Target, list ListVariable, integer Start, integer End ) -> list -- llListSort( list ListVariable, integer Stride, integer Ascending ) -> list -- llListSortStrided( list ListVariable, integer Stride, integer Sortkey, integer Ascending ) -> list -- llListStatistics( integer Operation, list ListVariable ) -> float + llDeleteSubList( list Source, integer Start, integer End ) -> list: + Source: '' + Start: '' + End: '' + tooltip: Removes the slice from start to end and returns the remainder of the list.\nRemove a slice from the list and return the remainder, start and end are inclusive.\nUsing negative numbers for start + and/or end causes the index to count backwards from the length of the list, so 0, -1 would delete the entire list.\nIf Start is larger than End the list deleted is the exclusion of the entries; so + 6, 4 would delete the entire list except for the 5th list entry. + llGetListEntryType( list ListVariable, integer Index ) -> integer: + ListVariable: '' + Index: '' + tooltip: Returns the type of the index entry in the list (TYPE_INTEGER, TYPE_FLOAT, TYPE_STRING, TYPE_KEY, TYPE_VECTOR, TYPE_ROTATION, or TYPE_INVALID if index is off list).\nReturns the type of the + variable at Index in ListVariable. + llGetListLength( list ListVariable ) -> integer: + ListVariable: '' + tooltip: Returns the number of elements in the list.\nReturns the number of elements in ListVariable. + llList2CSV( list ListVariable ) -> string: + ListVariable: '' + tooltip: Creates a string of comma separated values from the list.\nCreate a string of comma separated values from the specified list. + llList2Float( list ListVariable, integer Index ) -> float: + ListVariable: '' + Index: '' + tooltip: Copies the float at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a float, then zero + is returned. + llList2Integer( list ListVariable, integer Index ) -> integer: + ListVariable: '' + Index: '' + tooltip: Copies the integer at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to an integer, then + zero is returned. + llList2Json( string JsonType, list Values ) -> string: + JsonType: Type is JSON_ARRAY or JSON_OBJECT. + Values: List of values to convert. + tooltip: Converts either a strided list of key:value pairs to a JSON_OBJECT, or a list of values to a JSON_ARRAY. + llList2Key( list ListVariable, integer Index ) -> key: + ListVariable: '' + Index: '' + tooltip: Copies the key at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a key, then null string + is returned. + llList2List( list ListVariable, integer Start, integer End ) -> list: + ListVariable: '' + Start: '' + End: '' + tooltip: Returns a subset of entries from ListVariable, in a range specified by the Start and End indicies (inclusive).\nUsing negative numbers for Start and/or End causes the index to count backwards + from the length of the string, so 0, -1 would capture the entire string.\nIf Start is greater than End, the sub string is the exclusion of the entries. + llList2ListSlice( list ListVariable, integer Start, integer End, integer Stride, integer slice_index ) -> list: + ListVariable: '' + Start: '' + End: '' + Stride: '' + slice_index: '' + tooltip: Returns a subset of entries from ListVariable, in a range specified by Start and End indices (inclusive) return the slice_index element of each stride.\n Using negative numbers for Start and/or + End causes the index to count backwards from the length of the list. (e.g. 0, -1 captures entire list)\nIf slice_index is less than 0, it is counted backwards from the end of the stride.\n Stride + must be a positive integer > 0 or an empy list is returned. If slice_index falls outside range of stride, an empty list is returned. slice_index is zero-based. (e.g. A stride of 2 has valid indices + 0,1) + llList2ListStrided( list ListVariable, integer Start, integer End, integer Stride ) -> list: + ListVariable: '' + Start: '' + End: '' + Stride: '' + tooltip: Copies the strided slice of the list from Start to End.\nReturns a copy of the strided slice of the specified list from Start to End. + llList2Rot( list ListVariable, integer Index ) -> rotation: + ListVariable: '' + Index: '' + tooltip: Copies the rotation at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to rotation, thenZERO_ROTATION + is returned. + llList2String( list ListVariable, integer Index ) -> string: + ListVariable: '' + Index: '' + tooltip: Copies the string at Index in the list.\nReturns the value at Index in the specified list as a string. If Index describes a location not in the list then null string is returned. + llList2Vector( list ListVariable, integer Index ) -> vector: + ListVariable: '' + Index: '' + tooltip: Copies the vector at Index in the list.\nReturns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a vector, then + ZERO_VECTOR is returned. + llListFindList( list ListVariable, list Find ) -> integer: + ListVariable: '' + Find: '' + tooltip: Returns the first index where Find appears in ListVariable. Returns -1 if not found. + llListFindListNext( list ListVariable, list Find, integer Instance ) -> integer: + ListVariable: '' + Find: '' + Instance: Index of the match to return. + tooltip: Returns the nth index where Find appears in ListVariable. Returns -1 if not found. + llListFindStrided( list ListVariable, list Find, integer Start, integer End, integer Stride ) -> integer: + ListVariable: '' + Find: '' + Start: '' + End: '' + Stride: '' + tooltip: Returns the first index (where Start <= index <= End) where Find appears in ListVariable. Steps through ListVariable by Stride. Returns -1 if not found. + llListInsertList( list Target, list ListVariable, integer Position ) -> list: + Target: '' + ListVariable: '' + Position: '' + tooltip: Returns a list that contains all the elements from Target but with the elements from ListVariable inserted at Position start.\nReturns a new list, created by inserting ListVariable into the + Target list at Position. Note this does not alter the Target. + llListRandomize( list ListVariable, integer Stride ) -> list: + ListVariable: '' + Stride: '' + tooltip: Returns a version of the input ListVariable which has been randomized by blocks of size Stride.\nIf the remainder from the length of the list, divided by the stride is non-zero, this function + does not randomize the list. + llListReplaceList( list Target, list ListVariable, integer Start, integer End ) -> list: + Target: '' + ListVariable: '' + Start: '' + End: '' + tooltip: Returns a list that is Target with Start through End removed and ListVariable inserted at Start.\nReturns a list replacing the slice of the Target list from Start to End with the specified + ListVariable. Start and End are inclusive, so 0, 1 would replace the first two entries and 0, 0 would replace only the first list entry. + llListSort( list ListVariable, integer Stride, integer Ascending ) -> list: + ListVariable: List to sort. + Stride: Stride length. + Ascending: Boolean. TRUE = result in ascending order, FALSE = result in descending order. + tooltip: Returns the specified list, sorted into blocks of stride in ascending order (if Ascending is TRUE, otherwise descending). Note that sort only works if the first entry of each block is the same + datatype. + llListSortStrided( list ListVariable, integer Stride, integer Sortkey, integer Ascending ) -> list: + ListVariable: List to sort. + Stride: Stride length. + Sortkey: The zero based element within the stride to use as the sort key + Ascending: Boolean. TRUE = result in ascending order, FALSE = result in descending order. + tooltip: Returns the specified list, sorted by the specified element into blocks of stride in ascending order (if Ascending is TRUE, otherwise descending). Note that sort only works if the first entry + of each block is the same datatype. + llListStatistics( integer Operation, list ListVariable ) -> float: + Operation: One of LIST_STAT_* values + ListVariable: Variable to analyze. + tooltip: Performs a statistical aggregate function, specified by a LIST_STAT_* constant, on ListVariables.\nThis function allows a script to perform a statistical operation as defined by operation on + a list composed of integers and floats. math: -- llAbs( integer Value ) -> integer -- llAcos( float Value ) -> float -- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float -- llAsin( float Value ) -> float -- llAtan2( float y, float x ) -> float -- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation -- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation -- llCeil( float Value ) -> integer -- llCos( float Theta ) -> float -- llEuler2Rot( vector Vector ) -> rotation -- llFabs( float Value ) -> float -- llFloor( float Value ) -> integer -- llFrand( float Magnitude ) -> float -- llLinear2sRGB( vector color ) -> vector -- llListStatistics( integer Operation, list ListVariable ) -> float -- llLog( float Value ) -> float -- llLog10( float Value ) -> float -- llModPow( integer Value, integer Power, integer Modulus ) -> integer -- llPow( float Value, float Exponent ) -> float -- llRot2Angle( rotation Rotation ) -> float -- llRot2Axis( rotation Rotation ) -> vector -- llRot2Euler( rotation Rotation ) -> vector -- llRot2Fwd( rotation Rotation ) -> vector -- llRot2Left( rotation Rotation ) -> vector -- llRot2Up( rotation Rotation ) -> vector -- llRotBetween( vector Vector1, vector Vector2 ) -> rotation -- llRound( float Value ) -> integer -- llSin( float Theta ) -> float -- llSqrt( float Value ) -> float -- llTan( float Theta ) -> float -- llVecDist( vector Location1, vector Location2 ) -> float -- llVecMag( vector Vector ) -> float -- llVecNorm( vector Vector ) -> vector -- llsRGB2Linear( vector srgb ) -> vector + llAbs( integer Value ) -> integer: + Value: An integer value. + tooltip: Returns the absolute (positive) version of Value. + llAcos( float Value ) -> float: + Value: A floating-point value. + tooltip: Returns the arc-cosine of Value, in radians. + llAngleBetween( rotation Rot1, rotation Rot2 ) -> float: + Rot1: First rotation. + Rot2: Second rotation. + tooltip: Returns the angle, in radians, between rotations Rot1 and Rot2. + llAsin( float Value ) -> float: + Value: A floating-point value. + tooltip: Returns the arc-sine, in radians, of Value. + llAtan2( float y, float x ) -> float: + y: A floating-point value. + x: A floating-point value. + tooltip: Returns the arc-tangent2 of y, x. + llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation: + Forward: Forward/Back part of rotation. + Left: Left/Right part of rotation. + Up: Up/Down part of rotation. + tooltip: Returns the rotation represented by coordinate axes Forward, Left, and Up. + llAxisAngle2Rot( vector Axis, float Angle ) -> rotation: + Axis: Axis. + Angle: Angle in radians. + tooltip: Returns the rotation that is a generated Angle about Axis. + llCeil( float Value ) -> integer: + Value: '' + tooltip: Returns smallest integer value >= Value. + llCos( float Theta ) -> float: + Theta: '' + tooltip: Returns the cosine of Theta (Theta in radians). + llEuler2Rot( vector Vector ) -> rotation: + Vector: '' + tooltip: Returns the rotation representation of the Euler angles.\nReturns the rotation represented by the Euler Angle. + llFabs( float Value ) -> float: + Value: '' + tooltip: Returns the positive version of Value.\nReturns the absolute value of Value. + llFloor( float Value ) -> integer: + Value: '' + tooltip: Returns largest integer value <= Value. + llFrand( float Magnitude ) -> float: + Magnitude: '' + tooltip: Returns a pseudo random number in the range [0, Magnitude] or [Magnitude, 0].\nReturns a pseudo-random number between [0, Magnitude]. + llLinear2sRGB( vector color ) -> vector: + color: A color in the linear colorspace. + tooltip: Converts a color from the linear colorspace to sRGB. + llListStatistics( integer Operation, list ListVariable ) -> float: + Operation: One of LIST_STAT_* values + ListVariable: Variable to analyze. + tooltip: Performs a statistical aggregate function, specified by a LIST_STAT_* constant, on ListVariables.\nThis function allows a script to perform a statistical operation as defined by operation on + a list composed of integers and floats. + llLog( float Value ) -> float: + Value: '' + tooltip: Returns the natural logarithm of Value. Returns zero if Value <= 0.\nReturns the base e (natural) logarithm of the specified Value. + llLog10( float Value ) -> float: + Value: '' + tooltip: Returns the base 10 logarithm of Value. Returns zero if Value <= 0.\nReturns the base 10 (common) logarithm of the specified Value. + llModPow( integer Value, integer Power, integer Modulus ) -> integer: + Value: '' + Power: '' + Modulus: '' + tooltip: Returns a Value raised to the Power, mod Modulus. ((a**b)%c) b is capped at 0xFFFF (16 bits).\nReturns (Value ^ Power) % Modulus. (Value raised to the Power, Modulus). Value is capped at 0xFFFF + (16 bits). + llPow( float Value, float Exponent ) -> float: + Value: '' + Exponent: '' + tooltip: Returns the Value raised to the power Exponent, or returns 0 and triggers Math Error for imaginary results.\nReturns the Value raised to the Exponent. + llRot2Angle( rotation Rotation ) -> float: + Rotation: '' + tooltip: Returns the rotation angle represented by Rotation.\nReturns the angle represented by the Rotation. + llRot2Axis( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the rotation axis represented by Rotation.\nReturns the axis represented by the Rotation. + llRot2Euler( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the Euler representation (roll, pitch, yaw) of Rotation.\nReturns the Euler Angle representation of the Rotation. + llRot2Fwd( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the forward vector defined by Rotation.\nReturns the forward axis represented by the Rotation. + llRot2Left( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the left vector defined by Rotation.\nReturns the left axis represented by the Rotation. + llRot2Up( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the up vector defined by Rotation.\nReturns the up axis represented by the Rotation. + llRotBetween( vector Vector1, vector Vector2 ) -> rotation: + Vector1: '' + Vector2: '' + tooltip: Returns the rotation to rotate Vector1 to Vector2.\nReturns the rotation needed to rotate Vector1 to Vector2. + llRound( float Value ) -> integer: + Value: '' + tooltip: Returns Value rounded to the nearest integer.\nReturns the Value rounded to the nearest integer. + llSin( float Theta ) -> float: + Theta: '' + tooltip: Returns the sine of Theta (Theta in radians). + llSqrt( float Value ) -> float: + Value: '' + tooltip: Returns the square root of Value.\nTriggers a math runtime error for imaginary results (if Value < 0.0). + llTan( float Theta ) -> float: + Theta: '' + tooltip: Returns the tangent of Theta (Theta in radians). + llVecDist( vector Location1, vector Location2 ) -> float: + Location1: '' + Location2: '' + tooltip: Returns the distance between Location1 and Location2. + llVecMag( vector Vector ) -> float: + Vector: '' + tooltip: Returns the magnitude of the vector. + llVecNorm( vector Vector ) -> vector: + Vector: '' + tooltip: Returns normalized vector. + llsRGB2Linear( vector srgb ) -> vector: + srgb: A color in the sRGB colorspace. + tooltip: Converts a color from the sRGB to the linear colorspace. math_3d: -- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float -- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation -- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation -- llEuler2Rot( vector Vector ) -> rotation -- llRot2Angle( rotation Rotation ) -> float -- llRot2Axis( rotation Rotation ) -> vector -- llRot2Euler( rotation Rotation ) -> vector -- llRot2Fwd( rotation Rotation ) -> vector -- llRot2Left( rotation Rotation ) -> vector -- llRot2Up( rotation Rotation ) -> vector -- llRotBetween( vector Vector1, vector Vector2 ) -> rotation -- llVecDist( vector Location1, vector Location2 ) -> float -- llVecMag( vector Vector ) -> float -- llVecNorm( vector Vector ) -> vector + llAngleBetween( rotation Rot1, rotation Rot2 ) -> float: + Rot1: First rotation. + Rot2: Second rotation. + tooltip: Returns the angle, in radians, between rotations Rot1 and Rot2. + llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation: + Forward: Forward/Back part of rotation. + Left: Left/Right part of rotation. + Up: Up/Down part of rotation. + tooltip: Returns the rotation represented by coordinate axes Forward, Left, and Up. + llAxisAngle2Rot( vector Axis, float Angle ) -> rotation: + Axis: Axis. + Angle: Angle in radians. + tooltip: Returns the rotation that is a generated Angle about Axis. + llEuler2Rot( vector Vector ) -> rotation: + Vector: '' + tooltip: Returns the rotation representation of the Euler angles.\nReturns the rotation represented by the Euler Angle. + llRot2Angle( rotation Rotation ) -> float: + Rotation: '' + tooltip: Returns the rotation angle represented by Rotation.\nReturns the angle represented by the Rotation. + llRot2Axis( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the rotation axis represented by Rotation.\nReturns the axis represented by the Rotation. + llRot2Euler( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the Euler representation (roll, pitch, yaw) of Rotation.\nReturns the Euler Angle representation of the Rotation. + llRot2Fwd( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the forward vector defined by Rotation.\nReturns the forward axis represented by the Rotation. + llRot2Left( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the left vector defined by Rotation.\nReturns the left axis represented by the Rotation. + llRot2Up( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the up vector defined by Rotation.\nReturns the up axis represented by the Rotation. + llRotBetween( vector Vector1, vector Vector2 ) -> rotation: + Vector1: '' + Vector2: '' + tooltip: Returns the rotation to rotate Vector1 to Vector2.\nReturns the rotation needed to rotate Vector1 to Vector2. + llVecDist( vector Location1, vector Location2 ) -> float: + Location1: '' + Location2: '' + tooltip: Returns the distance between Location1 and Location2. + llVecMag( vector Vector ) -> float: + Vector: '' + tooltip: Returns the magnitude of the vector. + llVecNorm( vector Vector ) -> vector: + Vector: '' + tooltip: Returns normalized vector. math_trig: -- llAcos( float Value ) -> float -- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float -- llAsin( float Value ) -> float -- llAtan2( float y, float x ) -> float -- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation -- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation -- llCos( float Theta ) -> float -- llRot2Angle( rotation Rotation ) -> float -- llRot2Axis( rotation Rotation ) -> vector -- llRot2Fwd( rotation Rotation ) -> vector -- llRot2Left( rotation Rotation ) -> vector -- llRot2Up( rotation Rotation ) -> vector -- llRotBetween( vector Vector1, vector Vector2 ) -> rotation -- llSin( float Theta ) -> float -- llTan( float Theta ) -> float + llAcos( float Value ) -> float: + Value: A floating-point value. + tooltip: Returns the arc-cosine of Value, in radians. + llAngleBetween( rotation Rot1, rotation Rot2 ) -> float: + Rot1: First rotation. + Rot2: Second rotation. + tooltip: Returns the angle, in radians, between rotations Rot1 and Rot2. + llAsin( float Value ) -> float: + Value: A floating-point value. + tooltip: Returns the arc-sine, in radians, of Value. + llAtan2( float y, float x ) -> float: + y: A floating-point value. + x: A floating-point value. + tooltip: Returns the arc-tangent2 of y, x. + llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation: + Forward: Forward/Back part of rotation. + Left: Left/Right part of rotation. + Up: Up/Down part of rotation. + tooltip: Returns the rotation represented by coordinate axes Forward, Left, and Up. + llAxisAngle2Rot( vector Axis, float Angle ) -> rotation: + Axis: Axis. + Angle: Angle in radians. + tooltip: Returns the rotation that is a generated Angle about Axis. + llCos( float Theta ) -> float: + Theta: '' + tooltip: Returns the cosine of Theta (Theta in radians). + llRot2Angle( rotation Rotation ) -> float: + Rotation: '' + tooltip: Returns the rotation angle represented by Rotation.\nReturns the angle represented by the Rotation. + llRot2Axis( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the rotation axis represented by Rotation.\nReturns the axis represented by the Rotation. + llRot2Fwd( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the forward vector defined by Rotation.\nReturns the forward axis represented by the Rotation. + llRot2Left( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the left vector defined by Rotation.\nReturns the left axis represented by the Rotation. + llRot2Up( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the up vector defined by Rotation.\nReturns the up axis represented by the Rotation. + llRotBetween( vector Vector1, vector Vector2 ) -> rotation: + Vector1: '' + Vector2: '' + tooltip: Returns the rotation to rotate Vector1 to Vector2.\nReturns the rotation needed to rotate Vector1 to Vector2. + llSin( float Theta ) -> float: + Theta: '' + tooltip: Returns the sine of Theta (Theta in radians). + llTan( float Theta ) -> float: + Theta: '' + tooltip: Returns the tangent of Theta (Theta in radians). media: -- changed( integer Changed ) -- llClearLinkMedia( integer Link, integer Face ) -> integer -- llClearPrimMedia( integer Face ) -> integer -- llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list -- llGetPrimMediaParams( integer Face, list Parameters ) -> list -- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void -- llParcelMediaCommandList( list CommandList ) -> void -- llParcelMediaQuery( list QueryList ) -> list -- llRefreshPrimURL( ) -> void // deprecated -- llReleaseURL( string URL ) -> void -- llRequestSecureURL( ) -> key -- llRequestURL( ) -> key -- llSetContentType( key HTTPRequestID, integer ContentType ) -> void -- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer -- llSetParcelMusicURL( string URL ) -> void -- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer -- llSetPrimURL( string URL ) -> void // deprecated + changed( integer Changed ): + Changed: '' + tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + llClearLinkMedia( integer Link, integer Face ) -> integer: + Link: '' + Face: '' + tooltip: Clears (deletes) the media and all parameters from the given Face on the linked prim.\nReturns an integer that is a STATUS_* flag, which details the success/failure of the operation. + llClearPrimMedia( integer Face ) -> integer: + Face: Number of side to clear. + tooltip: Clears (deletes) the media and all parameters from the given Face.\nReturns an integer that is a STATUS_* flag which details the success/failure of the operation. + llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Face: The prim's side number + Parameters: A list of PRIM_MEDIA_* property constants to return values of. + tooltip: "Get the media parameters for a particular face on linked prim, given the desired list of parameter names. Returns a list of values in the order requested.\tReturns an empty list if no media\ + \ exists on the face." + llGetPrimMediaParams( integer Face, list Parameters ) -> list: + Face: face number + Parameters: A list of PRIM_MEDIA_* property constants to return values of. + tooltip: Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face. + llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void: + HTTPRequestID: A valid HTTP request key. + Status: HTTP Status (200, 400, 404, etc.). + Body: Contents of the response. + tooltip: Responds to an incoming HTTP request which was triggerd by an http_request event within the script. HTTPRequestID specifies the request to respond to (this ID is supplied in the http_request + event handler). Status and Body specify the status code and message to respond with. + llParcelMediaCommandList( list CommandList ) -> void: + CommandList: 'A list of PARCEL_MEDIA_COMMAND_* flags and their parameters ' + tooltip: Controls the playback of multimedia resources on a parcel or for an agent, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList. + llParcelMediaQuery( list QueryList ) -> list: + QueryList: '' + tooltip: Queries the media properties of the parcel containing the script, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.\nThis function will only work if the script is contained + within an object owned by the land-owner (or if the land is owned by a group, only if the object has been deeded to the group). + llRefreshPrimURL( ) -> void // deprecated: + tooltip: Reloads the web page shown on the sides of the object. + llReleaseURL( string URL ) -> void: + URL: URL to release. + tooltip: Releases the specified URL, which was previously obtained using llRequestURL. Once released, the URL will no longer be usable. + llRequestSecureURL( ) -> key: + tooltip: Requests one HTTPS:// (SSL) URL for use by this object. The http_request event is triggered with results.\nReturns a key that is the handle used for identifying the request in the http_request + event. + llRequestURL( ) -> key: + tooltip: Requests one HTTP:// URL for use by this script. The http_request event is triggered with the result of the request.\nReturns a key that is the handle used for identifying the result in the + http_request event. + llSetContentType( key HTTPRequestID, integer ContentType ) -> void: + HTTPRequestID: A valid http_request() key + ContentType: Media type to use with any following llHTTPResponse(HTTPRequestID, ...) + tooltip: Set the media type of an LSL HTTP server response to ContentType.\nHTTPRequestID must be a valid http_request ID. ContentType must be one of the CONTENT_TYPE_* constants. + llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer: + Link: 'Link number (0: unlinked, 1: root prim, >1: child prims).' + Face: Face number. + Parameters: A set of name/value pairs (in no particular order) + tooltip: Set the media parameters for a particular face on linked prim, specified by Link. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters + is a set of name/value pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified. + llSetParcelMusicURL( string URL ) -> void: + URL: '' + tooltip: Sets the streaming audio URL for the parcel the object is on.\nThe object must be owned by the owner of the parcel; if the parcel is group owned the object must be owned by that group. + llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer: + Face: Face number + MediaParameters: A set of name/value pairs (in no particular order) + tooltip: Sets the MediaParameters for a particular Face on the prim. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters is a set of name/value + pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified. + llSetPrimURL( string URL ) -> void // deprecated: + URL: '' + tooltip: 'Deprecated: Use llSetPrimMediaParams instead.' money: -- money( key Payer, integer Amount ) -- transaction_result( key RequestID, integer Success, string Message ) -- llGiveMoney( key AvatarID, integer Amount ) -> integer -- llSetClickAction( integer Action ) -> void -- llSetPayPrice( integer Price, list QuickButtons ) -> void -- llTransferLindenDollars( key AvatarID, integer Amount ) -> key + money( key Payer, integer Amount ): + Payer: '' + Amount: '' + tooltip: This event is triggered when a resident has given an amount of Linden dollars to the object. + transaction_result( key RequestID, integer Success, string Message ): + RequestID: '' + Success: '' + Message: '' + tooltip: Triggered by llTransferLindenDollars() function. + llGiveMoney( key AvatarID, integer Amount ) -> integer: + AvatarID: '' + Amount: '' + tooltip: Transfers Amount of L$ from script owner to AvatarID.\nThis call will silently fail if PERMISSION_DEBIT has not been granted. + llSetClickAction( integer Action ) -> void: + Action: A CLICK_ACTION_* flag + tooltip: Sets the action performed when a prim is clicked upon. + llSetPayPrice( integer Price, list QuickButtons ) -> void: + Price: The default price shown in the text input field. + QuickButtons: Specifies the 4 payment values shown in the payment dialog's buttons (or PAY_HIDE). + tooltip: Sets the default amount when someone chooses to pay this object.\nPrice is the default price shown in the text input field. QuickButtons specifies the 4 payment values shown in the payment + dialog's buttons.\nInput field and buttons may be hidden with PAY_HIDE constant, and may be set to their default values using PAY_DEFAULT. + llTransferLindenDollars( key AvatarID, integer Amount ) -> key: + AvatarID: '' + Amount: '' + tooltip: Transfer Amount of linden dollars (L$) from script owner to AvatarID. Returns a key to a corresponding transaction_result event for the success of the transfer.\nAttempts to send the amount + of money to the specified avatar, and trigger a transaction_result event identified by the returned key. Requires the PERMISSION_DEBIT runtime permission. movement: -- at_rot_target( integer TargetNumber, rotation TargetRotation, rotation CurrentRotation ) -- at_target( integer TargetNumber, vector TargetPosition, vector CurrentPosition ) -- moving_end( ) -- moving_start( ) -- not_at_rot_target( ) -- not_at_target( ) -- llApplyImpulse( vector Force, integer Local ) -> void -- llApplyRotationalImpulse( vector Force, integer Local ) -> void -- llGetOmega( ) -> vector -- llGetTorque( ) -> vector -- llGetVel( ) -> vector -- llLookAt( vector Target, float Strength, float Damping ) -> void -- llMoveToTarget( vector Target, float Tau ) -> void -- llPointAt( vector Point ) -> void // private // deprecated -- llPushObject( key ObjectID, vector Impulse, vector AngularImpulse, integer Local ) -> void -- llRotLookAt( rotation Rotation, float Strength, float Damping ) -> void -- llRotTarget( rotation Rotation, float LeeWay ) -> integer -- llRotTargetRemove( integer Handle ) -> void -- llSetAgentRot( rotation rot, integer flags ) -> void -- llSetAngularVelocity( vector AngVel, integer Local ) -> void -- llSetForce( vector Force, integer Local ) -> void -- llSetForceAndTorque( vector Force, vector Torque, integer Local ) -> void -- llSetHoverHeight( float Height, integer Water, float Tau ) -> void -- llSetKeyframedMotion( list Keyframes, list Options ) -> void -- llSetLocalRot( rotation Rotation ) -> void -- llSetPos( vector Position ) -> void -- llSetRegionPos( vector Position ) -> integer -- llSetRot( rotation Rotation ) -> void -- llSetTorque( vector Torque, integer Local ) -> void -- llSetVelocity( vector Velocity, integer Local ) -> void -- llStopHover( ) -> void -- llStopLookAt( ) -> void -- llStopMoveToTarget( ) -> void -- llStopPointAt( ) -> void // private // deprecated -- llTarget( vector Position, float Range ) -> integer -- llTargetOmega( vector Axis, float SpinRate, float Gain ) -> void -- llTargetRemove( integer Target ) -> void + at_rot_target( integer TargetNumber, rotation TargetRotation, rotation CurrentRotation ): + TargetNumber: '' + TargetRotation: '' + CurrentRotation: '' + tooltip: This event is triggered when a script comes within a defined angle of a target rotation. The range and rotation are set by a call to llRotTarget. + at_target( integer TargetNumber, vector TargetPosition, vector CurrentPosition ): + TargetNumber: '' + TargetPosition: '' + CurrentPosition: '' + tooltip: This event is triggered when the scripted object comes within a defined range of the target position, defined by the llTarget function call. + moving_end( ): + tooltip: Triggered whenever an object with this script stops moving. + moving_start( ): + tooltip: Triggered whenever an object with this script starts moving. + not_at_rot_target( ): + tooltip: When a target is set via the llRotTarget function call, but the script is outside the specified angle this event is raised. + not_at_target( ): + tooltip: When a target is set via the llTarget library call, but the script is outside the specified range this event is raised. + llApplyImpulse( vector Force, integer Local ) -> void: + Force: Amount of impulse force to apply. + Local: Boolean, if TRUE, force is treated as a local directional vector instead of region directional vector. + tooltip: Applies impulse to the object.\nIf Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\nThis function only works on physical objects. + llApplyRotationalImpulse( vector Force, integer Local ) -> void: + Force: Amount of impulse force to apply. + Local: Boolean, if TRUE, uses local axis, if FALSE, uses region axis. + tooltip: Applies rotational impulse to the object.\nIf Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\nThis function only works on physical objects. + llGetOmega( ) -> vector: + tooltip: Returns the rotation velocity in radians per second.\nReturns a vector that is the rotation velocity of the object in radians per second. + llGetTorque( ) -> vector: + tooltip: Returns the torque (if the script is physical).\nReturns a vector that is the torque (if the script is physical). + llGetVel( ) -> vector: + tooltip: Returns the velocity of the object.\nReturns a vector that is the velocity of the object. + llLookAt( vector Target, float Strength, float Damping ) -> void: + Target: '' + Strength: '' + Damping: '' + tooltip: Cause object name to point its forward axis towards Target, at a force controlled by Strength and Damping.\nGood Strength values are around half the mass of the object and good Damping values + are less than 1/10th of the Strength.\nAsymmetrical shapes require smaller Damping. A Strength of 0.0 cancels the look at. + llMoveToTarget( vector Target, float Tau ) -> void: + Target: '' + Tau: '' + tooltip: Critically damp to Target in Tau seconds (if the script is physical).\nCritically damp to position target in tau-seconds if the script is physical. Good tau-values are greater than 0.2. A tau + of 0.0 stops the critical damping. + llPointAt( vector Point ) -> void // private // deprecated: + Point: '' + tooltip: '' + llPushObject( key ObjectID, vector Impulse, vector AngularImpulse, integer Local ) -> void: + ObjectID: '' + Impulse: '' + AngularImpulse: '' + Local: '' + tooltip: Applies Impulse and AngularImpulse to ObjectID.\nApplies the supplied impulse and angular impulse to the object specified. + llRotLookAt( rotation Rotation, float Strength, float Damping ) -> void: + Rotation: '' + Strength: '' + Damping: '' + tooltip: Cause object to rotate to Rotation, with a force function defined by Strength and Damping parameters. Good strength values are around half the mass of the object and good damping values are + less than 1/10th of the strength.\nAsymmetrical shapes require smaller damping.\nA strength of 0.0 cancels the look at. + llRotTarget( rotation Rotation, float LeeWay ) -> integer: + Rotation: '' + LeeWay: '' + tooltip: Set rotations with error of LeeWay radians as a rotational target, and return an ID for the rotational target.\nThe returned number is a handle that can be used in at_rot_target and llRotTargetRemove. + llRotTargetRemove( integer Handle ) -> void: + Handle: '' + tooltip: Removes rotational target number.\nRemove rotational target indicated by the handle. + llSetAgentRot( rotation rot, integer flags ) -> void: + rot: Rotation to turn the avatar to face. + flags: flags + tooltip: Sets the avatar rotation to the given value. + llSetAngularVelocity( vector AngVel, integer Local ) -> void: + AngVel: The angular velocity to set the object to. + Local: If TRUE, the AngVel is treated as a local directional vector instead of a regional directional vector. + tooltip: Sets an object's angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical).\nHas no effect on non-physical objects. + llSetForce( vector Force, integer Local ) -> void: + Force: Directional force. + Local: Boolean, if TRUE uses local axis, if FALSE uses region axis. + tooltip: Sets Force on object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects. + llSetForceAndTorque( vector Force, vector Torque, integer Local ) -> void: + Force: Directional force. + Torque: Torque force. + Local: Boolean, if TRUE uses local axis, if FALSE uses region axis. + tooltip: Sets the Force and Torque of object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects. + llSetHoverHeight( float Height, integer Water, float Tau ) -> void: + Height: Distance above the ground. + Water: Boolean, if TRUE then hover above water too. + Tau: Seconds to critically damp in. + tooltip: Critically damps a physical object to a Height (either above ground level or above the higher of land and water if water == TRUE).\nDo not use with vehicles. Use llStopHover to stop hovering. + llSetKeyframedMotion( list Keyframes, list Options ) -> void: + Keyframes: 'Strided keyframe list of the form: position, orientation, time. Each keyframe is interpreted relative to the previous transform of the object.' + Options: '' + tooltip: Requests that a non-physical object be key-framed according to key-frame list.\nSpecify a list of times, positions, and orientations to be followed by an object. The object will be smoothly + moved between key-frames by the simulator. Collisions with other non-physical or key-framed objects will be ignored (no script events will fire and collision processing will not occur). Collisions + with physical objects will be computed and reported, but the key-framed object will be unaffected by those collisions.\nKeyframes is a strided list containing positional, rotational, and time data + for each step in the motion. Options is a list containing optional arguments and parameters (specified by KFM_* constants). + llSetLocalRot( rotation Rotation ) -> void: + Rotation: '' + tooltip: Sets the rotation of a child prim relative to the root prim. + llSetPos( vector Position ) -> void: + Position: Region coordinates to move to (within 10m). + tooltip: If the object is not physical, this function sets the position of the prim.\nIf the script is in a child prim, Position is treated as root relative and the link-set is adjusted.\nIf the prim + is the root prim, the entire object is moved (up to 10m) to Position in region coordinates. + llSetRegionPos( vector Position ) -> integer: + Position: Vector. The location to move to, in region coordinates. + tooltip: Attempts to move the object so that the root prim is within 0.1m of Position.\nReturns an integer boolean, TRUE if the object is successfully placed within 0.1 m of Position, FALSE otherwise.\nPosition + may be any location within the region or up to 10m across a region border.\nIf the position is below ground, it will be set to the ground level at that x,y location. + llSetRot( rotation Rotation ) -> void: + Rotation: '' + tooltip: If the object is not physical, this function sets the rotation of the prim.\nIf the script is in a child prim, Rotation is treated as root relative and the link-set is adjusted.\nIf the prim + is the root prim, the entire object is rotated to Rotation in the global reference frame. + llSetTorque( vector Torque, integer Local ) -> void: + Torque: Torque force. + Local: Boolean, if TRUE uses local axis, if FALSE uses region axis. + tooltip: Sets the Torque acting on the script's object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects. + llSetVelocity( vector Velocity, integer Local ) -> void: + Velocity: The velocity to apply. + Local: If TRUE, the Velocity is treated as a local directional vector instead of a regional directional vector. + tooltip: If the object is physics-enabled, sets the object's linear velocity to Velocity.\nIf Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global + directional vector. + llStopHover( ) -> void: + tooltip: Stop hovering to a height (due to llSetHoverHeight()). + llStopLookAt( ) -> void: + tooltip: Stop causing object to point at a target (due to llLookAt() or llRotLookAt()). + llStopMoveToTarget( ) -> void: + tooltip: Stops critically damped motion (due to llMoveToTarget()). + llStopPointAt( ) -> void // private // deprecated: + tooltip: '' + llTarget( vector Position, float Range ) -> integer: + Position: '' + Range: '' + tooltip: This function is to have the script know when it has reached a position.\nIt registers a Position with a Range that triggers at_target and not_at_target events continuously until unregistered. + llTargetOmega( vector Axis, float SpinRate, float Gain ) -> void: + Axis: '' + SpinRate: '' + Gain: '' + tooltip: Attempt to spin at SpinRate with strength Gain on Axis.\nA spin rate of 0.0 cancels the spin. This function always works in object-local coordinates. + llTargetRemove( integer Target ) -> void: + Target: '' + tooltip: Removes positional target Handle registered with llTarget. notecard: -- llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key -- llFindNotecardTextSync( string NotecardName, string Pattern, integer StartMatch, integer Count, list Options ) -> list -- llGetNotecardLine( string NotecardName, integer LineNumber ) -> key -- llGetNotecardLineSync( string NotecardName, integer LineNumber ) -> string -- llGetNumberOfNotecardLines( string NotecardName ) -> key + llFindNotecardTextCount( string NotecardName, string Pattern, list Options ) -> key: + NotecardName: '' + Pattern: Regex pattern to find in the notecard text. + Options: A list of options to control the search. Included for future expansion, should be [] + tooltip: "Searches the text of a cached notecard for lines containing the given pattern and returns the \n number of matches found through a dataserver event.\n " + llFindNotecardTextSync( string NotecardName, string Pattern, integer StartMatch, integer Count, list Options ) -> list: + NotecardName: '' + Pattern: Regex pattern to find in the notecard text. + StartMatch: Index of the first match to return. + Count: The maximum number of matches to return. If 0 this function will return the first 64 matches found. + Options: A list of options to control the search. Included for future expansion, should be [] + tooltip: "Searches the text of a cached notecard for lines containing the given pattern. \n Returns a list of line numbers and column where a match is found. If the notecard is not in\n \ + \ the cache it returns a list containing a single entry of NAK. If no matches are found an\n empty list is returned." + llGetNotecardLine( string NotecardName, integer LineNumber ) -> key: + NotecardName: '' + LineNumber: '' + tooltip: Returns LineNumber from NotecardName via the dataserver event. The line index starts at zero in LSL, one in Lua.\nIf the requested line is passed the end of the note-card the dataserver event + will return the constant EOF string.\nThe key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter. + llGetNotecardLineSync( string NotecardName, integer LineNumber ) -> string: + NotecardName: '' + LineNumber: '' + tooltip: Returns LineNumber from NotecardName. The line index starts at zero in LSL, one in Lua.\nIf the requested line is past the end of the note-card the return value will be set to the constant + EOF string.\nIf the note-card is not cached on the simulator the return value is the NAK string. + llGetNumberOfNotecardLines( string NotecardName ) -> key: + NotecardName: '' + tooltip: Returns the number of lines contained within a notecard via the dataserver event.\nThe key returned by this function is a query ID for identifying the dataserver reply. object: -- llGetBoundingBox( key ID ) -> list -- llGetCenterOfMass( ) -> vector -- llGetObjectDetails( key ID, list Parameters ) -> list -- llGetObjectLinkKey( key id, integer link_no ) -> key -- llGetObjectMass( key ID ) -> float -- llGetObjectPrimCount( key ObjectID ) -> integer -- llGetOwnerKey( key ObjectID ) -> key -- llKey2Name( key ID ) -> string -- llSameGroup( key ID ) -> integer + llGetBoundingBox( key ID ) -> list: + ID: '' + tooltip: Returns the bounding box around the object (including any linked prims) relative to its root prim, as a list in the format [ (vector) min_corner, (vector) max_corner ]. + llGetCenterOfMass( ) -> vector: + tooltip: Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass). + llGetObjectDetails( key ID, list Parameters ) -> list: + ID: Prim or avatar UUID that is in the same region. + Parameters: List of OBJECT_* flags. + tooltip: Returns a list of object details specified in the Parameters list for the object or avatar in the region with key ID.\nParameters are specified by the OBJECT_* constants. + llGetObjectLinkKey( key id, integer link_no ) -> key: + id: UUID of prim + link_no: Link number to retrieve + tooltip: Returns the key of the linked prim link_no in a linkset.\nReturns the key of link_no in the link set specified by id. + llGetObjectMass( key ID ) -> float: + ID: '' + tooltip: Returns the mass of the avatar or object in the region.\nGets the mass of the object or avatar corresponding to ID. + llGetObjectPrimCount( key ObjectID ) -> integer: + ObjectID: '' + tooltip: Returns the total number of prims for an object in the region.\nReturns the prim count for any object id in the same region. + llGetOwnerKey( key ObjectID ) -> key: + ObjectID: '' + tooltip: Returns the owner of ObjectID.\nReturns the key for the owner of object ObjectID. + llKey2Name( key ID ) -> string: + ID: Avatar or rezzed prim UUID. + tooltip: Returns the name of the prim or avatar specified by ID. The ID must be a valid rezzed prim or avatar key in the current simulator, otherwise an empty string is returned.\nFor avatars, the returned + name is the legacy name + llSameGroup( key ID ) -> integer: + ID: '' + tooltip: Returns TRUE if avatar ID is in the same region and has the same active group, otherwise FALSE.\nReturns TRUE if the object or agent identified is in the same simulator and has the same active + group as this object. Otherwise, returns FALSE. object_animation: -- llGetObjectAnimationNames( ) -> list -- llStartObjectAnimation( string Animation ) -> void -- llStopObjectAnimation( string Animation ) -> void + llGetObjectAnimationNames( ) -> list: + tooltip: Returns a list of names of playing animations for an object.\nReturns a list of names of all playing animations for the current object. + llStartObjectAnimation( string Animation ) -> void: + Animation: '' + tooltip: This function plays the specified animation on the rigged mesh object associated with the current script.\nAnimation may be an animation in task inventory or a built-in animation.\n + llStopObjectAnimation( string Animation ) -> void: + Animation: '' + tooltip: This function stops the specified animation on the rigged mesh object associated with the current script.\nAnimation may be an animation in task inventory, a built-in animation, or the uuid + of an animation.\n parcel: -- llAddToLandBanList( key ID, float Hours ) -> void -- llAddToLandPassList( key ID, float Hours ) -> void -- llEjectFromLand( key AvatarID ) -> void -- llGetAgentList( integer Scope, list Options ) -> list -- llGetEnvironment( vector Position, list EnvParams ) -> list -- llGetLandOwnerAt( vector Position ) -> key -- llGetMoonDirection( ) -> vector -- llGetMoonRotation( ) -> rotation -- llGetParcelDetails( vector Position, list ParcelDetails ) -> list -- llGetParcelFlags( vector Position ) -> integer -- llGetParcelMaxPrims( vector Position, integer SimWide ) -> integer -- llGetParcelMusicURL( ) -> string -- llGetParcelPrimCount( vector Position, integer Category, integer SimWide ) -> integer -- llGetParcelPrimOwners( vector Position ) -> list -- llGetSunDirection( ) -> vector -- llGetSunRotation( ) -> rotation -- llOverMyLand( key ID ) -> integer -- llParcelMediaCommandList( list CommandList ) -> void -- llParcelMediaQuery( list QueryList ) -> list -- llRemoveFromLandBanList( key AvatarID ) -> void -- llRemoveFromLandPassList( key AvatarID ) -> void -- llReplaceEnvironment( vector position, string environment, integer track_no, integer day_length, integer day_offset ) -> integer -- llResetLandBanList( ) -> void -- llResetLandPassList( ) -> void -- llScriptDanger( vector Position ) -> integer -- llSetEnvironment( vector Position, list EnvParams ) -> integer -- llSetParcelForSale( integer ForSale, list Options ) -> integer -- llSetParcelMusicURL( string URL ) -> void + llAddToLandBanList( key ID, float Hours ) -> void: + ID: Agent UUID to add to ban-list. + Hours: Period, in hours, to ban the avatar for. + tooltip: Add avatar ID to the parcel ban list for the specified number of Hours.\nA value of 0 for Hours will add the agent indefinitely.\nThe smallest value that Hours will accept is 0.01; anything + smaller will be seen as 0.\nWhen values that small are used, it seems the function bans in approximately 30 second increments (Probably 36 second increments, as 0.01 of an hour is 36 seconds).\nResidents + teleporting to a parcel where they are banned will be redirected to a neighbouring parcel. + llAddToLandPassList( key ID, float Hours ) -> void: + ID: Agent UUID to add to pass-list. + Hours: Period, in hours, to allow the avatar for. + tooltip: Add avatar ID to the land pass list, for a duration of Hours. + llEjectFromLand( key AvatarID ) -> void: + AvatarID: '' + tooltip: Ejects AvatarID from land that you own.\nEjects AvatarID from land that the object owner (group or resident) owns. + llGetAgentList( integer Scope, list Options ) -> list: + Scope: The scope (region, parcel, parcel same owner) to return agents for. + Options: List of options to apply. Current unused. + tooltip: Requests a list of agents currently in the region, limited by the scope parameter.\nReturns a list [key UUID-0, key UUID-1, ..., key UUID-n] or [string error_msg] - returns avatar keys for + all agents in the region limited to the area(s) specified by scope + llGetEnvironment( vector Position, list EnvParams ) -> list: + Position: Location within the region. + EnvParams: List of environment settings requested for the specified parcel location. + tooltip: Returns a string with the requested data about the region. + llGetLandOwnerAt( vector Position ) -> key: + Position: '' + tooltip: Returns the key of the land owner, returns NULL_KEY if public.\nReturns the key of the land owner at Position, or NULL_KEY if public. + llGetMoonDirection( ) -> vector: + tooltip: Returns a normalized vector of the direction of the moon in the parcel.\nReturns the moon's direction on the simulator in the parcel. + llGetMoonRotation( ) -> rotation: + tooltip: Returns the rotation applied to the moon in the parcel. + llGetParcelDetails( vector Position, list ParcelDetails ) -> list: + Position: Location within the region. + ParcelDetails: List of details requested for the specified parcel location. + tooltip: 'Returns a list of parcel details specified in the ParcelDetails list for the parcel at Position.\nParameters is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA, _ID, _SEE_AVATARS.\nReturns + a list that is the parcel details specified in ParcelDetails (in the same order) for the parcel at Position.' + llGetParcelFlags( vector Position ) -> integer: + Position: '' + tooltip: Returns a mask of the parcel flags (PARCEL_FLAG_*) for the parcel that includes the point Position.\nReturns a bit-field specifying the parcel flags (PARCEL_FLAG_*) for the parcel at Position. + llGetParcelMaxPrims( vector Position, integer SimWide ) -> integer: + Position: Region coordinates (z is ignored) of parcel. + SimWide: Boolean. If FALSE then the return is the maximum prims supported by the parcel. If TRUE then it is the combined number of prims on all parcels in the region owned by the specified parcel's + owner. + tooltip: Returns the maximum number of prims allowed on the parcel at Position for a given scope.\nThe scope may be set to an individual parcel or the combined resources of all parcels with the same + ownership in the region. + llGetParcelMusicURL( ) -> string: + tooltip: Gets the streaming audio URL for the parcel object is on.\nThe object owner, avatar or group, must also be the land owner. + llGetParcelPrimCount( vector Position, integer Category, integer SimWide ) -> integer: + Position: Region coordinates of parcel to query. + Category: A PARCEL_COUNT_* flag. + SimWide: Boolean. If FALSE then the return is the maximum prims supported by the parcel. If TRUE then it is the combined number of prims on all parcels in the region owned by the specified parcel's + owner. + tooltip: 'Returns the number of prims on the parcel at Position of the given category.\nCategories: PARCEL_COUNT_TOTAL, _OWNER, _GROUP, _OTHER, _SELECTED, _TEMP.\nReturns the number of prims used on + the parcel at Position which are in Category.\nIf SimWide is TRUE, it returns the total number of objects for all parcels with matching ownership in the category specified.\nIf SimWide is FALSE, it + returns the number of objects on this specific parcel in the category specified' + llGetParcelPrimOwners( vector Position ) -> list: + Position: '' + tooltip: Returns a list of up to 100 residents who own objects on the parcel at Position, with per-owner land impact totals.\nRequires owner-like permissions for the parcel, and for the script owner + to be present in the region.\nThe list is formatted as [ key agentKey1, integer agentLI1, key agentKey2, integer agentLI2, ... ], sorted by agent key.\nThe integers are the combined land impacts of + the objects owned by the corresponding agents. + llGetSunDirection( ) -> vector: + tooltip: Returns a normalized vector of the direction of the sun in the parcel.\nReturns the sun's direction on the simulator in the parcel. + llGetSunRotation( ) -> rotation: + tooltip: Returns the rotation applied to the sun in the parcel. + llOverMyLand( key ID ) -> integer: + ID: '' + tooltip: Returns TRUE if id ID over land owned by the script owner, otherwise FALSE.\nReturns TRUE if key ID is over land owned by the object owner, FALSE otherwise. + llParcelMediaCommandList( list CommandList ) -> void: + CommandList: 'A list of PARCEL_MEDIA_COMMAND_* flags and their parameters ' + tooltip: Controls the playback of multimedia resources on a parcel or for an agent, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList. + llParcelMediaQuery( list QueryList ) -> list: + QueryList: '' + tooltip: Queries the media properties of the parcel containing the script, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.\nThis function will only work if the script is contained + within an object owned by the land-owner (or if the land is owned by a group, only if the object has been deeded to the group). + llRemoveFromLandBanList( key AvatarID ) -> void: + AvatarID: '' + tooltip: Remove avatar from the land ban list.\nRemove specified avatar from the land parcel ban list. + llRemoveFromLandPassList( key AvatarID ) -> void: + AvatarID: '' + tooltip: Remove avatar from the land pass list.\nRemove specified avatar from the land parcel pass list. + ? llReplaceEnvironment( vector position, string environment, integer track_no, integer day_length, integer day_offset ) -> integer + : position: Location of parcel to change. Use <-1, -1, -1> for entire region. + environment: "Name of inventory item, or UUID of environment resource to apply.\n Use NULL_KEY or empty string to remove environment." + track_no: Elevation zone of where to apply environment. Use -1 for all. + day_length: Length of day cycle for this parcel or region. -1 to leave unchanged. + day_offset: Offset from GMT for the day cycle on this parcel or region. -1 to leave unchanged. + tooltip: Replaces the environment for a parcel or region. + llResetLandBanList( ) -> void: + tooltip: Removes all residents from the land ban list. + llResetLandPassList( ) -> void: + tooltip: Removes all residents from the land access/pass list. + llScriptDanger( vector Position ) -> integer: + Position: '' + tooltip: Returns TRUE if Position is over public land, sandbox land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.\nReturns true if the position is + over public land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts. + llSetEnvironment( vector Position, list EnvParams ) -> integer: + Position: Location within the region. + EnvParams: List of environment settings to change for the specified parcel location. + tooltip: Returns a string with the requested data about the region. + llSetParcelForSale( integer ForSale, list Options ) -> integer: + ForSale: If TRUE, the parcel is put up for sale. + Options: A list of options to set for the sale. + tooltip: Sets the parcel the object is on for sale.\nForSale is a boolean, if TRUE the parcel is put up for sale. Options is a list of options to set for the sale, such as price, authorized buyer, and + whether to include objects on the parcel.\n Setting ForSale to FALSE will remove the parcel from sale and clear any options that were set.\nRequires the PERMISSION_PRIVILEGED_LAND_ACCESS permission. + llSetParcelMusicURL( string URL ) -> void: + URL: '' + tooltip: Sets the streaming audio URL for the parcel the object is on.\nThe object must be owned by the owner of the parcel; if the parcel is group owned the object must be owned by that group. parcel_appearance: -- llGetEnvironment( vector Position, list EnvParams ) -> list -- llGetMoonDirection( ) -> vector -- llGetMoonRotation( ) -> rotation -- llGetSunDirection( ) -> vector -- llGetSunRotation( ) -> rotation -- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer -- llReplaceEnvironment( vector position, string environment, integer track_no, integer day_length, integer day_offset ) -> integer -- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer -- llSetEnvironment( vector Position, list EnvParams ) -> integer + llGetEnvironment( vector Position, list EnvParams ) -> list: + Position: Location within the region. + EnvParams: List of environment settings requested for the specified parcel location. + tooltip: Returns a string with the requested data about the region. + llGetMoonDirection( ) -> vector: + tooltip: Returns a normalized vector of the direction of the moon in the parcel.\nReturns the moon's direction on the simulator in the parcel. + llGetMoonRotation( ) -> rotation: + tooltip: Returns the rotation applied to the moon in the parcel. + llGetSunDirection( ) -> vector: + tooltip: Returns a normalized vector of the direction of the sun in the parcel.\nReturns the sun's direction on the simulator in the parcel. + llGetSunRotation( ) -> rotation: + tooltip: Returns the rotation applied to the sun in the parcel. + llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer: + agent_id: '' + transition: '' + environment: '' + tooltip: Replaces the entire environment for an agent. Must be used as part of an experience. + ? llReplaceEnvironment( vector position, string environment, integer track_no, integer day_length, integer day_offset ) -> integer + : position: Location of parcel to change. Use <-1, -1, -1> for entire region. + environment: "Name of inventory item, or UUID of environment resource to apply.\n Use NULL_KEY or empty string to remove environment." + track_no: Elevation zone of where to apply environment. Use -1 for all. + day_length: Length of day cycle for this parcel or region. -1 to leave unchanged. + day_offset: Offset from GMT for the day cycle on this parcel or region. -1 to leave unchanged. + tooltip: Replaces the environment for a parcel or region. + llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer: + agent_id: Agent to receive new environment settings. + transition: Number of seconds over which to apply new settings. + Settings: List of environment settings to replace for agent. + tooltip: Sets an agent's environmental values to the specified values. Must be used as part of an experience. + llSetEnvironment( vector Position, list EnvParams ) -> integer: + Position: Location within the region. + EnvParams: List of environment settings to change for the specified parcel location. + tooltip: Returns a string with the requested data about the region. parcel_media: -- llParcelMediaCommandList( list CommandList ) -> void -- llParcelMediaQuery( list QueryList ) -> list -- llSetParcelMusicURL( string URL ) -> void + llParcelMediaCommandList( list CommandList ) -> void: + CommandList: 'A list of PARCEL_MEDIA_COMMAND_* flags and their parameters ' + tooltip: Controls the playback of multimedia resources on a parcel or for an agent, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList. + llParcelMediaQuery( list QueryList ) -> list: + QueryList: '' + tooltip: Queries the media properties of the parcel containing the script, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.\nThis function will only work if the script is contained + within an object owned by the land-owner (or if the land is owned by a group, only if the object has been deeded to the group). + llSetParcelMusicURL( string URL ) -> void: + URL: '' + tooltip: Sets the streaming audio URL for the parcel the object is on.\nThe object must be owned by the owner of the parcel; if the parcel is group owned the object must be owned by that group. particles: -- llLinkParticleSystem( integer LinkNumber, list Rules ) -> void -- llParticleSystem( list Parameters ) -> void + llLinkParticleSystem( integer LinkNumber, list Rules ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Rules: Particle system rules list in the format [ rule1, data1, rule2, data2 . . . ruleN, dataN ] + tooltip: Creates a particle system in prim LinkNumber based on Rules. An empty list removes a particle system from object.\nList format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].\nThis + is identical to llParticleSystem except that it applies to a specified linked prim and not just the prim the script is in. + llParticleSystem( list Parameters ) -> void: + Parameters: '' + tooltip: Creates a particle system in the prim the script is attached to, based on Parameters. An empty list removes a particle system from object.\nList format is [ rule-1, data-1, rule-2, data-2 ... + rule-n, data-n ]. pathfinding: -- moving_end( ) -- moving_start( ) -- path_update( integer Type, list Reserved ) -- llCreateCharacter( list Options ) -> void -- llDeleteCharacter( ) -> void -- llEvade( key TargetID, list Options ) -> void -- llExecCharacterCmd( integer Command, list Options ) -> void -- llFleeFrom( vector Source, float Distance, list Options ) -> void -- llGetClosestNavPoint( vector Point, list Options ) -> list -- llGetStaticPath( vector Start, vector End, float Radius, list Parameters ) -> list -- llNavigateTo( vector Location, list Options ) -> void -- llPatrolPoints( list Points, list Options ) -> void -- llPursue( key TargetID, list Options ) -> void -- llUpdateCharacter( list Options ) -> void -- llWanderWithin( vector Origin, vector Area, list Options ) -> void + moving_end( ): + tooltip: Triggered whenever an object with this script stops moving. + moving_start( ): + tooltip: Triggered whenever an object with this script starts moving. + path_update( integer Type, list Reserved ): + Type: '' + Reserved: '' + tooltip: This event is called to inform the script of changes within the object's path-finding status. + llCreateCharacter( list Options ) -> void: + Options: '' + tooltip: Convert link-set to AI/Physics character.\nCreates a path-finding entity, known as a "character", from the object containing the script. Required to activate use of path-finding functions.\nOptions + is a list of key/value pairs. + llDeleteCharacter( ) -> void: + tooltip: Convert link-set from AI/Physics character to Physics object.\nConvert the current link-set back to a standard object, removing all path-finding properties. + llEvade( key TargetID, list Options ) -> void: + TargetID: Agent or object to evade. + Options: No options yet. + tooltip: Evade a specified target.\nCharacters will (roughly) try to hide from their pursuers if there is a good hiding spot along their fleeing path. Hiding means no direct line of sight from the head + of the character (centre of the top of its physics bounding box) to the head of its pursuer and no direct path between the two on the navigation-mesh. + llExecCharacterCmd( integer Command, list Options ) -> void: + Command: Command to send. + Options: Height for CHARACTER_CMD_JUMP. + tooltip: Execute a character command.\nSend a command to the path system.\nCurrently only supports stopping the current path-finding operation or causing the character to jump. + llFleeFrom( vector Source, float Distance, list Options ) -> void: + Source: Global coordinate from which to flee. + Distance: Distance in meters to flee from the source. + Options: No options available at this time. + tooltip: Flee from a point.\nDirects a character (llCreateCharacter) to keep away from a defined position in the region or adjacent regions. + llGetClosestNavPoint( vector Point, list Options ) -> list: + Point: A point in region-local space. + Options: No options at this time. + tooltip: Get the closest navigable point to the point provided.\nThe function accepts a point in region-local space (like all the other path-finding methods) and returns either an empty list or a list + containing a single vector which is the closest point on the navigation-mesh to the point provided. + llGetStaticPath( vector Start, vector End, float Radius, list Parameters ) -> list: + Start: Starting position. + End: Ending position. + Radius: Radius of the character that the path is for, between 0.125m and 5.0m. + Parameters: Currently only accepts the parameter CHARACTER_TYPE; the options are identical to those used for llCreateCharacter. The default value is CHARACTER_TYPE_NONE. + tooltip: '' + llNavigateTo( vector Location, list Options ) -> void: + Location: Region coordinates for the character to navigate to. + Options: List of parameters to control the type of path-finding used. Currently only FORCE_DIRECT_PATH supported. + tooltip: Navigate to destination.\nDirects an object to travel to a defined position in the region or adjacent regions. + llPatrolPoints( list Points, list Options ) -> void: + Points: A list of vectors for the character to travel through sequentially. The list must contain at least two entries. + Options: No options available at this time. + tooltip: Patrol a list of points.\nSets the points for a character (llCreateCharacter) to patrol along. + llPursue( key TargetID, list Options ) -> void: + TargetID: Agent or object to pursue. + Options: Parameters for pursuit. + tooltip: Chase after a target.\nCauses the character (llCharacter) to pursue the target defined by TargetID. + llUpdateCharacter( list Options ) -> void: + Options: Character configuration options. Takes the same constants as llCreateCharacter(). + tooltip: Updates settings for a pathfinding character. + llWanderWithin( vector Origin, vector Area, list Options ) -> void: + Origin: Central point to wander about. + Area: Half-extents of an area the character may wander within. (i.e., it can wander from the specified origin by up to +/-Distance.x in x, +/-Distance.y in y, etc.) + Options: No options available at this time. + tooltip: Wander within a specified volume.\nSets a character to wander about a central spot within a specified area. permissions: -- experience_permissions( key agent_id ) -- experience_permissions_denied( key agent_id, integer Reason ) -- run_time_permissions( integer PermissionFlags ) -- llClearCameraParams( ) -> void -- llForceMouselook( integer Enable ) -> void -- llGetAnimation( key AvatarID ) -> string -- llGetAnimationList( key AvatarID ) -> list -- llGetAnimationOverride( string AnimationState ) -> string -- llGetCameraAspect( ) -> float -- llGetCameraFOV( ) -> float -- llGetCameraPos( ) -> vector -- llGetCameraRot( ) -> rotation -- llGetPermissions( ) -> integer -- llGetPermissionsKey( ) -> key -- llGiveMoney( key AvatarID, integer Amount ) -> integer -- llReleaseCamera( key AvatarID ) -> void // deprecated -- llReleaseControls( ) -> void -- llRequestExperiencePermissions( key AgentID, string unused ) -> void -- llRequestPermissions( key AvatarID, integer PermissionMask ) -> void -- llResetAnimationOverride( string AnimationState ) -> void -- llSetAnimationOverride( string AnimationState, string AnimationName ) -> void -- llSetCameraParams( list Parameters ) -> void -- llStartAnimation( string Animation ) -> void -- llStopAnimation( string Animation ) -> void -- llTakeCamera( key AvatarID ) -> void // deprecated -- llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void -- llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void -- llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void -- llTransferLindenDollars( key AvatarID, integer Amount ) -> key -- llWorldPosToHUD( vector world_pos ) -> vector + experience_permissions( key agent_id ): + agent_id: ID of the agent approving permission for the Experience. + tooltip: Triggered when an agent has approved an experience permissions request. + experience_permissions_denied( key agent_id, integer Reason ): + agent_id: ID of the agent denying permission for the Experience. + Reason: One of the XP_ERROR_... constants describing the reason why the Experience permissions were denied for the agent. + tooltip: Describes why the Experience permissions were denied for the agent. + run_time_permissions( integer PermissionFlags ): + PermissionFlags: '' + tooltip: "Scripts need permission from either the owner or the avatar they wish to act on before they may perform certain functions, such as debiting money from their owners account, triggering an animation\ + \ on an avatar, or capturing control inputs. The llRequestPermissions library function is used to request these permissions and the various permissions integer constants can be supplied.\n\t\t\tThe\ + \ integer returned to this event handler contains the current set of permissions flags, so if permissions equal 0 then no permissions are set." + llClearCameraParams( ) -> void: + tooltip: Resets all camera parameters to default values and turns off scripted camera control.\nRequires the PERMISSION_CONTROL_CAMERA runtime permission (automatically granted to attached or sat on + objects). + llForceMouselook( integer Enable ) -> void: + Enable: Boolean, if TRUE when an avatar sits on the prim, the avatar will be forced into mouse-look mode.\nFALSE is the default setting and will undo a previously set TRUE or do nothing. + tooltip: If Enable is TRUE any avatar that sits on this object is forced into mouse-look mode.\nAfter calling this function with Enable set to TRUE, any agent sitting down on the prim will be forced + into mouse-look.\nJust like llSitTarget, this changes a permanent property of the prim (not the object) and needs to be reset by calling this function with Enable set to FALSE in order to disable + it. + llGetAnimation( key AvatarID ) -> string: + AvatarID: '' + tooltip: Returns the name of the currently playing locomotion animation for the avatar id.\nReturns the currently playing animation for the specified avatar ID. + llGetAnimationList( key AvatarID ) -> list: + AvatarID: '' + tooltip: Returns a list of keys of playing animations for an avatar.\nReturns a list of keys of all playing animations for the specified avatar ID. + llGetAnimationOverride( string AnimationState ) -> string: + AnimationState: '' + tooltip: Returns a string that is the name of the animation that is used for the specified animation state.\nRequires the PERMISSION_OVERRIDE_ANIMATIONS or PERMISSION_TRIGGER_ANIMATION runtime permission + (automatically granted to attached objects). + llGetCameraAspect( ) -> float: + tooltip: 'Returns the current camera aspect ratio (width / height) of the agent who has granted the scripted object PERMISSION_TRACK_CAMERA permissions. If no permissions have been granted: it returns + zero.' + llGetCameraFOV( ) -> float: + tooltip: 'Returns the current camera field of view of the agent who has granted the scripted object PERMISSION_TRACK_CAMERA permissions. If no permissions have been granted: it returns zero.' + llGetCameraPos( ) -> vector: + tooltip: Returns the current camera position for the agent the task has permissions for.\nReturns the position of the camera, of the user that granted the script PERMISSION_TRACK_CAMERA. If no user + has granted the permission, it returns ZERO_VECTOR. + llGetCameraRot( ) -> rotation: + tooltip: Returns the current camera orientation for the agent the task has permissions for. If no user has granted the PERMISSION_TRACK_CAMERA permission, returns ZERO_ROTATION. + llGetPermissions( ) -> integer: + tooltip: Returns an integer bitmask of the permissions that have been granted to the script. Individual permissions can be determined using a bit-wise "and" operation against the PERMISSION_* constants + llGetPermissionsKey( ) -> key: + tooltip: Returns the key of the avatar that last granted or declined permissions to the script.\nReturns NULL_KEY if permissions were never granted or declined. + llGiveMoney( key AvatarID, integer Amount ) -> integer: + AvatarID: '' + Amount: '' + tooltip: Transfers Amount of L$ from script owner to AvatarID.\nThis call will silently fail if PERMISSION_DEBIT has not been granted. + llReleaseCamera( key AvatarID ) -> void // deprecated: + AvatarID: '' + tooltip: 'Return camera to agent.\nDeprecated: Use llClearCameraParams instead.' + llReleaseControls( ) -> void: + tooltip: Stop taking inputs.\nStop taking inputs from the avatar. + llRequestExperiencePermissions( key AgentID, string unused ) -> void: + AgentID: '' + unused: Not used, should be "" + tooltip: "\n Ask the agent for permission to participate in an experience. This request is similar to llRequestPermissions with the following permissions: PERMISSION_TAKE_CONTROLS,\ + \ PERMISSION_TRIGGER_ANIMATION, PERMISSION_ATTACH, PERMISSION_TRACK_CAMERA, PERMISSION_CONTROL_CAMERA and PERMISSION_TELEPORT. However, unlike llRequestPermissions the decision to allow or block the\ + \ request is persistent and applies to all scripts using the experience grid wide. Subsequent calls to llRequestExperiencePermissions from scripts in the experience will receive the same response\ + \ automatically with no user interaction. One of experience_permissions or experience_permissions_denied will be generated in response to this call. Outstanding permission requests will be lost if\ + \ the script is derezzed, moved to another region or reset.\n " + llRequestPermissions( key AvatarID, integer PermissionMask ) -> void: + AvatarID: '' + PermissionMask: '' + tooltip: Ask AvatarID to allow the script to perform certain actions, specified in the PermissionMask bitmask. PermissionMask should be one or more PERMISSION_* constants. Multiple permissions can be + requested simultaneously by ORing the constants together. Many of the permissions requests can only go to object owner.\nThis call will not stop script execution. If the avatar grants the requested + permissions, the run_time_permissions event will be called. + llResetAnimationOverride( string AnimationState ) -> void: + AnimationState: '' + tooltip: Resets the animation of the specified animation state to the default value.\nIf animation state equals "ALL", then all animation states are reset.\nRequires the PERMISSION_OVERRIDE_ANIMATIONS + permission (automatically granted to attached objects). + llSetAnimationOverride( string AnimationState, string AnimationName ) -> void: + AnimationState: '' + AnimationName: '' + tooltip: Sets the animation (in object inventory) that will play for the given animation state.\nTo use this function the script must obtain the PERMISSION_OVERRIDE_ANIMATIONS permission. + llSetCameraParams( list Parameters ) -> void: + Parameters: '' + tooltip: Sets multiple camera parameters at once. List format is [ rule-1, data-1, rule-2, data-2 . . . rule-n, data-n ].\nRequires the PERMISSION_CONTROL_CAMERA runtime permission (automatically granted + to attached or sat on objects). + llStartAnimation( string Animation ) -> void: + Animation: '' + tooltip: This function plays the specified animation from playing on the avatar who received the script's most recent permissions request.\nAnimation may be an animation in task inventory or a built-in + animation.\nRequires the PERMISSION_TRIGGER_ANIMATION runtime permission (automatically granted to attached or sat on objects). + llStopAnimation( string Animation ) -> void: + Animation: '' + tooltip: This function stops the specified animation on the avatar who received the script's most recent permissions request.\nAnimation may be an animation in task inventory, a built-in animation, + or the uuid of an animation.\nRequires the PERMISSION_TRIGGER_ANIMATION runtime permission (automatically granted to attached or sat on objects). + llTakeCamera( key AvatarID ) -> void // deprecated: + AvatarID: '' + tooltip: 'Deprecated: Use llSetCameraParams instead.' + llTakeControls( integer Controls, integer Accept, integer PassOn ) -> void: + Controls: Bit-field of CONTROL_* flags. + Accept: Boolean, determines whether control events are generated. + PassOn: Boolean, determines whether controls are disabled. + tooltip: Take controls from the agent the script has permissions for.\nIf (Accept == (Controls & input)), send input to the script. PassOn determines whether Controls also perform their normal functions.\nRequires + the PERMISSION_TAKE_CONTROLS runtime permission (automatically granted to attached or sat on objects). + llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void: + AvatarID: UUID of avatar. + LandmarkName: Name of landmark (in object contents), or empty string, to use. + Position: If no landmark was provided, the position within the current region to teleport the avatar to. + LookAtPoint: The position within the target region that the avatar should be turned to face upon arrival. + tooltip: Requests a teleport of avatar to a landmark stored in the object's inventory. If no landmark is provided (an empty string), the avatar is teleported to the location position in the current + region. In either case, the avatar is turned to face the position given by look_at in local coordinates.\nRequires the PERMISSION_TELEPORT runtime permission.\nThis function can only teleport the + owner of the object. + llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void: + AvatarID: UUID of avatar. + GlobalPosition: Global coordinates of the destination region. Can be retrieved by using llRequestSimulatorData(region_name, DATA_SIM_POS). + RegionPosition: The position within the target region to teleport the avatar to, if no landmark was provided. + LookAtPoint: The position within the target region that the avatar should be turned to face upon arrival. + tooltip: Teleports an agent to the RegionPosition local coordinates within a region which is specified by the GlobalPosition global coordinates. The agent lands facing the position defined by LookAtPoint + local coordinates.\nRequires the PERMISSION_TELEPORT runtime permission.\nThis function can only teleport the owner of the object. + llTransferLindenDollars( key AvatarID, integer Amount ) -> key: + AvatarID: '' + Amount: '' + tooltip: Transfer Amount of linden dollars (L$) from script owner to AvatarID. Returns a key to a corresponding transaction_result event for the success of the transfer.\nAttempts to send the amount + of money to the specified avatar, and trigger a transaction_result event identified by the returned key. Requires the PERMISSION_DEBIT runtime permission. + llWorldPosToHUD( vector world_pos ) -> vector: + world_pos: The world-frame position to project into HUD space + tooltip: Returns the local position that would put the origin of a HUD object directly over world_pos as viewed by the current camera. Requires the PERMISSION_TRACK_CAMERA runtime permission (else will + return zero vector). physics: -- collision( integer NumberOfCollisions ) -- collision_end( integer NumberOfCollisions ) -- collision_start( integer NumberOfCollisions ) -- land_collision( vector Position ) -- land_collision_end( vector Position ) -- land_collision_start( vector Position ) -- llApplyImpulse( vector Force, integer Local ) -> void -- llApplyRotationalImpulse( vector Force, integer Local ) -> void -- llCastRay( vector Start, vector End, list Options ) -> list -- llCollisionFilter( string ObjectName, key ObjectID, integer Accept ) -> void -- llCollisionSound( string ImpactSound, float ImpactVolume ) -> void -- llGetAccel( ) -> vector -- llGetCenterOfMass( ) -> vector -- llGetForce( ) -> vector -- llGetGeometricCenter( ) -> vector -- llGetMass( ) -> float -- llGetMassMKS( ) -> float -- llGetObjectMass( key ID ) -> float -- llGetOmega( ) -> vector -- llGetPhysicsMaterial( ) -> list -- llGetStatus( integer StatusFlag ) -> integer -- llGetTorque( ) -> vector -- llGetVel( ) -> vector -- llLookAt( vector Target, float Strength, float Damping ) -> void -- llMoveToTarget( vector Target, float Tau ) -> void -- llPassCollisions( integer Pass ) -> void -- llPointAt( vector Point ) -> void // private // deprecated -- llPushObject( key ObjectID, vector Impulse, vector AngularImpulse, integer Local ) -> void -- llRemoveVehicleFlags( integer Vehiclelags ) -> void -- llRotLookAt( rotation Rotation, float Strength, float Damping ) -> void -- llRotTarget( rotation Rotation, float LeeWay ) -> integer -- llRotTargetRemove( integer Handle ) -> void -- llSetAgentRot( rotation rot, integer flags ) -> void -- llSetAngularVelocity( vector AngVel, integer Local ) -> void -- llSetBuoyancy( float Buoyancy ) -> void -- llSetForce( vector Force, integer Local ) -> void -- llSetForceAndTorque( vector Force, vector Torque, integer Local ) -> void -- llSetHoverHeight( float Height, integer Water, float Tau ) -> void -- llSetKeyframedMotion( list Keyframes, list Options ) -> void -- llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void -- llSetStatus( integer Status, integer Value ) -> void -- llSetTorque( vector Torque, integer Local ) -> void -- llSetVelocity( vector Velocity, integer Local ) -> void -- llStopHover( ) -> void -- llStopLookAt( ) -> void -- llStopMoveToTarget( ) -> void -- llStopPointAt( ) -> void // private // deprecated -- llTargetOmega( vector Axis, float SpinRate, float Gain ) -> void -- llVolumeDetect( integer DetectEnabled ) -> void + collision( integer NumberOfCollisions ): + NumberOfCollisions: '' + tooltip: "This event is raised while another object, or avatar, is colliding with the object the script is attached to.\n\t\t\tThe number of detected objects is passed to the script. Information on\ + \ those objects may be gathered via the llDetected* functions." + collision_end( integer NumberOfCollisions ): + NumberOfCollisions: '' + tooltip: "This event is raised when another object, or avatar, stops colliding with the object the script is attached to.\n\t\t\tThe number of detected objects is passed to the script. Information on\ + \ those objects may be gathered via the llDetected* library functions." + collision_start( integer NumberOfCollisions ): + NumberOfCollisions: '' + tooltip: "This event is raised when another object, or avatar, starts colliding with the object the script is attached to.\n\t\t\tThe number of detected objects is passed to the script. Information\ + \ on those objects may be gathered via the llDetected* library functions." + land_collision( vector Position ): + Position: '' + tooltip: This event is raised when the object the script is attached to is colliding with the ground. + land_collision_end( vector Position ): + Position: '' + tooltip: This event is raised when the object the script is attached to stops colliding with the ground. + land_collision_start( vector Position ): + Position: '' + tooltip: This event is raised when the object the script is attached to begins to collide with the ground. + llApplyImpulse( vector Force, integer Local ) -> void: + Force: Amount of impulse force to apply. + Local: Boolean, if TRUE, force is treated as a local directional vector instead of region directional vector. + tooltip: Applies impulse to the object.\nIf Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\nThis function only works on physical objects. + llApplyRotationalImpulse( vector Force, integer Local ) -> void: + Force: Amount of impulse force to apply. + Local: Boolean, if TRUE, uses local axis, if FALSE, uses region axis. + tooltip: Applies rotational impulse to the object.\nIf Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\nThis function only works on physical objects. + llCastRay( vector Start, vector End, list Options ) -> list: + Start: '' + End: '' + Options: '' + tooltip: 'Casts a ray into the physics world from ''start'' to ''end'' and returns data according to details in Options.\nReports collision data for intersections with objects.\nReturn value: [UUID_1, + {link_number_1}, hit_position_1, {hit_normal_1}, UUID_2, {link_number_2}, hit_position_2, {hit_normal_2}, ... , status_code] where {} indicates optional data.' + llCollisionFilter( string ObjectName, key ObjectID, integer Accept ) -> void: + ObjectName: '' + ObjectID: '' + Accept: If TRUE, only accept collisions with ObjectName name AND ObjectID (either is optional), otherwise with objects not ObjectName AND ObjectID. + tooltip: Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter. + llCollisionSound( string ImpactSound, float ImpactVolume ) -> void: + ImpactSound: '' + ImpactVolume: '' + tooltip: Suppress default collision sounds, replace default impact sounds with ImpactSound.\nThe ImpactSound must be in the object inventory.\nSupply an empty string to suppress collision sounds. + llGetAccel( ) -> vector: + tooltip: Returns the acceleration of the object relative to the region's axes.\nGets the acceleration of the object. + llGetCenterOfMass( ) -> vector: + tooltip: Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass). + llGetForce( ) -> vector: + tooltip: Returns the force (if the script is physical).\nReturns the current force if the script is physical. + llGetGeometricCenter( ) -> vector: + tooltip: Returns the vector that is the geometric center of the object relative to the root prim. + llGetMass( ) -> float: + tooltip: Returns the mass of object that the script is attached to.\nReturns the scripted object's mass. When called from a script in a link-set, the parent will return the sum of the link-set weights, + while a child will return just its own mass. When called from a script inside an attachment, this function will return the mass of the avatar it's attached to, not its own. + llGetMassMKS( ) -> float: + tooltip: Acts as llGetMass(), except that the units of the value returned are Kg. + llGetObjectMass( key ID ) -> float: + ID: '' + tooltip: Returns the mass of the avatar or object in the region.\nGets the mass of the object or avatar corresponding to ID. + llGetOmega( ) -> vector: + tooltip: Returns the rotation velocity in radians per second.\nReturns a vector that is the rotation velocity of the object in radians per second. + llGetPhysicsMaterial( ) -> list: + tooltip: Returns a list of the form [float gravity_multiplier, float restitution, float friction, float density]. + llGetStatus( integer StatusFlag ) -> integer: + StatusFlag: A STATUS_* flag + tooltip: Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to. + llGetTorque( ) -> vector: + tooltip: Returns the torque (if the script is physical).\nReturns a vector that is the torque (if the script is physical). + llGetVel( ) -> vector: + tooltip: Returns the velocity of the object.\nReturns a vector that is the velocity of the object. + llLookAt( vector Target, float Strength, float Damping ) -> void: + Target: '' + Strength: '' + Damping: '' + tooltip: Cause object name to point its forward axis towards Target, at a force controlled by Strength and Damping.\nGood Strength values are around half the mass of the object and good Damping values + are less than 1/10th of the Strength.\nAsymmetrical shapes require smaller Damping. A Strength of 0.0 cancels the look at. + llMoveToTarget( vector Target, float Tau ) -> void: + Target: '' + Tau: '' + tooltip: Critically damp to Target in Tau seconds (if the script is physical).\nCritically damp to position target in tau-seconds if the script is physical. Good tau-values are greater than 0.2. A tau + of 0.0 stops the critical damping. + llPassCollisions( integer Pass ) -> void: + Pass: Boolean, if TRUE, collisions are passed from children on to parents. + tooltip: Configures how collision events are passed to scripts in the linkset.\nIf Pass == TRUE, collisions involving collision-handling scripted child prims are also passed on to the root prim. If + Pass == FALSE (default behavior), such collisions will only trigger events in the affected child prim. + llPointAt( vector Point ) -> void // private // deprecated: + Point: '' + tooltip: '' + llPushObject( key ObjectID, vector Impulse, vector AngularImpulse, integer Local ) -> void: + ObjectID: '' + Impulse: '' + AngularImpulse: '' + Local: '' + tooltip: Applies Impulse and AngularImpulse to ObjectID.\nApplies the supplied impulse and angular impulse to the object specified. + llRemoveVehicleFlags( integer Vehiclelags ) -> void: + Vehiclelags: '' + tooltip: Removes the enabled bits in 'flags'.\nSets the vehicle flags to FALSE. Valid parameters can be found in the vehicle flags constants section. + llRotLookAt( rotation Rotation, float Strength, float Damping ) -> void: + Rotation: '' + Strength: '' + Damping: '' + tooltip: Cause object to rotate to Rotation, with a force function defined by Strength and Damping parameters. Good strength values are around half the mass of the object and good damping values are + less than 1/10th of the strength.\nAsymmetrical shapes require smaller damping.\nA strength of 0.0 cancels the look at. + llRotTarget( rotation Rotation, float LeeWay ) -> integer: + Rotation: '' + LeeWay: '' + tooltip: Set rotations with error of LeeWay radians as a rotational target, and return an ID for the rotational target.\nThe returned number is a handle that can be used in at_rot_target and llRotTargetRemove. + llRotTargetRemove( integer Handle ) -> void: + Handle: '' + tooltip: Removes rotational target number.\nRemove rotational target indicated by the handle. + llSetAgentRot( rotation rot, integer flags ) -> void: + rot: Rotation to turn the avatar to face. + flags: flags + tooltip: Sets the avatar rotation to the given value. + llSetAngularVelocity( vector AngVel, integer Local ) -> void: + AngVel: The angular velocity to set the object to. + Local: If TRUE, the AngVel is treated as a local directional vector instead of a regional directional vector. + tooltip: Sets an object's angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical).\nHas no effect on non-physical objects. + llSetBuoyancy( float Buoyancy ) -> void: + Buoyancy: '' + tooltip: Set the tasks buoyancy (0 is none, < 1.0 sinks, 1.0 floats, > 1.0 rises).\nSet the object buoyancy. A value of 0 is none, less than 1.0 sinks, 1.0 floats, and greater than 1.0 rises. + llSetForce( vector Force, integer Local ) -> void: + Force: Directional force. + Local: Boolean, if TRUE uses local axis, if FALSE uses region axis. + tooltip: Sets Force on object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects. + llSetForceAndTorque( vector Force, vector Torque, integer Local ) -> void: + Force: Directional force. + Torque: Torque force. + Local: Boolean, if TRUE uses local axis, if FALSE uses region axis. + tooltip: Sets the Force and Torque of object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects. + llSetHoverHeight( float Height, integer Water, float Tau ) -> void: + Height: Distance above the ground. + Water: Boolean, if TRUE then hover above water too. + Tau: Seconds to critically damp in. + tooltip: Critically damps a physical object to a Height (either above ground level or above the higher of land and water if water == TRUE).\nDo not use with vehicles. Use llStopHover to stop hovering. + llSetKeyframedMotion( list Keyframes, list Options ) -> void: + Keyframes: 'Strided keyframe list of the form: position, orientation, time. Each keyframe is interpreted relative to the previous transform of the object.' + Options: '' + tooltip: Requests that a non-physical object be key-framed according to key-frame list.\nSpecify a list of times, positions, and orientations to be followed by an object. The object will be smoothly + moved between key-frames by the simulator. Collisions with other non-physical or key-framed objects will be ignored (no script events will fire and collision processing will not occur). Collisions + with physical objects will be computed and reported, but the key-framed object will be unaffected by those collisions.\nKeyframes is a strided list containing positional, rotational, and time data + for each step in the motion. Options is a list containing optional arguments and parameters (specified by KFM_* constants). + ? llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void + : MaterialBits: A bitmask specifying which of the parameters in the other arguments should be applied to the object. + GravityMultiplier: '' + Restitution: '' + Friction: '' + Density: '' + tooltip: Sets the selected parameters of the object's physics behavior.\nMaterialBits is a bitmask specifying which of the parameters in the other arguments should be applied to the object. GravityMultiplier, + Restitution, Friction, and Density are the possible parameters to manipulate. + llSetStatus( integer Status, integer Value ) -> void: + Status: '' + Value: '' + tooltip: Sets object status specified in Status bitmask (e.g. STATUS_PHYSICS|STATUS_PHANTOM) to boolean Value.\nFor a full list of STATUS_* constants, see wiki documentation. + llSetTorque( vector Torque, integer Local ) -> void: + Torque: Torque force. + Local: Boolean, if TRUE uses local axis, if FALSE uses region axis. + tooltip: Sets the Torque acting on the script's object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\nOnly works on physical objects. + llSetVelocity( vector Velocity, integer Local ) -> void: + Velocity: The velocity to apply. + Local: If TRUE, the Velocity is treated as a local directional vector instead of a regional directional vector. + tooltip: If the object is physics-enabled, sets the object's linear velocity to Velocity.\nIf Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global + directional vector. + llStopHover( ) -> void: + tooltip: Stop hovering to a height (due to llSetHoverHeight()). + llStopLookAt( ) -> void: + tooltip: Stop causing object to point at a target (due to llLookAt() or llRotLookAt()). + llStopMoveToTarget( ) -> void: + tooltip: Stops critically damped motion (due to llMoveToTarget()). + llStopPointAt( ) -> void // private // deprecated: + tooltip: '' + llTargetOmega( vector Axis, float SpinRate, float Gain ) -> void: + Axis: '' + SpinRate: '' + Gain: '' + tooltip: Attempt to spin at SpinRate with strength Gain on Axis.\nA spin rate of 0.0 cancels the spin. This function always works in object-local coordinates. + llVolumeDetect( integer DetectEnabled ) -> void: + DetectEnabled: TRUE enables, FALSE disables. + tooltip: If DetectEnabled = TRUE, object becomes phantom but triggers collision_start and collision_end events when other objects start and stop interpenetrating.\nIf another object (including avatars) + interpenetrates it, it will get a collision_start event.\nWhen an object stops interpenetrating, a collision_end event is generated. While the other is inter-penetrating, collision events are NOT + generated. prim: -- llAvatarOnSitTarget( ) -> key -- llClearPrimMedia( integer Face ) -> integer -- llGetAlpha( integer Face ) -> float -- llGetColor( integer Face ) -> vector -- llGetCreator( ) -> key -- llGetKey( ) -> key -- llGetLinkNumber( ) -> integer -- llGetLocalPos( ) -> vector -- llGetLocalRot( ) -> rotation -- llGetNumberOfSides( ) -> integer -- llGetObjectDesc( ) -> string -- llGetObjectName( ) -> string -- llGetPhysicsMaterial( ) -> list -- llGetPos( ) -> vector -- llGetPrimMediaParams( integer Face, list Parameters ) -> list -- llGetPrimitiveParams( list Parameters ) -> list -- llGetRenderMaterial( integer Face ) -> string -- llGetRot( ) -> rotation -- llGetScale( ) -> vector -- llGetTexture( integer Face ) -> string -- llGetTextureOffset( integer Face ) -> vector -- llGetTextureRot( integer Face ) -> float -- llGetTextureScale( integer Face ) -> vector -- llOffsetTexture( float OffsetS, float OffsetT, integer Face ) -> void -- llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void -- llRotateTexture( float Radians, integer Face ) -> void -- llScaleTexture( float Horizontal, float Vertical, integer Face ) -> void -- llSetAlpha( float Opacity, integer Face ) -> void -- llSetColor( vector Color, integer Face ) -> void -- llSetLocalRot( rotation Rotation ) -> void -- llSetObjectDesc( string Description ) -> void -- llSetObjectName( string Name ) -> void -- llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void -- llSetPos( vector Position ) -> void -- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer -- llSetPrimURL( string URL ) -> void // deprecated -- llSetPrimitiveParams( list Parameters ) -> void // deprecated -- llSetRegionPos( vector Position ) -> integer -- llSetRenderMaterial( string Material, integer Face ) -> void -- llSetRot( rotation Rotation ) -> void -- llSetScale( vector Scale ) -> void -- llSetSitText( string Text ) -> void -- llSetTexture( string Texture, integer Face ) -> void -- llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void -- llSitTarget( vector Offset, rotation Rotation ) -> void + llAvatarOnSitTarget( ) -> key: + tooltip: If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY.\nThis only will detect avatars sitting on sit targets defined with llSitTarget. + llClearPrimMedia( integer Face ) -> integer: + Face: Number of side to clear. + tooltip: Clears (deletes) the media and all parameters from the given Face.\nReturns an integer that is a STATUS_* flag which details the success/failure of the operation. + llGetAlpha( integer Face ) -> float: + Face: '' + tooltip: Returns the alpha value of Face.\nReturns the 'alpha' of the given face. If face is ALL_SIDES the value returned is the mean average of all faces. + llGetColor( integer Face ) -> vector: + Face: '' + tooltip: Returns the color on Face.\nReturns the color of Face as a vector of red, green, and blue values between 0 and 1. If face is ALL_SIDES the color returned is the mean average of each channel. + llGetCreator( ) -> key: + tooltip: Returns a key for the creator of the prim.\nReturns the key of the object's original creator. Similar to llGetOwner. + llGetKey( ) -> key: + tooltip: Returns the key of the prim the script is attached to.\nGet the key for the object which has this script. + llGetLinkNumber( ) -> integer: + tooltip: Returns the link number of the prim containing the script (0 means not linked, 1 the prim is the root, 2 the prim is the first child, etc.).\nReturns the link number of the prim containing + the script. 0 means no link, 1 the root, 2 for first child, etc. + llGetLocalPos( ) -> vector: + tooltip: Returns the position relative to the root.\nReturns the local position of a child object relative to the root. + llGetLocalRot( ) -> rotation: + tooltip: Returns the rotation local to the root.\nReturns the local rotation of a child object relative to the root. + llGetNumberOfSides( ) -> integer: + tooltip: Returns the number of faces (or sides) of the prim.\nReturns the number of sides of the prim which has the script. + llGetObjectDesc( ) -> string: + tooltip: Returns the description of the prim the script is attached to.\nReturns the description of the scripted object/prim. You can set the description using llSetObjectDesc. + llGetObjectName( ) -> string: + tooltip: Returns the name of the prim which the script is attached to.\nReturns the name of the prim (not object) which contains the script. + llGetPhysicsMaterial( ) -> list: + tooltip: Returns a list of the form [float gravity_multiplier, float restitution, float friction, float density]. + llGetPos( ) -> vector: + tooltip: Returns the position of the task in region coordinates.\nReturns the vector position of the task in region coordinates. + llGetPrimMediaParams( integer Face, list Parameters ) -> list: + Face: face number + Parameters: A list of PRIM_MEDIA_* property constants to return values of. + tooltip: Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face. + llGetPrimitiveParams( list Parameters ) -> list: + Parameters: PRIM_* flags and face parameters + tooltip: Returns the primitive parameters specified in the parameters list.\nReturns primitive parameters specified in the Parameters list. + llGetRenderMaterial( integer Face ) -> string: + Face: '' + tooltip: Returns a string that is the render material on face (the inventory name if it is a material in the prim's inventory, otherwise the key).\nReturns the render material of a face, if it is found + in object inventory, its key otherwise. + llGetRot( ) -> rotation: + tooltip: Returns the rotation relative to the region's axes.\nReturns the rotation. + llGetScale( ) -> vector: + tooltip: Returns the scale of the prim.\nReturns a vector that is the scale (dimensions) of the prim. + llGetTexture( integer Face ) -> string: + Face: '' + tooltip: Returns a string that is the texture on face (the inventory name if it is a texture in the prim's inventory, otherwise the key).\nReturns the texture of a face, if it is found in object inventory, + its key otherwise. + llGetTextureOffset( integer Face ) -> vector: + Face: '' + tooltip: Returns the texture offset of face in the x and y components of a vector. + llGetTextureRot( integer Face ) -> float: + Face: '' + tooltip: Returns the texture rotation of side. + llGetTextureScale( integer Face ) -> vector: + Face: '' + tooltip: Returns the texture scale of side in the x and y components of a vector.\nReturns the texture scale of a side in the x and y components of a vector. + llOffsetTexture( float OffsetS, float OffsetT, integer Face ) -> void: + OffsetS: '' + OffsetT: '' + Face: '' + tooltip: Sets the texture S and T offsets for the chosen Face.\nIf Face is ALL_SIDES this function sets the texture offsets for all faces. + llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void: + ObjectID: Target prim to attempt copying into. + ScriptName: Name of the script in current inventory to copy. + PIN: Integer set on target prim as a Personal Information Number code. + Running: If the script should be set running in the target prim. + StartParameter: Integer. Parameter passed to the script if set to be running. + tooltip: If the owner of the object containing this script can modify the object identified by the specified object key, and if the PIN matches the PIN previously set using llSetRemoteScriptAccessPin + (on the target prim), then the script will be copied into target. Running is a boolean specifying whether the script should be enabled once copied into the target object. + llRotateTexture( float Radians, integer Face ) -> void: + Radians: '' + Face: '' + tooltip: Sets the texture rotation for the specified Face to angle Radians.\nIf Face is ALL_SIDES, rotates the texture of all sides. + llScaleTexture( float Horizontal, float Vertical, integer Face ) -> void: + Horizontal: '' + Vertical: '' + Face: '' + tooltip: Sets the diffuse texture Horizontal and Vertical repeats on Face of the prim the script is attached to.\nIf Face == ALL_SIDES, all sides are set in one call.\nNegative values for horizontal + and vertical will flip the texture. + llSetAlpha( float Opacity, integer Face ) -> void: + Opacity: '' + Face: '' + tooltip: Sets the alpha (opacity) of Face.\nSets the alpha (opacity) value for Face. If Face is ALL_SIDES, sets the alpha for all faces. The alpha value is interpreted as an opacity percentage (1.0 + is fully opaque, and 0.2 is mostly transparent). This function will clamp alpha values less than 0.1 to 0.1 and greater than 1.0 to 1. + llSetColor( vector Color, integer Face ) -> void: + Color: '' + Face: '' + tooltip: Sets the color, for the face.\nSets the color of the side specified. If Face is ALL_SIDES, sets the color on all faces. + llSetLocalRot( rotation Rotation ) -> void: + Rotation: '' + tooltip: Sets the rotation of a child prim relative to the root prim. + llSetObjectDesc( string Description ) -> void: + Description: '' + tooltip: Sets the description of the prim to Description.\nThe description field is limited to 127 characters. + llSetObjectName( string Name ) -> void: + Name: '' + tooltip: Sets the prim's name to Name. + ? llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void + : MaterialBits: A bitmask specifying which of the parameters in the other arguments should be applied to the object. + GravityMultiplier: '' + Restitution: '' + Friction: '' + Density: '' + tooltip: Sets the selected parameters of the object's physics behavior.\nMaterialBits is a bitmask specifying which of the parameters in the other arguments should be applied to the object. GravityMultiplier, + Restitution, Friction, and Density are the possible parameters to manipulate. + llSetPos( vector Position ) -> void: + Position: Region coordinates to move to (within 10m). + tooltip: If the object is not physical, this function sets the position of the prim.\nIf the script is in a child prim, Position is treated as root relative and the link-set is adjusted.\nIf the prim + is the root prim, the entire object is moved (up to 10m) to Position in region coordinates. + llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer: + Face: Face number + MediaParameters: A set of name/value pairs (in no particular order) + tooltip: Sets the MediaParameters for a particular Face on the prim. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters is a set of name/value + pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified. + llSetPrimURL( string URL ) -> void // deprecated: + URL: '' + tooltip: 'Deprecated: Use llSetPrimMediaParams instead.' + llSetPrimitiveParams( list Parameters ) -> void // deprecated: + Parameters: A list of changes. + tooltip: 'Deprecated: Use llSetLinkPrimitiveParamsFast instead.' + llSetRegionPos( vector Position ) -> integer: + Position: Vector. The location to move to, in region coordinates. + tooltip: Attempts to move the object so that the root prim is within 0.1m of Position.\nReturns an integer boolean, TRUE if the object is successfully placed within 0.1 m of Position, FALSE otherwise.\nPosition + may be any location within the region or up to 10m across a region border.\nIf the position is below ground, it will be set to the ground level at that x,y location. + llSetRenderMaterial( string Material, integer Face ) -> void: + Material: '' + Face: '' + tooltip: Applies Render Material to Face of prim.\nRender Material may be a UUID or name of a material in prim inventory.\nIf Face is ALL_SIDES, set the render material on all faces. + llSetRot( rotation Rotation ) -> void: + Rotation: '' + tooltip: If the object is not physical, this function sets the rotation of the prim.\nIf the script is in a child prim, Rotation is treated as root relative and the link-set is adjusted.\nIf the prim + is the root prim, the entire object is rotated to Rotation in the global reference frame. + llSetScale( vector Scale ) -> void: + Scale: '' + tooltip: Sets the prim's scale (size) to Scale. + llSetSitText( string Text ) -> void: + Text: '' + tooltip: Displays Text rather than 'Sit' in the viewer's context menu. + llSetTexture( string Texture, integer Face ) -> void: + Texture: '' + Face: '' + tooltip: Applies Texture to Face of prim.\nTexture may be a UUID or name of a texture in prim inventory.\nIf Face is ALL_SIDES, set the texture on all faces. + ? llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void + : Mode: Mask of Mode flags. + Face: Face number or ALL_SIDES. + SizeX: Horizontal frames (ignored for ROTATE and SCALE). + SizeY: Vertical frames (ignored for ROTATE and SCALE). + Start: Start position/frame number (or radians for ROTATE). + Length: number of frames to display (or radians for ROTATE). + Rate: Frames per second (must not greater than zero). + tooltip: Animates a texture by setting the texture scale and offset.\nMode is a bitmask of animation options.\nFace specifies which object face to animate.\nSizeX and SizeY specify the number of horizontal + and vertical frames.Start specifes the animation start point.\nLength specifies the animation duration.\nRate specifies the animation playback rate. + llSitTarget( vector Offset, rotation Rotation ) -> void: + Offset: '' + Rotation: '' + tooltip: Set the sit location for this object. If offset == ZERO_VECTOR, clears the sit target. prim_appearance: -- changed( integer Changed ) -- llGetAlpha( integer Face ) -> float -- llGetColor( integer Face ) -> vector -- llGetLinkNumberOfSides( integer LinkNumber ) -> integer -- llGetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> list -- llGetMaxScaleFactor( ) -> float -- llGetMinScaleFactor( ) -> float -- llGetNumberOfSides( ) -> integer -- llGetPrimitiveParams( list Parameters ) -> list -- llGetRenderMaterial( integer Face ) -> string -- llGetTexture( integer Face ) -> string -- llGetTextureOffset( integer Face ) -> vector -- llGetTextureRot( integer Face ) -> float -- llGetTextureScale( integer Face ) -> vector -- llIsLinkGLTFMaterial( integer link, integer face ) -> integer -- llLinear2sRGB( vector color ) -> vector -- llOffsetTexture( float OffsetS, float OffsetT, integer Face ) -> void -- llRotateTexture( float Radians, integer Face ) -> void -- llScaleByFactor( float ScalingFactor ) -> integer -- llScaleTexture( float Horizontal, float Vertical, integer Face ) -> void -- llSetAlpha( float Opacity, integer Face ) -> void -- llSetColor( vector Color, integer Face ) -> void -- llSetLinkAlpha( integer LinkNumber, float Opacity, integer Face ) -> void -- llSetLinkColor( integer LinkNumber, vector Color, integer Face ) -> void -- llSetLinkGLTFOverrides( integer link, integer face, list options ) -> void -- llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated -- llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void -- llSetLinkRenderMaterial( integer LinkNumber, string RenderMaterial, integer Face ) -> void -- llSetLinkTexture( integer LinkNumber, string Texture, integer Face ) -> void -- llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void -- llSetPrimitiveParams( list Parameters ) -> void // deprecated -- llSetRenderMaterial( string Material, integer Face ) -> void -- llSetScale( vector Scale ) -> void -- llSetText( string Text, vector Color, float Opacity ) -> void -- llSetTexture( string Texture, integer Face ) -> void -- llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void -- llsRGB2Linear( vector srgb ) -> vector + changed( integer Changed ): + Changed: '' + tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + llGetAlpha( integer Face ) -> float: + Face: '' + tooltip: Returns the alpha value of Face.\nReturns the 'alpha' of the given face. If face is ALL_SIDES the value returned is the mean average of all faces. + llGetColor( integer Face ) -> vector: + Face: '' + tooltip: Returns the color on Face.\nReturns the color of Face as a vector of red, green, and blue values between 0 and 1. If face is ALL_SIDES the color returned is the mean average of each channel. + llGetLinkNumberOfSides( integer LinkNumber ) -> integer: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + tooltip: Returns the number of sides of the specified linked prim.\nReturns an integer that is the number of faces (or sides) of the prim link. + llGetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> list: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + Parameters: PRIM_* flags. + tooltip: Returns the list of primitive attributes requested in the Parameters list for LinkNumber.\nPRIM_* flags can be broken into three categories, face flags, prim flags, and object flags.\n* Supplying + a prim or object flag will return that flag's attributes.\n* Face flags require the user to also supply a face index parameter. + llGetMaxScaleFactor( ) -> float: + tooltip: Returns the largest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules. + llGetMinScaleFactor( ) -> float: + tooltip: Returns the smallest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules. + llGetNumberOfSides( ) -> integer: + tooltip: Returns the number of faces (or sides) of the prim.\nReturns the number of sides of the prim which has the script. + llGetPrimitiveParams( list Parameters ) -> list: + Parameters: PRIM_* flags and face parameters + tooltip: Returns the primitive parameters specified in the parameters list.\nReturns primitive parameters specified in the Parameters list. + llGetRenderMaterial( integer Face ) -> string: + Face: '' + tooltip: Returns a string that is the render material on face (the inventory name if it is a material in the prim's inventory, otherwise the key).\nReturns the render material of a face, if it is found + in object inventory, its key otherwise. + llGetTexture( integer Face ) -> string: + Face: '' + tooltip: Returns a string that is the texture on face (the inventory name if it is a texture in the prim's inventory, otherwise the key).\nReturns the texture of a face, if it is found in object inventory, + its key otherwise. + llGetTextureOffset( integer Face ) -> vector: + Face: '' + tooltip: Returns the texture offset of face in the x and y components of a vector. + llGetTextureRot( integer Face ) -> float: + Face: '' + tooltip: Returns the texture rotation of side. + llGetTextureScale( integer Face ) -> vector: + Face: '' + tooltip: Returns the texture scale of side in the x and y components of a vector.\nReturns the texture scale of a side in the x and y components of a vector. + llIsLinkGLTFMaterial( integer link, integer face ) -> integer: + link: Link number to check. + face: Side to check for a PBR material. Use ALL_SIDES to check for all. + tooltip: Checks the face for a PBR render material. + llLinear2sRGB( vector color ) -> vector: + color: A color in the linear colorspace. + tooltip: Converts a color from the linear colorspace to sRGB. + llOffsetTexture( float OffsetS, float OffsetT, integer Face ) -> void: + OffsetS: '' + OffsetT: '' + Face: '' + tooltip: Sets the texture S and T offsets for the chosen Face.\nIf Face is ALL_SIDES this function sets the texture offsets for all faces. + llRotateTexture( float Radians, integer Face ) -> void: + Radians: '' + Face: '' + tooltip: Sets the texture rotation for the specified Face to angle Radians.\nIf Face is ALL_SIDES, rotates the texture of all sides. + llScaleByFactor( float ScalingFactor ) -> integer: + ScalingFactor: The multiplier to be used with the prim sizes and their local positions. + tooltip: Attempts to resize the entire object by ScalingFactor, maintaining the size-position ratios of the prims.\n\nResizing is subject to prim scale limits and linkability limits. This function can + not resize the object if the linkset is physical, a pathfinding character, in a keyframed motion, or if resizing would cause the parcel to overflow.\nReturns a boolean (an integer) TRUE if it succeeds, + FALSE if it fails. + llScaleTexture( float Horizontal, float Vertical, integer Face ) -> void: + Horizontal: '' + Vertical: '' + Face: '' + tooltip: Sets the diffuse texture Horizontal and Vertical repeats on Face of the prim the script is attached to.\nIf Face == ALL_SIDES, all sides are set in one call.\nNegative values for horizontal + and vertical will flip the texture. + llSetAlpha( float Opacity, integer Face ) -> void: + Opacity: '' + Face: '' + tooltip: Sets the alpha (opacity) of Face.\nSets the alpha (opacity) value for Face. If Face is ALL_SIDES, sets the alpha for all faces. The alpha value is interpreted as an opacity percentage (1.0 + is fully opaque, and 0.2 is mostly transparent). This function will clamp alpha values less than 0.1 to 0.1 and greater than 1.0 to 1. + llSetColor( vector Color, integer Face ) -> void: + Color: '' + Face: '' + tooltip: Sets the color, for the face.\nSets the color of the side specified. If Face is ALL_SIDES, sets the color on all faces. + llSetLinkAlpha( integer LinkNumber, float Opacity, integer Face ) -> void: + LinkNumber: '' + Opacity: '' + Face: '' + tooltip: If a prim exists in the link chain at LinkNumber, set Face to Opacity.\nSets the Face, on the linked prim specified, to the Opacity. + llSetLinkColor( integer LinkNumber, vector Color, integer Face ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + Color: Color in RGB + Face: Side number or ALL_SIDES. + tooltip: If a task exists in the link chain at LinkNumber, set the Face to color.\nSets the color of the linked child's side, specified by LinkNumber. + llSetLinkGLTFOverrides( integer link, integer face, list options ) -> void: + link: Link number to check. + face: Side to check for a PBR material. Use ALL_SIDES to check for all. + options: List of individual overrides to set. + tooltip: Sets or changes GLTF Overrides set on the selected faces. + llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Parameters: '' + tooltip: 'Deprecated: Use llSetLinkPrimitiveParamsFast instead.' + llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Parameters: '' + tooltip: Set primitive parameters for LinkNumber based on Parameters, without a delay.\nSet parameters for link number, from the list of Parameters, with no built-in script sleep. This function is identical + to llSetLinkPrimitiveParams, except without the delay. + llSetLinkRenderMaterial( integer LinkNumber, string RenderMaterial, integer Face ) -> void: + LinkNumber: '' + RenderMaterial: '' + Face: '' + tooltip: Sets the Render Material of Face on a linked prim, specified by LinkNumber. Render Material may be a UUID or name of a material in prim inventory. + llSetLinkTexture( integer LinkNumber, string Texture, integer Face ) -> void: + LinkNumber: '' + Texture: '' + Face: '' + tooltip: Sets the Texture of Face on a linked prim, specified by LinkNumber. Texture may be a UUID or name of a texture in prim inventory. + ? llSetLinkTextureAnim( integer LinkNumber, integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void + : LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag to effect' + Mode: Bitmask of animation options. + Face: Specifies which object face to animate or ALL_SIDES. + SizeX: Horizontal frames (ignored for ROTATE and SCALE). + SizeY: Vertical frames (ignored for ROTATE and SCALE). + Start: Start position/frame number (or radians for ROTATE). + Length: Specifies the animation duration, in frames (or radians for ROTATE). + Rate: Specifies the animation playback rate, in frames per second (must be greater than zero). + tooltip: Animates a texture on the prim specified by LinkNumber, by setting the texture scale and offset.\nMode is a bitmask of animation options.\nFace specifies which object face to animate.\nSizeX + and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\nLength specifies the animation duration.\nRate specifies the animation playback rate. + llSetPrimitiveParams( list Parameters ) -> void // deprecated: + Parameters: A list of changes. + tooltip: 'Deprecated: Use llSetLinkPrimitiveParamsFast instead.' + llSetRenderMaterial( string Material, integer Face ) -> void: + Material: '' + Face: '' + tooltip: Applies Render Material to Face of prim.\nRender Material may be a UUID or name of a material in prim inventory.\nIf Face is ALL_SIDES, set the render material on all faces. + llSetScale( vector Scale ) -> void: + Scale: '' + tooltip: Sets the prim's scale (size) to Scale. + llSetText( string Text, vector Color, float Opacity ) -> void: + Text: '' + Color: '' + Opacity: '' + tooltip: Causes Text to float above the prim, using the specified Color and Opacity. + llSetTexture( string Texture, integer Face ) -> void: + Texture: '' + Face: '' + tooltip: Applies Texture to Face of prim.\nTexture may be a UUID or name of a texture in prim inventory.\nIf Face is ALL_SIDES, set the texture on all faces. + ? llSetTextureAnim( integer Mode, integer Face, integer SizeX, integer SizeY, float Start, float Length, float Rate ) -> void + : Mode: Mask of Mode flags. + Face: Face number or ALL_SIDES. + SizeX: Horizontal frames (ignored for ROTATE and SCALE). + SizeY: Vertical frames (ignored for ROTATE and SCALE). + Start: Start position/frame number (or radians for ROTATE). + Length: number of frames to display (or radians for ROTATE). + Rate: Frames per second (must not greater than zero). + tooltip: Animates a texture by setting the texture scale and offset.\nMode is a bitmask of animation options.\nFace specifies which object face to animate.\nSizeX and SizeY specify the number of horizontal + and vertical frames.Start specifes the animation start point.\nLength specifies the animation duration.\nRate specifies the animation playback rate. + llsRGB2Linear( vector srgb ) -> vector: + srgb: A color in the sRGB colorspace. + tooltip: Converts a color from the sRGB to the linear colorspace. prim_inventory: -- changed( integer Changed ) -- llAllowInventoryDrop( integer Flag ) -> void -- llDerezObject( key ID, integer flags ) -> integer -- llGetInventoryAcquireTime( string InventoryItem ) -> string -- llGetInventoryCreator( string InventoryItem ) -> key -- llGetInventoryDesc( string InventoryItem ) -> string -- llGetInventoryKey( string InventoryItem ) -> key -- llGetInventoryName( integer InventoryType, integer Index ) -> string -- llGetInventoryNumber( integer InventoryType ) -> integer -- llGetInventoryPermMask( string InventoryItem, integer BitMask ) -> integer -- llGetInventoryType( string InventoryItem ) -> integer -- llGetScriptName( ) -> string -- llGetScriptState( string ScriptName ) -> integer -- llGiveInventory( key TargetID, string InventoryItem ) -> void -- llGiveInventoryList( key TargetID, string FolderName, list InventoryItems ) -> void -- llGodLikeRezObject( key InventoryItemID, vector Position ) -> void -- llRemoteLoadScript( key Target, string ScriptName, integer Unknown1, integer Unknown2 ) -> void // private // deprecated -- llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void -- llRemoveInventory( string InventoryItem ) -> void -- llRequestInventoryData( string InventoryItem ) -> key -- llResetOtherScript( string ScriptName ) -> void -- llRezAtRoot( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void -- llRezObject( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void -- llRezObjectWithParams( string InventoryItem, list Params ) -> key -- llSetInventoryPermMask( string InventoryItem, integer PermissionFlag, integer PermissionMask ) -> void -- llSetRemoteScriptAccessPin( integer PIN ) -> void -- llSetScriptState( string ScriptName, integer Running ) -> void + changed( integer Changed ): + Changed: '' + tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + llAllowInventoryDrop( integer Flag ) -> void: + Flag: Boolean, If TRUE allows anyone to drop inventory on prim, FALSE revokes. + tooltip: If Flag == TRUE, users without object modify permissions can still drop inventory items into the object. + llDerezObject( key ID, integer flags ) -> integer: + ID: The ID of an object in the region. + flags: Flags for derez behavior. + tooltip: Derezzes an object previously rezzed by a script in this region. Returns TRUE on success or FALSE if the object could not be derezzed. + llGetInventoryAcquireTime( string InventoryItem ) -> string: + InventoryItem: Name of item in prim inventory. + tooltip: Returns the time at which the item was placed into this prim's inventory as a timestamp. + llGetInventoryCreator( string InventoryItem ) -> key: + InventoryItem: '' + tooltip: Returns a key for the creator of the inventory item.\nThis function returns the UUID of the creator of item. If item is not found in inventory, the object says "No item named 'name'". + llGetInventoryDesc( string InventoryItem ) -> string: + InventoryItem: '' + tooltip: Returns the item description of the item in inventory. If item is not found in inventory, the object says "No item named 'name'" to the debug channel and returns an empty string. + llGetInventoryKey( string InventoryItem ) -> key: + InventoryItem: '' + tooltip: Returns the key that is the UUID of the inventory named.\nReturns the key of the inventory named. + llGetInventoryName( integer InventoryType, integer Index ) -> string: + InventoryType: Inventory item type + Index: Index number of inventory item. + tooltip: Returns the name of the inventory item of a given type, specified by index number.\nUse the inventory constants INVENTORY_* to specify the type. + llGetInventoryNumber( integer InventoryType ) -> integer: + InventoryType: Inventory item type + tooltip: Returns the quantity of items of a given type (INVENTORY_* flag) in the prim's inventory.\nUse the inventory constants INVENTORY_* to specify the type. + llGetInventoryPermMask( string InventoryItem, integer BitMask ) -> integer: + InventoryItem: Inventory item name. + BitMask: MASK_BASE, MASK_OWNER, MASK_GROUP, MASK_EVERYONE or MASK_NEXT + tooltip: Returns the requested permission mask for the inventory item.\nReturns the requested permission mask for the inventory item defined by InventoryItem. If item is not in the object's inventory, + llGetInventoryPermMask returns FALSE and causes the object to say "No item named ''", where "" is item. + llGetInventoryType( string InventoryItem ) -> integer: + InventoryItem: '' + tooltip: Returns the type of the named inventory item.\nLike all inventory functions, llGetInventoryType is case-sensitive. + llGetScriptName( ) -> string: + tooltip: Returns the name of the script that this function is used in.\nReturns the name of this script. + llGetScriptState( string ScriptName ) -> integer: + ScriptName: '' + tooltip: Returns TRUE if the script named is running.\nReturns TRUE if ScriptName is running. + llGiveInventory( key TargetID, string InventoryItem ) -> void: + TargetID: '' + InventoryItem: '' + tooltip: Give InventoryItem to destination represented by TargetID, as permitted by the permissions system.\nTargetID may be any agent or an object in the same region. + llGiveInventoryList( key TargetID, string FolderName, list InventoryItems ) -> void: + TargetID: '' + FolderName: '' + InventoryItems: '' + tooltip: Give InventoryItems to destination (represented by TargetID) as a new folder of items, as permitted by the permissions system.\nTargetID may be any agent or an object in the same region. If + TargetID is an object, the items are passed directly to the object inventory (no folder is created). + llGodLikeRezObject( key InventoryItemID, vector Position ) -> void: + InventoryItemID: '' + Position: '' + tooltip: Rez directly off of a UUID if owner has god-bit set. + llRemoteLoadScript( key Target, string ScriptName, integer Unknown1, integer Unknown2 ) -> void // private // deprecated: + Target: '' + ScriptName: '' + Unknown1: '' + Unknown2: '' + tooltip: '' + llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void: + ObjectID: Target prim to attempt copying into. + ScriptName: Name of the script in current inventory to copy. + PIN: Integer set on target prim as a Personal Information Number code. + Running: If the script should be set running in the target prim. + StartParameter: Integer. Parameter passed to the script if set to be running. + tooltip: If the owner of the object containing this script can modify the object identified by the specified object key, and if the PIN matches the PIN previously set using llSetRemoteScriptAccessPin + (on the target prim), then the script will be copied into target. Running is a boolean specifying whether the script should be enabled once copied into the target object. + llRemoveInventory( string InventoryItem ) -> void: + InventoryItem: '' + tooltip: Remove the named inventory item.\nRemove the named inventory item from the object inventory. + llRequestInventoryData( string InventoryItem ) -> key: + InventoryItem: '' + tooltip: Requests data for the named InventoryItem.\nWhen data is available, the dataserver event will be raised with the key returned from this function in the requested parameter.\nThe only request + currently implemented is to request data from landmarks, where the data returned is in the form "" which can be cast to a vector. This position is in region local coordinates. + llResetOtherScript( string ScriptName ) -> void: + ScriptName: '' + tooltip: Resets the named script. + llRezAtRoot( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void: + InventoryItem: '' + Position: '' + Velocity: '' + Rotation: '' + StartParameter: '' + tooltip: Instantiate owner's InventoryItem at Position with Velocity, Rotation and with StartParameter. The last selected root object's location will be set to Position.\nCreates object's inventory + item at the given Position, with Velocity, Rotation, and StartParameter. + llRezObject( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void: + InventoryItem: '' + Position: '' + Velocity: '' + Rotation: '' + StartParameter: '' + tooltip: Instantiate owners InventoryItem at Position with Velocity, Rotation and with start StartParameter.\nCreates object's inventory item at Position with Velocity and Rotation supplied. The StartParameter + value will be available to the newly created object in the on_rez event or through the llGetStartParameter function.\nThe Velocity parameter is ignored if the rezzed object is not physical. + llRezObjectWithParams( string InventoryItem, list Params ) -> key: + InventoryItem: '' + Params: '' + tooltip: Instantiate owner's InventoryItem with the given parameters. + llSetInventoryPermMask( string InventoryItem, integer PermissionFlag, integer PermissionMask ) -> void: + InventoryItem: An item in the prim's inventory + PermissionFlag: MASK_* flag + PermissionMask: Permission bit-field (PERM_* flags) + tooltip: Sets the given permission mask to the new value on the inventory item. + llSetRemoteScriptAccessPin( integer PIN ) -> void: + PIN: '' + tooltip: If PIN is set to a non-zero number, the task will accept remote script loads via llRemoteLoadScriptPin() if it passes in the correct PIN. Othersise, llRemoteLoadScriptPin() is ignored. + llSetScriptState( string ScriptName, integer Running ) -> void: + ScriptName: '' + Running: '' + tooltip: Enable or disable the script Running state of Script in the prim. prim_media: -- changed( integer Changed ) -- llClearLinkMedia( integer Link, integer Face ) -> integer -- llClearPrimMedia( integer Face ) -> integer -- llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list -- llGetPrimMediaParams( integer Face, list Parameters ) -> list -- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void -- llRefreshPrimURL( ) -> void // deprecated -- llSetContentType( key HTTPRequestID, integer ContentType ) -> void -- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer -- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer -- llSetPrimURL( string URL ) -> void // deprecated + changed( integer Changed ): + Changed: '' + tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + llClearLinkMedia( integer Link, integer Face ) -> integer: + Link: '' + Face: '' + tooltip: Clears (deletes) the media and all parameters from the given Face on the linked prim.\nReturns an integer that is a STATUS_* flag, which details the success/failure of the operation. + llClearPrimMedia( integer Face ) -> integer: + Face: Number of side to clear. + tooltip: Clears (deletes) the media and all parameters from the given Face.\nReturns an integer that is a STATUS_* flag which details the success/failure of the operation. + llGetLinkMedia( integer LinkNumber, integer Face, list Parameters ) -> list: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Face: The prim's side number + Parameters: A list of PRIM_MEDIA_* property constants to return values of. + tooltip: "Get the media parameters for a particular face on linked prim, given the desired list of parameter names. Returns a list of values in the order requested.\tReturns an empty list if no media\ + \ exists on the face." + llGetPrimMediaParams( integer Face, list Parameters ) -> list: + Face: face number + Parameters: A list of PRIM_MEDIA_* property constants to return values of. + tooltip: Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face. + llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void: + HTTPRequestID: A valid HTTP request key. + Status: HTTP Status (200, 400, 404, etc.). + Body: Contents of the response. + tooltip: Responds to an incoming HTTP request which was triggerd by an http_request event within the script. HTTPRequestID specifies the request to respond to (this ID is supplied in the http_request + event handler). Status and Body specify the status code and message to respond with. + llRefreshPrimURL( ) -> void // deprecated: + tooltip: Reloads the web page shown on the sides of the object. + llSetContentType( key HTTPRequestID, integer ContentType ) -> void: + HTTPRequestID: A valid http_request() key + ContentType: Media type to use with any following llHTTPResponse(HTTPRequestID, ...) + tooltip: Set the media type of an LSL HTTP server response to ContentType.\nHTTPRequestID must be a valid http_request ID. ContentType must be one of the CONTENT_TYPE_* constants. + llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer: + Link: 'Link number (0: unlinked, 1: root prim, >1: child prims).' + Face: Face number. + Parameters: A set of name/value pairs (in no particular order) + tooltip: Set the media parameters for a particular face on linked prim, specified by Link. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters + is a set of name/value pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified. + llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer: + Face: Face number + MediaParameters: A set of name/value pairs (in no particular order) + tooltip: Sets the MediaParameters for a particular Face on the prim. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters is a set of name/value + pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified. + llSetPrimURL( string URL ) -> void // deprecated: + URL: '' + tooltip: 'Deprecated: Use llSetPrimMediaParams instead.' prim_properties: -- llGetObjectDesc( ) -> string -- llGetObjectDetails( key ID, list Parameters ) -> list -- llGetObjectName( ) -> string -- llGetPrimitiveParams( list Parameters ) -> list -- llSetClickAction( integer Action ) -> void -- llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated -- llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void -- llSetObjectDesc( string Description ) -> void -- llSetObjectName( string Name ) -> void -- llSetPayPrice( integer Price, list QuickButtons ) -> void -- llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void -- llSetPrimitiveParams( list Parameters ) -> void // deprecated -- llSetStatus( integer Status, integer Value ) -> void -- llSetText( string Text, vector Color, float Opacity ) -> void -- llSetTouchText( string Text ) -> void + llGetObjectDesc( ) -> string: + tooltip: Returns the description of the prim the script is attached to.\nReturns the description of the scripted object/prim. You can set the description using llSetObjectDesc. + llGetObjectDetails( key ID, list Parameters ) -> list: + ID: Prim or avatar UUID that is in the same region. + Parameters: List of OBJECT_* flags. + tooltip: Returns a list of object details specified in the Parameters list for the object or avatar in the region with key ID.\nParameters are specified by the OBJECT_* constants. + llGetObjectName( ) -> string: + tooltip: Returns the name of the prim which the script is attached to.\nReturns the name of the prim (not object) which contains the script. + llGetPrimitiveParams( list Parameters ) -> list: + Parameters: PRIM_* flags and face parameters + tooltip: Returns the primitive parameters specified in the parameters list.\nReturns primitive parameters specified in the Parameters list. + llSetClickAction( integer Action ) -> void: + Action: A CLICK_ACTION_* flag + tooltip: Sets the action performed when a prim is clicked upon. + llSetLinkPrimitiveParams( integer LinkNumber, list Parameters ) -> void // deprecated: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Parameters: '' + tooltip: 'Deprecated: Use llSetLinkPrimitiveParamsFast instead.' + llSetLinkPrimitiveParamsFast( integer LinkNumber, list Parameters ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Parameters: '' + tooltip: Set primitive parameters for LinkNumber based on Parameters, without a delay.\nSet parameters for link number, from the list of Parameters, with no built-in script sleep. This function is identical + to llSetLinkPrimitiveParams, except without the delay. + llSetObjectDesc( string Description ) -> void: + Description: '' + tooltip: Sets the description of the prim to Description.\nThe description field is limited to 127 characters. + llSetObjectName( string Name ) -> void: + Name: '' + tooltip: Sets the prim's name to Name. + llSetPayPrice( integer Price, list QuickButtons ) -> void: + Price: The default price shown in the text input field. + QuickButtons: Specifies the 4 payment values shown in the payment dialog's buttons (or PAY_HIDE). + tooltip: Sets the default amount when someone chooses to pay this object.\nPrice is the default price shown in the text input field. QuickButtons specifies the 4 payment values shown in the payment + dialog's buttons.\nInput field and buttons may be hidden with PAY_HIDE constant, and may be set to their default values using PAY_DEFAULT. + ? llSetPhysicsMaterial( integer MaterialBits, float GravityMultiplier, float Restitution, float Friction, float Density ) -> void + : MaterialBits: A bitmask specifying which of the parameters in the other arguments should be applied to the object. + GravityMultiplier: '' + Restitution: '' + Friction: '' + Density: '' + tooltip: Sets the selected parameters of the object's physics behavior.\nMaterialBits is a bitmask specifying which of the parameters in the other arguments should be applied to the object. GravityMultiplier, + Restitution, Friction, and Density are the possible parameters to manipulate. + llSetPrimitiveParams( list Parameters ) -> void // deprecated: + Parameters: A list of changes. + tooltip: 'Deprecated: Use llSetLinkPrimitiveParamsFast instead.' + llSetStatus( integer Status, integer Value ) -> void: + Status: '' + Value: '' + tooltip: Sets object status specified in Status bitmask (e.g. STATUS_PHYSICS|STATUS_PHANTOM) to boolean Value.\nFor a full list of STATUS_* constants, see wiki documentation. + llSetText( string Text, vector Color, float Opacity ) -> void: + Text: '' + Color: '' + Opacity: '' + tooltip: Causes Text to float above the prim, using the specified Color and Opacity. + llSetTouchText( string Text ) -> void: + Text: '' + tooltip: Displays Text in the viewer context menu that acts on a touch. quaternion: -- llAngleBetween( rotation Rot1, rotation Rot2 ) -> float -- llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation -- llAxisAngle2Rot( vector Axis, float Angle ) -> rotation -- llEuler2Rot( vector Vector ) -> rotation -- llRot2Angle( rotation Rotation ) -> float -- llRot2Axis( rotation Rotation ) -> vector -- llRot2Euler( rotation Rotation ) -> vector -- llRot2Fwd( rotation Rotation ) -> vector -- llRot2Left( rotation Rotation ) -> vector -- llRot2Up( rotation Rotation ) -> vector -- llRotBetween( vector Vector1, vector Vector2 ) -> rotation + llAngleBetween( rotation Rot1, rotation Rot2 ) -> float: + Rot1: First rotation. + Rot2: Second rotation. + tooltip: Returns the angle, in radians, between rotations Rot1 and Rot2. + llAxes2Rot( vector Forward, vector Left, vector Up ) -> rotation: + Forward: Forward/Back part of rotation. + Left: Left/Right part of rotation. + Up: Up/Down part of rotation. + tooltip: Returns the rotation represented by coordinate axes Forward, Left, and Up. + llAxisAngle2Rot( vector Axis, float Angle ) -> rotation: + Axis: Axis. + Angle: Angle in radians. + tooltip: Returns the rotation that is a generated Angle about Axis. + llEuler2Rot( vector Vector ) -> rotation: + Vector: '' + tooltip: Returns the rotation representation of the Euler angles.\nReturns the rotation represented by the Euler Angle. + llRot2Angle( rotation Rotation ) -> float: + Rotation: '' + tooltip: Returns the rotation angle represented by Rotation.\nReturns the angle represented by the Rotation. + llRot2Axis( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the rotation axis represented by Rotation.\nReturns the axis represented by the Rotation. + llRot2Euler( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the Euler representation (roll, pitch, yaw) of Rotation.\nReturns the Euler Angle representation of the Rotation. + llRot2Fwd( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the forward vector defined by Rotation.\nReturns the forward axis represented by the Rotation. + llRot2Left( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the left vector defined by Rotation.\nReturns the left axis represented by the Rotation. + llRot2Up( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the up vector defined by Rotation.\nReturns the up axis represented by the Rotation. + llRotBetween( vector Vector1, vector Vector2 ) -> rotation: + Vector1: '' + Vector2: '' + tooltip: Returns the rotation to rotate Vector1 to Vector2.\nReturns the rotation needed to rotate Vector1 to Vector2. region: -- changed( integer Changed ) -- llCloud( vector Offset ) -> float // deprecated -- llEdgeOfWorld( vector Position, vector Direction ) -> integer -- llGetAgentList( integer Scope, list Options ) -> list -- llGetEnv( string DataRequest ) -> string -- llGetRegionAgentCount( ) -> integer -- llGetRegionCorner( ) -> vector -- llGetRegionDayLength( ) -> integer -- llGetRegionDayOffset( ) -> integer -- llGetRegionFPS( ) -> float -- llGetRegionFlags( ) -> integer -- llGetRegionMoonDirection( ) -> vector -- llGetRegionMoonRotation( ) -> rotation -- llGetRegionName( ) -> string -- llGetRegionSunDirection( ) -> vector -- llGetRegionSunRotation( ) -> rotation -- llGetRegionTimeDilation( ) -> float -- llGetRegionTimeOfDay( ) -> float -- llGetSimStats( integer StatType ) -> float -- llGetSimulatorHostname( ) -> string -- llGround( vector Offset ) -> float -- llGroundContour( vector Offset ) -> vector -- llGroundNormal( vector Offset ) -> vector -- llGroundRepel( float Height, integer Water, float Tau ) -> void -- llGroundSlope( vector Offset ) -> vector -- llModifyLand( integer Action, integer Area ) -> void -- llRequestSimulatorData( string RegionName, integer Data ) -> key -- llSetGroundTexture( list Changes ) -> integer -- llWater( vector Offset ) -> float -- llWind( vector Offset ) -> vector + changed( integer Changed ): + Changed: '' + tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + llCloud( vector Offset ) -> float // deprecated: + Offset: '' + tooltip: Returns the cloud density at the object's position + Offset. + llEdgeOfWorld( vector Position, vector Direction ) -> integer: + Position: '' + Direction: '' + tooltip: Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).\nReturns TRUE if the line along Direction from Position hits the edge of + the world in the current simulator, returns FALSE if that edge crosses into another simulator. + llGetAgentList( integer Scope, list Options ) -> list: + Scope: The scope (region, parcel, parcel same owner) to return agents for. + Options: List of options to apply. Current unused. + tooltip: Requests a list of agents currently in the region, limited by the scope parameter.\nReturns a list [key UUID-0, key UUID-1, ..., key UUID-n] or [string error_msg] - returns avatar keys for + all agents in the region limited to the area(s) specified by scope + llGetEnv( string DataRequest ) -> string: + DataRequest: The type of data to request. Any other string will cause an empty string to be returned. + tooltip: Returns a string with the requested data about the region. + llGetRegionAgentCount( ) -> integer: + tooltip: Returns the number of avatars in the region.\nReturns an integer that is the number of avatars in the region. + llGetRegionCorner( ) -> vector: + tooltip: Returns a vector, in meters, that is the global location of the south-west corner of the region which the object is in.\nReturns the Region-Corner of the simulator containing the task. The + region-corner is a vector (values in meters) representing distance from the first region. + llGetRegionDayLength( ) -> integer: + tooltip: Returns the number of seconds in a day in this region. + llGetRegionDayOffset( ) -> integer: + tooltip: Returns the number of seconds in a day is offset from midnight in this parcel. + llGetRegionFPS( ) -> float: + tooltip: Returns the mean region frames per second. + llGetRegionFlags( ) -> integer: + tooltip: Returns the region flags (REGION_FLAG_*) for the region the object is in.\nReturns a bit-field specifying the region flags (REGION_FLAG_*) for the region the object is in. + llGetRegionMoonDirection( ) -> vector: + tooltip: Returns a normalized vector of the direction of the moon in the region.\nReturns the moon's direction on the simulator. + llGetRegionMoonRotation( ) -> rotation: + tooltip: Returns the rotation applied to the moon in the region. + llGetRegionName( ) -> string: + tooltip: Returns the current region name. + llGetRegionSunDirection( ) -> vector: + tooltip: Returns a normalized vector of the direction of the sun in the region.\nReturns the sun's direction on the simulator. + llGetRegionSunRotation( ) -> rotation: + tooltip: Returns the rotation applied to the sun in the region. + llGetRegionTimeDilation( ) -> float: + tooltip: Returns the current time dilation as a float between 0.0 (full dilation) and 1.0 (no dilation).\nReturns the current time dilation as a float between 0.0 and 1.0. + llGetRegionTimeOfDay( ) -> float: + tooltip: Returns the time in seconds since environmental midnight for the entire region. + llGetSimStats( integer StatType ) -> float: + StatType: Statistic type. + tooltip: Returns a float that is the requested statistic. + llGetSimulatorHostname( ) -> string: + tooltip: Returns the host-name of the machine which the script is running on.\nFor example, "sim225.agni.lindenlab.com". + llGround( vector Offset ) -> float: + Offset: '' + tooltip: Returns the ground height at the object position + offset.\nReturns the ground height at the object's position + Offset. + llGroundContour( vector Offset ) -> vector: + Offset: '' + tooltip: Returns the ground contour direction below the object position + Offset.\nReturns the ground contour at the object's position + Offset. + llGroundNormal( vector Offset ) -> vector: + Offset: '' + tooltip: Returns the ground normal below the object position + offset.\nReturns the ground contour at the object's position + Offset. + llGroundRepel( float Height, integer Water, float Tau ) -> void: + Height: Distance above the ground. + Water: Boolean, if TRUE then hover above water too. + Tau: Seconds to critically damp in. + tooltip: "Critically 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).\\nCritically damps to fHeight if within fHeight\ + \ * 0.5 of ground or water level.\\n\n The height is above ground level if iWater is FALSE or above the higher of land and water if iWater is TRUE.\\n\n Do not\ + \ use with vehicles. Only works in physics-enabled objects." + llGroundSlope( vector Offset ) -> vector: + Offset: '' + tooltip: Returns the ground slope below the object position + Offset.\nReturns the ground slope at the object position + Offset. + llModifyLand( integer Action, integer Area ) -> void: + Action: LAND_LEVEL, LAND_RAISE, LAND_LOWER, LAND_SMOOTH, LAND_NOISE or LAND_REVERT + Area: 0, 1, 2 (2m x 2m, 4m x 4m, or 8m x 8m) + tooltip: Modify land with action (LAND_LEVEL, LAND_RAISE, LAND_LOWER, LAND_SMOOTH, LAND_NOISE, LAND_REVERT) on size (0, 1, 2, corresponding to 2m x 2m, 4m x 4m, 8m x 8m). + llRequestSimulatorData( string RegionName, integer Data ) -> key: + RegionName: '' + Data: '' + tooltip: Requests the specified Data about RegionName. When the specified data is available, the dataserver event is raised.\nData should use one of the DATA_SIM_* constants.\nReturns a dataserver query + ID and triggers the dataserver event when data is found. + llSetGroundTexture( list Changes ) -> integer: + Changes: A list of ground texture properties to change. + tooltip: Changes terrain texture properties in the region. + llWater( vector Offset ) -> float: + Offset: '' + tooltip: Returns the water height below the object position + Offset. + llWind( vector Offset ) -> vector: + Offset: '' + tooltip: Returns the wind velocity at the object position + Offset. region_appearance: -- llGetRegionMoonDirection( ) -> vector -- llGetRegionMoonRotation( ) -> rotation -- llGetRegionSunDirection( ) -> vector -- llGetRegionSunRotation( ) -> rotation -- llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer -- llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer + llGetRegionMoonDirection( ) -> vector: + tooltip: Returns a normalized vector of the direction of the moon in the region.\nReturns the moon's direction on the simulator. + llGetRegionMoonRotation( ) -> rotation: + tooltip: Returns the rotation applied to the moon in the region. + llGetRegionSunDirection( ) -> vector: + tooltip: Returns a normalized vector of the direction of the sun in the region.\nReturns the sun's direction on the simulator. + llGetRegionSunRotation( ) -> rotation: + tooltip: Returns the rotation applied to the sun in the region. + llReplaceAgentEnvironment( key agent_id, float transition, string environment ) -> integer: + agent_id: '' + transition: '' + environment: '' + tooltip: Replaces the entire environment for an agent. Must be used as part of an experience. + llSetAgentEnvironment( key agent_id, float transition, list Settings ) -> integer: + agent_id: Agent to receive new environment settings. + transition: Number of seconds over which to apply new settings. + Settings: List of environment settings to replace for agent. + tooltip: Sets an agent's environmental values to the specified values. Must be used as part of an experience. rez: -- object_rez( key RezzedObjectsID ) -- on_rez( integer StartParameter ) -- llDerezObject( key ID, integer flags ) -> integer -- llDie( ) -> void -- llGetStartParameter( ) -> integer -- llGetStartString( ) -> string -- llGodLikeRezObject( key InventoryItemID, vector Position ) -> void -- llReturnObjectsByID( list ObjectIDs ) -> integer -- llReturnObjectsByOwner( key ID, integer Scope ) -> integer -- llRezAtRoot( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void -- llRezObject( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void -- llRezObjectWithParams( string InventoryItem, list Params ) -> key + object_rez( key RezzedObjectsID ): + RezzedObjectsID: '' + tooltip: Triggered when an object rezzes another object from its inventory via the llRezObject, or similar, functions. The id is the globally unique key for the object rezzed. + on_rez( integer StartParameter ): + StartParameter: '' + tooltip: Triggered whenever an object is rezzed from inventory or by another object. The start parameter is passed in from the llRezObject call, or zero if from inventory. + llDerezObject( key ID, integer flags ) -> integer: + ID: The ID of an object in the region. + flags: Flags for derez behavior. + tooltip: Derezzes an object previously rezzed by a script in this region. Returns TRUE on success or FALSE if the object could not be derezzed. + llDie( ) -> void: + tooltip: Delete the object which holds the script. + llGetStartParameter( ) -> integer: + tooltip: Returns an integer that is the script rez parameter.\nIf the object was rezzed by an agent, this function returns 0. + llGetStartString( ) -> string: + tooltip: Returns a string that is the value passed to llRezObjectWithParams with REZ_PARAM_STRING.\nIf the object was rezzed by an agent, this function returns an empty string. + llGodLikeRezObject( key InventoryItemID, vector Position ) -> void: + InventoryItemID: '' + Position: '' + tooltip: Rez directly off of a UUID if owner has god-bit set. + llReturnObjectsByID( list ObjectIDs ) -> integer: + ObjectIDs: List of object UUIDs to be returned. + tooltip: Return objects using their UUIDs.\nRequires the PERMISSION_RETURN_OBJECTS permission and that the script owner owns the parcel the returned objects are in, or is an estate manager or region + owner. + llReturnObjectsByOwner( key ID, integer Scope ) -> integer: + ID: Object owner's UUID. + Scope: '' + tooltip: Return objects based upon their owner and a scope of parcel, parcel owner, or region.\nRequires the PERMISSION_RETURN_OBJECTS permission and that the script owner owns the parcel the returned + objects are in, or is an estate manager or region owner. + llRezAtRoot( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void: + InventoryItem: '' + Position: '' + Velocity: '' + Rotation: '' + StartParameter: '' + tooltip: Instantiate owner's InventoryItem at Position with Velocity, Rotation and with StartParameter. The last selected root object's location will be set to Position.\nCreates object's inventory + item at the given Position, with Velocity, Rotation, and StartParameter. + llRezObject( string InventoryItem, vector Position, vector Velocity, rotation Rotation, integer StartParameter ) -> void: + InventoryItem: '' + Position: '' + Velocity: '' + Rotation: '' + StartParameter: '' + tooltip: Instantiate owners InventoryItem at Position with Velocity, Rotation and with start StartParameter.\nCreates object's inventory item at Position with Velocity and Rotation supplied. The StartParameter + value will be available to the newly created object in the on_rez event or through the llGetStartParameter function.\nThe Velocity parameter is ignored if the rezzed object is not physical. + llRezObjectWithParams( string InventoryItem, list Params ) -> key: + InventoryItem: '' + Params: '' + tooltip: Instantiate owner's InventoryItem with the given parameters. script: -- changed( integer Changed ) -- on_rez( integer StartParameter ) -- state_entry( ) -- state_exit( ) -- timer( ) -- llGetAndResetTime( ) -> float -- llGetEnergy( ) -> float -- llGetFreeMemory( ) -> integer -- llGetFreeURLs( ) -> integer -- llGetMemoryLimit( ) -> integer -- llGetSPMaxMemory( ) -> integer -- llGetScriptName( ) -> string -- llGetScriptState( string ScriptName ) -> integer -- llGetStartParameter( ) -> integer -- llGetStartString( ) -> string -- llGetTime( ) -> float -- llGetUsedMemory( ) -> integer -- llMinEventDelay( float Delay ) -> void -- llRemoteLoadScript( key Target, string ScriptName, integer Unknown1, integer Unknown2 ) -> void // private // deprecated -- llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void -- llResetOtherScript( string ScriptName ) -> void -- llResetScript( ) -> void -- llResetTime( ) -> void -- llScriptDanger( vector Position ) -> integer -- llScriptProfiler( integer State ) -> void -- llSetMemoryLimit( integer Limit ) -> integer -- llSetRemoteScriptAccessPin( integer PIN ) -> void -- llSetScriptState( string ScriptName, integer Running ) -> void -- llSetTimerEvent( float Rate ) -> void -- llSleep( float Time ) -> void + changed( integer Changed ): + Changed: '' + tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + on_rez( integer StartParameter ): + StartParameter: '' + tooltip: Triggered whenever an object is rezzed from inventory or by another object. The start parameter is passed in from the llRezObject call, or zero if from inventory. + state_entry( ): + tooltip: The state_entry event occurs whenever a new state is entered, including at program start, and is always the first event handled. + state_exit( ): + tooltip: The state_exit event occurs whenever the state command is used to transition to another state. It is handled before the new states state_entry event. + timer( ): + tooltip: This event is raised at regular intervals set by the llSetTimerEvent library function. + llGetAndResetTime( ) -> float: + tooltip: Returns the script time in seconds and then resets the script timer to zero.\nGets the time in seconds since starting and resets the time to zero. + llGetEnergy( ) -> float: + tooltip: Returns how much energy is in the object as a percentage of maximum. + llGetFreeMemory( ) -> integer: + tooltip: Returns the number of free bytes of memory the script can use.\nReturns the available free space for the current script. This is inaccurate with LSO. + llGetFreeURLs( ) -> integer: + tooltip: Returns the number of available URLs for the current script.\nReturns an integer that is the number of available URLs. + llGetMemoryLimit( ) -> integer: + tooltip: Get the maximum memory a script can use, in bytes. + llGetSPMaxMemory( ) -> integer: + tooltip: Returns the maximum used memory for the current script. Only valid after using PROFILE_SCRIPT_MEMORY. Non-mono scripts always use 16k.\nReturns the integer of the most bytes used while llScriptProfiler + was last active. + llGetScriptName( ) -> string: + tooltip: Returns the name of the script that this function is used in.\nReturns the name of this script. + llGetScriptState( string ScriptName ) -> integer: + ScriptName: '' + tooltip: Returns TRUE if the script named is running.\nReturns TRUE if ScriptName is running. + llGetStartParameter( ) -> integer: + tooltip: Returns an integer that is the script rez parameter.\nIf the object was rezzed by an agent, this function returns 0. + llGetStartString( ) -> string: + tooltip: Returns a string that is the value passed to llRezObjectWithParams with REZ_PARAM_STRING.\nIf the object was rezzed by an agent, this function returns an empty string. + llGetTime( ) -> float: + tooltip: Returns the time in seconds since the last region reset, script reset, or call to either llResetTime or llGetAndResetTime. Has a resolution of 0.022s (1 server frame), and is 6-11x faster to + look up than lua's os.clock + llGetUsedMemory( ) -> integer: + tooltip: Returns the current used memory for the current script. Non-mono scripts always use 16K.\nReturns the integer of the number of bytes of memory currently in use by the script. Non-mono scripts + always use 16K. + llMinEventDelay( float Delay ) -> void: + Delay: '' + tooltip: Set the minimum time between events being handled. + llRemoteLoadScript( key Target, string ScriptName, integer Unknown1, integer Unknown2 ) -> void // private // deprecated: + Target: '' + ScriptName: '' + Unknown1: '' + Unknown2: '' + tooltip: '' + llRemoteLoadScriptPin( key ObjectID, string ScriptName, integer PIN, integer Running, integer StartParameter ) -> void: + ObjectID: Target prim to attempt copying into. + ScriptName: Name of the script in current inventory to copy. + PIN: Integer set on target prim as a Personal Information Number code. + Running: If the script should be set running in the target prim. + StartParameter: Integer. Parameter passed to the script if set to be running. + tooltip: If the owner of the object containing this script can modify the object identified by the specified object key, and if the PIN matches the PIN previously set using llSetRemoteScriptAccessPin + (on the target prim), then the script will be copied into target. Running is a boolean specifying whether the script should be enabled once copied into the target object. + llResetOtherScript( string ScriptName ) -> void: + ScriptName: '' + tooltip: Resets the named script. + llResetScript( ) -> void: + tooltip: Resets the script. + llResetTime( ) -> void: + tooltip: Sets the time to zero.\nSets the internal timer to zero. + llScriptDanger( vector Position ) -> integer: + Position: '' + tooltip: Returns TRUE if Position is over public land, sandbox land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.\nReturns true if the position is + over public land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts. + llScriptProfiler( integer State ) -> void: + State: PROFILE_NONE or PROFILE_SCRIPT_MEMORY flags to control the state. + tooltip: Enables or disables script profiling options. Currently only supports PROFILE_SCRIPT_MEMORY (Mono only) and PROFILE_NONE.\nMay significantly reduce script performance. + llSetMemoryLimit( integer Limit ) -> integer: + Limit: The amount to reserve, which must be less than the allowed maximum (currently 64KB) and not already have been exceeded. + tooltip: Requests Limit bytes to be reserved for this script.\nReturns TRUE or FALSE indicating whether the limit was set successfully.\nThis function has no effect if the script is running in the LSO + VM. + llSetRemoteScriptAccessPin( integer PIN ) -> void: + PIN: '' + tooltip: If PIN is set to a non-zero number, the task will accept remote script loads via llRemoteLoadScriptPin() if it passes in the correct PIN. Othersise, llRemoteLoadScriptPin() is ignored. + llSetScriptState( string ScriptName, integer Running ) -> void: + ScriptName: '' + Running: '' + tooltip: Enable or disable the script Running state of Script in the prim. + llSetTimerEvent( float Rate ) -> void: + Rate: '' + tooltip: Causes the timer event to be triggered every Rate seconds.\n Passing in 0.0 stops further timer events. + llSleep( float Time ) -> void: + Time: '' + tooltip: Put script to sleep for Time seconds. script_communication: -- http_request( key HTTPRequestID, string HTTPMethod, string Body ) -- http_response( key HTTPRequestID, integer Status, list Metadata, string Body ) -- link_message( integer SendersLink, integer Value, string Text, key ID ) -- listen( integer Channel, string Name, key ID, string Text ) -- remote_data( integer EventType, key ChannelID, key MessageID, string Sender, integer IData, string SData ) // deprecated -- llCloseRemoteDataChannel( key ChannelID ) -> void // deprecated -- llGetNextEmail( string Address, string Subject ) -> void -- llHTTPRequest( string URL, list Parameters, string Body ) -> key -- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void -- llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer -- llListenControl( integer ChannelHandle, integer Active ) -> void -- llListenRemove( integer ChannelHandle ) -> void -- llMessageLinked( integer LinkNumber, integer Number, string Text, key ID ) -> void -- llOpenRemoteDataChannel( ) -> void // deprecated -- llRegionSay( integer Channel, string Text ) -> void -- llRegionSayTo( key TargetID, integer Channel, string Text ) -> void -- llRemoteDataReply( key ChannelID, key MessageID, string sData, integer iData ) -> void // deprecated -- llRemoteDataSetRegion( ) -> void // deprecated -- llRequestSecureURL( ) -> key -- llRequestURL( ) -> key -- llSay( integer Channel, string Text ) -> void -- llSendRemoteData( key ChannelID, string Destination, integer Value, string Text ) -> key // deprecated -- llShout( integer Channel, string Text ) -> void -- llWhisper( integer Channel, string Text ) -> void + http_request( key HTTPRequestID, string HTTPMethod, string Body ): + HTTPRequestID: '' + HTTPMethod: '' + Body: '' + tooltip: Triggered when task receives an HTTP request. + http_response( key HTTPRequestID, integer Status, list Metadata, string Body ): + HTTPRequestID: '' + Status: '' + Metadata: '' + Body: '' + tooltip: This event handler is invoked when an HTTP response is received for a pending llHTTPRequest request or if a pending request fails or times out. + link_message( integer SendersLink, integer Value, string Text, key ID ): + SendersLink: '' + Value: '' + Text: '' + ID: '' + tooltip: Triggered when object receives a link message via llMessageLinked function call. + listen( integer Channel, string Name, key ID, string Text ): + Channel: '' + Name: '' + ID: '' + Text: '' + tooltip: "This event is raised whenever a chat message matching the constraints set in the llListen command is received. The name and ID of the speaker, as well as the message, are passed in as parameters.\n\ + \t\t\tChannel 0 is the public chat channel that all avatars see as chat text. Channels 1 through 2,147,483,648 are private channels that are not sent to avatars but other scripts can listen on those\ + \ channels." + remote_data( integer EventType, key ChannelID, key MessageID, string Sender, integer IData, string SData ) // deprecated: + EventType: '' + ChannelID: '' + MessageID: '' + Sender: '' + IData: '' + SData: '' + tooltip: This event is deprecated. + llCloseRemoteDataChannel( key ChannelID ) -> void // deprecated: + ChannelID: '' + tooltip: This function is deprecated. + llGetNextEmail( string Address, string Subject ) -> void: + Address: '' + Subject: '' + tooltip: Fetch the next queued email with that matches the given address and/or subject, via the email event.\nIf the parameters are blank, they are not used for filtering. + llHTTPRequest( string URL, list Parameters, string Body ) -> key: + URL: A valid HTTP/HTTPS URL. + Parameters: Configuration parameters, specified as HTTP_* flag-value pairs. + Body: Contents of the request. + tooltip: Sends an HTTP request to the specified URL with the Body of the request and Parameters.\nReturns a key that is a handle identifying the HTTP request made. + llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void: + HTTPRequestID: A valid HTTP request key. + Status: HTTP Status (200, 400, 404, etc.). + Body: Contents of the response. + tooltip: Responds to an incoming HTTP request which was triggerd by an http_request event within the script. HTTPRequestID specifies the request to respond to (this ID is supplied in the http_request + event handler). Status and Body specify the status code and message to respond with. + llListen( integer Channel, string SpeakersName, key SpeakersID, string Text ) -> integer: + Channel: '' + SpeakersName: '' + SpeakersID: '' + Text: '' + tooltip: Creates a listen callback for Text on Channel from SpeakersName and SpeakersID (SpeakersName, SpeakersID, and/or Text can be empty) and returns an identifier that can be used to deactivate + or remove the listen.\nNon-empty values for SpeakersName, SpeakersID, and Text will filter the results accordingly, while empty strings and NULL_KEY will not filter the results, for string and key + parameters respectively.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels + are are not sent to avatars, but may be used to communicate with scripts. + llListenControl( integer ChannelHandle, integer Active ) -> void: + ChannelHandle: '' + Active: '' + tooltip: Makes a listen event callback active or inactive. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener you are controlling.\nUse boolean values + to specify Active + llListenRemove( integer ChannelHandle ) -> void: + ChannelHandle: '' + tooltip: Removes a listen event callback. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener to remove. + llMessageLinked( integer LinkNumber, integer Number, string Text, key ID ) -> void: + LinkNumber: '' + Number: '' + Text: '' + ID: '' + tooltip: Sends Number, Text, and ID to members of the link set identified by LinkNumber.\nLinkNumber is either a linked number (available through llGetLinkNumber) or a LINK_* constant. + llOpenRemoteDataChannel( ) -> void // deprecated: + tooltip: This function is deprecated. + llRegionSay( integer Channel, string Text ) -> void: + Channel: Any integer value except zero. + Text: Message to be transmitted. + tooltip: Broadcasts Text to entire region on Channel (except for channel 0). + llRegionSayTo( key TargetID, integer Channel, string Text ) -> void: + TargetID: Avatar or object to say to. + Channel: Output channel, any integer value. + Text: Message to be transmitted. + tooltip: Says Text, on Channel, to avatar or object indicated by TargetID (if within region).\nIf TargetID is an avatar and Channel is nonzero, Text can be heard by any attachment on the avatar. + llRemoteDataReply( key ChannelID, key MessageID, string sData, integer iData ) -> void // deprecated: + ChannelID: '' + MessageID: '' + sData: String data to send + iData: Integer data to send + tooltip: This function is deprecated. + llRemoteDataSetRegion( ) -> void // deprecated: + tooltip: This function is deprecated. + llRequestSecureURL( ) -> key: + tooltip: Requests one HTTPS:// (SSL) URL for use by this object. The http_request event is triggered with results.\nReturns a key that is the handle used for identifying the request in the http_request + event. + llRequestURL( ) -> key: + tooltip: Requests one HTTP:// URL for use by this script. The http_request event is triggered with the result of the request.\nReturns a key that is the handle used for identifying the result in the + http_request event. + llSay( integer Channel, string Text ) -> void: + Channel: Channel to use to say text on. + Text: Text to say. + tooltip: Says Text on Channel.\nThis chat method has a range of 20m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and + is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts. + llSendRemoteData( key ChannelID, string Destination, integer Value, string Text ) -> key // deprecated: + ChannelID: '' + Destination: '' + Value: '' + Text: '' + tooltip: This function is deprecated. + llShout( integer Channel, string Text ) -> void: + Channel: '' + Text: '' + tooltip: Shouts Text on Channel.\nThis chat method has a range of 100m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, + and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts. + llWhisper( integer Channel, string Text ) -> void: + Channel: '' + Text: '' + tooltip: Whispers Text on Channel.\nThis chat method has a range of 10m radius.\nPUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, + and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts. sensor: -- collision( integer NumberOfCollisions ) -- collision_end( integer NumberOfCollisions ) -- collision_start( integer NumberOfCollisions ) -- no_sensor( ) -- sensor( integer NumberDetected ) -- llCastRay( vector Start, vector End, list Options ) -> list -- llCollisionFilter( string ObjectName, key ObjectID, integer Accept ) -> void -- llPassCollisions( integer Pass ) -> void -- llSensor( string Name, key ID, integer Type, float Range, float Arc ) -> void -- llSensorRemove( ) -> void -- llSensorRepeat( string Name, key ID, integer Type, float Range, float Arc, float Rate ) -> void -- llVolumeDetect( integer DetectEnabled ) -> void + collision( integer NumberOfCollisions ): + NumberOfCollisions: '' + tooltip: "This event is raised while another object, or avatar, is colliding with the object the script is attached to.\n\t\t\tThe number of detected objects is passed to the script. Information on\ + \ those objects may be gathered via the llDetected* functions." + collision_end( integer NumberOfCollisions ): + NumberOfCollisions: '' + tooltip: "This event is raised when another object, or avatar, stops colliding with the object the script is attached to.\n\t\t\tThe number of detected objects is passed to the script. Information on\ + \ those objects may be gathered via the llDetected* library functions." + collision_start( integer NumberOfCollisions ): + NumberOfCollisions: '' + tooltip: "This event is raised when another object, or avatar, starts colliding with the object the script is attached to.\n\t\t\tThe number of detected objects is passed to the script. Information\ + \ on those objects may be gathered via the llDetected* library functions." + no_sensor( ): + tooltip: This event is raised when sensors are active, via the llSensor function call, but are not sensing anything. + sensor( integer NumberDetected ): + NumberDetected: '' + tooltip: "This event is raised whenever objects matching the constraints of the llSensor command are detected.\n\t\t\tThe number of detected objects is passed to the script in the parameter. Information\ + \ on those objects may be gathered via the llDetected* functions." + llCastRay( vector Start, vector End, list Options ) -> list: + Start: '' + End: '' + Options: '' + tooltip: 'Casts a ray into the physics world from ''start'' to ''end'' and returns data according to details in Options.\nReports collision data for intersections with objects.\nReturn value: [UUID_1, + {link_number_1}, hit_position_1, {hit_normal_1}, UUID_2, {link_number_2}, hit_position_2, {hit_normal_2}, ... , status_code] where {} indicates optional data.' + llCollisionFilter( string ObjectName, key ObjectID, integer Accept ) -> void: + ObjectName: '' + ObjectID: '' + Accept: If TRUE, only accept collisions with ObjectName name AND ObjectID (either is optional), otherwise with objects not ObjectName AND ObjectID. + tooltip: Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter. + llPassCollisions( integer Pass ) -> void: + Pass: Boolean, if TRUE, collisions are passed from children on to parents. + tooltip: Configures how collision events are passed to scripts in the linkset.\nIf Pass == TRUE, collisions involving collision-handling scripted child prims are also passed on to the root prim. If + Pass == FALSE (default behavior), such collisions will only trigger events in the affected child prim. + llSensor( string Name, key ID, integer Type, float Range, float Arc ) -> void: + Name: Object or avatar name. + ID: Object or avatar UUID. + Type: Bit-field mask of AGENT, AGENT_BY_LEGACY_NAME, AGENT_BY_USERNAME, ACTIVE, PASSIVE, and/or SCRIPTED + Range: Distance to scan. 0.0 - 96.0m. + Arc: Angle, in radians, from the local x-axis of the prim to scan. + tooltip: Performs a single scan for Name and ID with Type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within Range meters and Arc radians of forward vector.\nSpecifying a blank Name, 0 Type, or NULL_KEY + ID will prevent filtering results based on that parameter. A range of 0.0 does not perform a scan.\nResults are returned in the sensor and no_sensor events. + llSensorRemove( ) -> void: + tooltip: removes sensor.\nRemoves the sensor set by llSensorRepeat. + llSensorRepeat( string Name, key ID, integer Type, float Range, float Arc, float Rate ) -> void: + Name: Object or avatar name. + ID: Object or avatar UUID. + Type: Bit-field mask of AGENT, AGENT_BY_LEGACY_NAME, AGENT_BY_USERNAME, ACTIVE, PASSIVE, and/or SCRIPTED + Range: Distance to scan. 0.0 - 96.0m. + Arc: Angle, in radians, from the local x-axis of the prim to scan. + Rate: Period, in seconds, between scans. + tooltip: Initiates a periodic scan every Rate seconds, for Name and ID with Type (AGENT, ACTIVE, PASSIVE, and/or SCRIPTED) within Range meters and Arc radians of forward vector.\nSpecifying a blank + Name, 0 Type, or NULL_KEY ID will prevent filtering results based on that parameter. A range of 0.0 does not perform a scan.\nResults are returned in the sensor and no_sensor events. + llVolumeDetect( integer DetectEnabled ) -> void: + DetectEnabled: TRUE enables, FALSE disables. + tooltip: If DetectEnabled = TRUE, object becomes phantom but triggers collision_start and collision_end events when other objects start and stop interpenetrating.\nIf another object (including avatars) + interpenetrates it, it will get a collision_start event.\nWhen an object stops interpenetrating, a collision_end event is generated. While the other is inter-penetrating, collision events are NOT + generated. sit: -- changed( integer Changed ) -- llAvatarOnLinkSitTarget( integer LinkNumber ) -> key -- llAvatarOnSitTarget( ) -> key -- llGetLinkSitFlags( integer LinkNumber ) -> integer -- llLinkSitTarget( integer LinkNumber, vector Offset, rotation Rotation ) -> void -- llSetLinkCamera( integer LinkNumber, vector EyeOffset, vector LookOffset ) -> void -- llSetLinkSitFlags( integer LinkNumber, integer Flags ) -> void -- llSetSitText( string Text ) -> void -- llSitOnLink( key AvatarID, integer LinkID ) -> integer -- llSitTarget( vector Offset, rotation Rotation ) -> void -- llUnSit( key AvatarID ) -> void + changed( integer Changed ): + Changed: '' + tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + llAvatarOnLinkSitTarget( integer LinkNumber ) -> key: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + tooltip: If an avatar is sitting on the link's sit target, return the avatar's key, NULL_KEY otherwise.\nReturns a key that is the UUID of the user seated on the specified link's prim. + llAvatarOnSitTarget( ) -> key: + tooltip: If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY.\nThis only will detect avatars sitting on sit targets defined with llSitTarget. + llGetLinkSitFlags( integer LinkNumber ) -> integer: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + tooltip: Returns the sit flags set on the specified prim in a linkset. + llLinkSitTarget( integer LinkNumber, vector Offset, rotation Rotation ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag of the prim.' + Offset: Position for the sit target, relative to the prim's position. + Rotation: Rotation (relative to the prim's rotation) for the avatar. + tooltip: Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it.\nSet the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation. + llSetLinkCamera( integer LinkNumber, vector EyeOffset, vector LookOffset ) -> void: + LinkNumber: 'Prim link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + EyeOffset: Offset, relative to the object's centre and expressed in local coordinates, that the camera looks from. + LookOffset: Offset, relative to the object's centre and expressed in local coordinates, that the camera looks toward. + tooltip: Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim. + llSetLinkSitFlags( integer LinkNumber, integer Flags ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag.' + Flags: The new set of sit flags to apply to the specified prims in this linkset. + tooltip: Sets the sit flags for the specified prim in a linkset. + llSetSitText( string Text ) -> void: + Text: '' + tooltip: Displays Text rather than 'Sit' in the viewer's context menu. + llSitOnLink( key AvatarID, integer LinkID ) -> integer: + AvatarID: '' + LinkID: '' + tooltip: If agent identified by AvatarID is participating in the experience, sit them on the specified link's sit target. + llSitTarget( vector Offset, rotation Rotation ) -> void: + Offset: '' + Rotation: '' + tooltip: Set the sit location for this object. If offset == ZERO_VECTOR, clears the sit target. + llUnSit( key AvatarID ) -> void: + AvatarID: '' + tooltip: If agent identified by AvatarID is sitting on the object the script is attached to or is over land owned by the object's owner, the agent is forced to stand up. sound: -- llAdjustSoundVolume( float Volume ) -> void -- llCollisionSound( string ImpactSound, float ImpactVolume ) -> void -- llCollisionSprite( string ImpactSprite ) -> void // deprecated -- llLinkAdjustSoundVolume( integer LinkNumber, float Volume ) -> void -- llLinkPlaySound( integer LinkNumber, string Sound, float Volume, integer Flags ) -> void -- llLinkSetSoundQueueing( integer LinkNumber, integer QueueEnable ) -> void -- llLinkSetSoundRadius( integer LinkNumber, float radius ) -> void -- llLinkStopSound( integer LinkNumber ) -> void -- llLoopSound( string Sound, float Volume ) -> void -- llLoopSoundMaster( string Sound, float Volume ) -> void -- llLoopSoundSlave( string Sound, float Volume ) -> void -- llPlaySound( string Sound, float Volume ) -> void -- llPlaySoundSlave( string Sound, float Volume ) -> void -- llPreloadSound( string Sound ) -> void -- llSetSoundQueueing( integer QueueEnable ) -> void -- llSetSoundRadius( float Radius ) -> void -- llSound( string Sound, float Volume, integer Queue, integer Loop ) -> void // deprecated -- llSoundPreload( string Sound ) -> void // deprecated -- llStopSound( ) -> void -- llTriggerSound( string Sound, float Volume ) -> void -- llTriggerSoundLimited( string Sound, float Volume, vector TNE, vector BSW ) -> void + llAdjustSoundVolume( float Volume ) -> void: + Volume: The volume to set. + tooltip: Adjusts the volume (0.0 - 1.0) of the currently playing attached sound.\nThis function has no effect on sounds started with llTriggerSound. + llCollisionSound( string ImpactSound, float ImpactVolume ) -> void: + ImpactSound: '' + ImpactVolume: '' + tooltip: Suppress default collision sounds, replace default impact sounds with ImpactSound.\nThe ImpactSound must be in the object inventory.\nSupply an empty string to suppress collision sounds. + llCollisionSprite( string ImpactSprite ) -> void // deprecated: + ImpactSprite: '' + tooltip: Suppress default collision sprites, replace default impact sprite with ImpactSprite; found in the object inventory (empty string to just suppress). + llLinkAdjustSoundVolume( integer LinkNumber, float Volume ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Volume: The volume to set. + tooltip: Adjusts the volume (0.0 - 1.0) of the currently playing sound attached to the link.\nThis function has no effect on sounds started with llTriggerSound. + llLinkPlaySound( integer LinkNumber, string Sound, float Volume, integer Flags ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + Sound: '' + Volume: '' + Flags: '' + tooltip: Plays Sound, once or looping, at Volume (0.0 - 1.0). The sound may be attached to the link or triggered at its location.\nOnly one sound may be attached to an object at a time, and attaching + a new sound or calling llStopSound will stop the previously attached sound. + llLinkSetSoundQueueing( integer LinkNumber, integer QueueEnable ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + QueueEnable: 'Boolean, sound queuing for the linked prim: TRUE enables, FALSE disables (default).' + tooltip: Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius around the link. + llLinkSetSoundRadius( integer LinkNumber, float radius ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + radius: Maximum distance that sounds can be heard. + tooltip: Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius around the link. + llLinkStopSound( integer LinkNumber ) -> void: + LinkNumber: 'Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag' + tooltip: Stops playback of the currently attached sound on a link. + llLoopSound( string Sound, float Volume ) -> void: + Sound: '' + Volume: '' + tooltip: Plays specified Sound, looping indefinitely, at Volume (0.0 - 1.0).\nOnly one sound may be attached to an object at a time.\nA second call to llLoopSound with the same key will not restart + the sound, but the new volume will be used. This allows control over the volume of already playing sounds.\nSetting the volume to 0 is not the same as calling llStopSound; a sound with 0 volume will + continue to loop.\nTo restart the sound from the beginning, call llStopSound before calling llLoopSound again. + llLoopSoundMaster( string Sound, float Volume ) -> void: + Sound: '' + Volume: '' + tooltip: Plays attached Sound, looping at volume (0.0 - 1.0), and declares it a sync master.\nBehaviour is identical to llLoopSound, with the addition of marking the source as a "Sync Master", causing + "Slave" sounds to sync to it. If there are multiple masters within a viewers interest area, the most audible one (a function of both distance and volume) will win out as the master.\nThe use of multiple + masters within a small area is unlikely to produce the desired effect. + llLoopSoundSlave( string Sound, float Volume ) -> void: + Sound: '' + Volume: '' + tooltip: Plays attached sound looping at volume (0.0 - 1.0), synced to most audible sync master.\nBehaviour is identical to llLoopSound, unless there is a "Sync Master" present.\nIf a Sync Master is + already playing the Slave sound will begin playing from the same point the master is in its loop synchronizing the loop points of both sounds.\nIf a Sync Master is started when the Slave is already + playing, the Slave will skip to the correct position to sync with the Master. + llPlaySound( string Sound, float Volume ) -> void: + Sound: '' + Volume: '' + tooltip: Plays Sound once, at Volume (0.0 - 1.0) and attached to the object.\nOnly one sound may be attached to an object at a time, and attaching a new sound or calling llStopSound will stop the previously + attached sound.\nA second call to llPlaySound with the same sound will not restart the sound, but the new volume will be used, which allows control over the volume of already playing sounds.\nTo restart + the sound from the beginning, call llStopSound before calling llPlaySound again. + llPlaySoundSlave( string Sound, float Volume ) -> void: + Sound: '' + Volume: '' + tooltip: Plays attached Sound once, at Volume (0.0 - 1.0), synced to next loop of most audible sync master.\nBehaviour is identical to llPlaySound, unless there is a "Sync Master" present. If a Sync + Master is already playing, the Slave sound will not be played until the Master hits its loop point and returns to the beginning.\nllPlaySoundSlave will play the sound exactly once; if it is desired + to have the sound play every time the Master loops, either use llLoopSoundSlave with extra silence padded on the end of the sound or ensure that llPlaySoundSlave is called at least once per loop of + the Master. + llPreloadSound( string Sound ) -> void: + Sound: '' + tooltip: Causes nearby viewers to preload the Sound from the object's inventory.\nThis is intended to prevent delays in starting new sounds when called upon. + llSetSoundQueueing( integer QueueEnable ) -> void: + QueueEnable: 'Boolean, sound queuing: TRUE enables, FALSE disables (default).' + tooltip: Sets whether successive calls to llPlaySound, llLoopSound, etc., (attached sounds) interrupt the currently playing sound.\nThe default for objects is FALSE. Setting this value to TRUE will + make the sound wait until the current playing sound reaches its end. The queue is one level deep. + llSetSoundRadius( float Radius ) -> void: + Radius: Maximum distance that sounds can be heard. + tooltip: Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius. + llSound( string Sound, float Volume, integer Queue, integer Loop ) -> void // deprecated: + Sound: '' + Volume: '' + Queue: '' + Loop: '' + tooltip: 'Deprecated: Use llPlaySound instead.\nPlays Sound at Volume and specifies whether the sound should loop and/or be enqueued.' + llSoundPreload( string Sound ) -> void // deprecated: + Sound: '' + tooltip: 'Deprecated: Use llPreloadSound instead.\nPreloads a sound on viewers within range.' + llStopSound( ) -> void: + tooltip: Stops playback of the currently attached sound. + llTriggerSound( string Sound, float Volume ) -> void: + Sound: '' + Volume: '' + tooltip: Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object.\nThere is no limit to the number of triggered sounds which can be generated by an object, and calling llTriggerSound + does not affect the attached sounds created by llPlaySound and llLoopSound. This is very useful for things like collision noises, explosions, etc. There is no way to stop or alter the volume of a + sound triggered by this function. + llTriggerSoundLimited( string Sound, float Volume, vector TNE, vector BSW ) -> void: + Sound: '' + Volume: '' + TNE: '' + BSW: '' + tooltip: Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object, limited to axis-aligned bounding box defined by vectors top-north-east (TNE) and bottom-south-west (BSW).\nThere is + no limit to the number of triggered sounds which can be generated by an object, and calling llTriggerSound does not affect the attached sounds created by llPlaySound and llLoopSound. This is very + useful for things like collision noises, explosions, etc. There is no way to stop or alter the volume of a sound triggered by this function. string: -- llChar( integer value ) -> string -- llDeleteSubString( string Source, integer Start, integer End ) -> string -- llGetSubString( string String, integer Start, integer End ) -> string -- llInsertString( string TargetVariable, integer Position, string SourceVariable ) -> string -- llOrd( string value, integer index ) -> integer -- llReplaceSubString( string InitialString, string SubString, string NewSubString, integer Count ) -> string -- llStringLength( string Text ) -> integer -- llStringTrim( string Text, integer TrimType ) -> string -- llSubStringIndex( string Text, string Sequence ) -> integer -- llToLower( string Text ) -> string -- llToUpper( string Text ) -> string + llChar( integer value ) -> string: + value: Unicode value to convert into a string. + tooltip: Returns a single character string that is the representation of the unicode value. + llDeleteSubString( string Source, integer Start, integer End ) -> string: + Source: '' + Start: '' + End: '' + tooltip: Removes the indicated sub-string and returns the result.\nStart and End are inclusive.\nUsing negative numbers for Start and/or End causes the index to count backwards from the length of the + string, so 0, -1 would delete the entire string.\nIf Start is larger than End, the sub-string is the exclusion of the entries; so 6, 4 would delete the entire string except for the 5th character. + llGetSubString( string String, integer Start, integer End ) -> string: + String: '' + Start: '' + End: '' + tooltip: Returns a sub-string from String, in a range specified by the Start and End indices (inclusive).\nUsing negative numbers for Start and/or End causes the index to count backwards from the length + of the string, so 0, -1 would capture the entire string.\nIf Start is greater than End, the sub string is the exclusion of the entries. + llInsertString( string TargetVariable, integer Position, string SourceVariable ) -> string: + TargetVariable: '' + Position: '' + SourceVariable: '' + tooltip: Inserts SourceVariable into TargetVariable at Position, and returns the result.\nInserts SourceVariable into TargetVariable at Position and returns the result. Note this does not alter TargetVariable. + llOrd( string value, integer index ) -> integer: + value: The string to convert to Unicode. + index: Index of character to convert to unicode. + tooltip: Returns the unicode value of the indicated character in the string. + llReplaceSubString( string InitialString, string SubString, string NewSubString, integer Count ) -> string: + InitialString: The original string in which to hunt for substring matches. + SubString: The original substring to find. + NewSubString: The new substring used to replace. + Count: The max number of replacements to make. Zero Count means "replace all". Positive Count moves left to right. Negative moves right to left. + tooltip: Searches InitialString and replaces instances of SubString with NewSubString. Zero Count means "replace all". Positive Count moves left to right. Negative moves right to left. + llStringLength( string Text ) -> integer: + Text: '' + tooltip: Returns an integer that is the number of characters in Text (not counting the null). + llStringTrim( string Text, integer TrimType ) -> string: + Text: String to trim + TrimType: STRING_TRIM_HEAD, STRING_TRIM_TAIL, or STRING_TRIM. + tooltip: 'Outputs a string, eliminating white-space from the start and/or end of the input string Text.\nValid options for TrimType:\nSTRING_TRIM_HEAD: trim all leading spaces in Text\nSTRING_TRIM_TAIL: + trim all trailing spaces in Text\nSTRING_TRIM: trim all leading and trailing spaces in Text.' + llSubStringIndex( string Text, string Sequence ) -> integer: + Text: '' + Sequence: '' + tooltip: Returns the first index where Sequence appears in Text. Returns -1 if not found. + llToLower( string Text ) -> string: + Text: '' + tooltip: Returns a string that is Text with all lower-case characters. + llToUpper( string Text ) -> string: + Text: '' + tooltip: Returns a string that is Text with all upper-case characters. teleport: -- changed( integer Changed ) -- llMapDestination( string RegionName, vector Position, vector Direction ) -> void -- llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void -- llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void -- llTeleportAgentHome( key AvatarID ) -> void + changed( integer Changed ): + Changed: '' + tooltip: Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. + llMapDestination( string RegionName, vector Position, vector Direction ) -> void: + RegionName: '' + Position: '' + Direction: '' + tooltip: Opens world map for avatar who touched it or is wearing the script, centred on RegionName with Position highlighted. Only works for scripts attached to avatar, or during touch events.\nDirection + currently has no effect. + llTeleportAgent( key AvatarID, string LandmarkName, vector Position, vector LookAtPoint ) -> void: + AvatarID: UUID of avatar. + LandmarkName: Name of landmark (in object contents), or empty string, to use. + Position: If no landmark was provided, the position within the current region to teleport the avatar to. + LookAtPoint: The position within the target region that the avatar should be turned to face upon arrival. + tooltip: Requests a teleport of avatar to a landmark stored in the object's inventory. If no landmark is provided (an empty string), the avatar is teleported to the location position in the current + region. In either case, the avatar is turned to face the position given by look_at in local coordinates.\nRequires the PERMISSION_TELEPORT runtime permission.\nThis function can only teleport the + owner of the object. + llTeleportAgentGlobalCoords( key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint ) -> void: + AvatarID: UUID of avatar. + GlobalPosition: Global coordinates of the destination region. Can be retrieved by using llRequestSimulatorData(region_name, DATA_SIM_POS). + RegionPosition: The position within the target region to teleport the avatar to, if no landmark was provided. + LookAtPoint: The position within the target region that the avatar should be turned to face upon arrival. + tooltip: Teleports an agent to the RegionPosition local coordinates within a region which is specified by the GlobalPosition global coordinates. The agent lands facing the position defined by LookAtPoint + local coordinates.\nRequires the PERMISSION_TELEPORT runtime permission.\nThis function can only teleport the owner of the object. + llTeleportAgentHome( key AvatarID ) -> void: + AvatarID: '' + tooltip: Teleport agent over the owner's land to agent's home location. time: -- timer( ) -- llGetDate( ) -> string -- llGetDayLength( ) -> integer -- llGetDayOffset( ) -> integer -- llGetGMTclock( ) -> float -- llGetRegionDayLength( ) -> integer -- llGetRegionDayOffset( ) -> integer -- llGetRegionTimeOfDay( ) -> float -- llGetTimeOfDay( ) -> float -- llGetTimestamp( ) -> string -- llGetUnixTime( ) -> integer -- llGetWallclock( ) -> float -- llSetTimerEvent( float Rate ) -> void -- llSleep( float Time ) -> void + timer( ): + tooltip: This event is raised at regular intervals set by the llSetTimerEvent library function. + llGetDate( ) -> string: + tooltip: Returns the current date in the UTC time zone in the format YYYY-MM-DD.\nReturns the current UTC date as YYYY-MM-DD. Equivilant to os.date("%Y-%m-%d") in lua. + llGetDayLength( ) -> integer: + tooltip: Returns the number of seconds in a day on this parcel. + llGetDayOffset( ) -> integer: + tooltip: Returns the number of seconds in a day is offset from midnight in this parcel. + llGetGMTclock( ) -> float: + tooltip: Returns the time in seconds since midnight GMT.\nGets the time in seconds since midnight in GMT/UTC. + llGetRegionDayLength( ) -> integer: + tooltip: Returns the number of seconds in a day in this region. + llGetRegionDayOffset( ) -> integer: + tooltip: Returns the number of seconds in a day is offset from midnight in this parcel. + llGetRegionTimeOfDay( ) -> float: + tooltip: Returns the time in seconds since environmental midnight for the entire region. + llGetTimeOfDay( ) -> float: + tooltip: Returns the time in seconds since environmental midnight on the parcel. + llGetTimestamp( ) -> string: + tooltip: 'Returns a time-stamp (UTC time zone) in the format: YYYY-MM-DDThh:mm:ss.ff..fZ.\n Almost equivilant to os.date("%Y-%m-%dT%XZ") in lua, except for the milliseconds' + llGetUnixTime( ) -> integer: + tooltip: Returns the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock. + llGetWallclock( ) -> float: + tooltip: Returns the time in seconds since midnight California Pacific time (PST/PDT).\nReturns the time in seconds since simulator's time-zone midnight (Pacific Time). + llSetTimerEvent( float Rate ) -> void: + Rate: '' + tooltip: Causes the timer event to be triggered every Rate seconds.\n Passing in 0.0 stops further timer events. + llSleep( float Time ) -> void: + Time: '' + tooltip: Put script to sleep for Time seconds. touch: -- touch( integer NumberOfTouches ) -- touch_end( integer NumberOfTouches ) -- touch_start( integer NumberOfTouches ) -- llDetectedGrab( integer Number ) -> vector -- llDetectedTouchBinormal( integer Index ) -> vector -- llDetectedTouchFace( integer Index ) -> integer -- llDetectedTouchNormal( integer Index ) -> vector -- llDetectedTouchPos( integer Index ) -> vector -- llDetectedTouchST( integer Index ) -> vector -- llDetectedTouchUV( integer Index ) -> vector -- llPassTouches( integer Pass ) -> void -- llSetClickAction( integer Action ) -> void -- llSetTouchText( string Text ) -> void + touch( integer NumberOfTouches ): + NumberOfTouches: '' + tooltip: "This event is raised while a user is touching the object the script is attached to.\n\t\t\tThe number of touching objects is passed to the script in the parameter.\n\t\t\tInformation on those\ + \ objects may be gathered via the llDetected* library functions." + touch_end( integer NumberOfTouches ): + NumberOfTouches: '' + tooltip: "This event is raised when a user stops touching the object the script is attached to. The number of touches is passed to the script in the parameter.\n\t\t\tInformation on those objects may\ + \ be gathered via the llDetected* library functions." + touch_start( integer NumberOfTouches ): + NumberOfTouches: '' + tooltip: "This event is raised when a user first touches the object the script is attached to. The number of touches is passed to the script in the parameter.\n\t\t\tInformation on those objects may\ + \ be gathered via the llDetected() library functions." + llDetectedGrab( integer Number ) -> vector: + Number: '' + tooltip: Returns the grab offset of a user touching the object.\nReturns <0.0, 0.0, 0.0> if Number is not a valid object. + llDetectedTouchBinormal( integer Index ) -> vector: + Index: Index of detection information + tooltip: Returns the surface bi-normal for a triggered touch event.\nReturns a vector that is the surface bi-normal (tangent to the surface) where the touch event was triggered. + llDetectedTouchFace( integer Index ) -> integer: + Index: Index of detection information + tooltip: Returns the index of the face where the avatar clicked in a triggered touch event. + llDetectedTouchNormal( integer Index ) -> vector: + Index: Index of detection information + tooltip: Returns the surface normal for a triggered touch event.\nReturns a vector that is the surface normal (perpendicular to the surface) where the touch event was triggered. + llDetectedTouchPos( integer Index ) -> vector: + Index: Index of detected information + tooltip: Returns the position, in region coordinates, where the object was touched in a triggered touch event.\nUnless it is a HUD, in which case it returns the position relative to the attach point. + llDetectedTouchST( integer Index ) -> vector: + Index: Index of detection information + tooltip: Returns a vector that is the surface coordinates where the prim was touched.\nThe X and Y vector positions contain the horizontal (S) and vertical (T) face coordinates respectively.\nEach component + is in the interval [0.0, 1.0].\nTOUCH_INVALID_TEXCOORD is returned if the surface coordinates cannot be determined (e.g. when the viewer does not support this function). + llDetectedTouchUV( integer Index ) -> vector: + Index: Index of detection information + tooltip: Returns a vector that is the texture coordinates for where the prim was touched.\nThe X and Y vector positions contain the U and V face coordinates respectively.\nTOUCH_INVALID_TEXCOORD is + returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function). + llPassTouches( integer Pass ) -> void: + Pass: Boolean, if TRUE, touches are passed from children on to parents. + tooltip: Configures how touch events are passed to scripts in the linkset.\nIf Pass == TRUE, touches involving touch-handling scripted child prims are also passed on to the root prim. If Pass == FALSE + (default behavior), such touches will only trigger events in the affected child prim. + llSetClickAction( integer Action ) -> void: + Action: A CLICK_ACTION_* flag + tooltip: Sets the action performed when a prim is clicked upon. + llSetTouchText( string Text ) -> void: + Text: '' + tooltip: Displays Text in the viewer context menu that acts on a touch. user_interface: -- touch( integer NumberOfTouches ) -- touch_end( integer NumberOfTouches ) -- touch_start( integer NumberOfTouches ) -- llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void -- llLoadURL( key AvatarID, string Text, string URL ) -> void -- llMapBeacon( string RegionName, vector Position, list Options ) -> void -- llMapDestination( string RegionName, vector Position, vector Direction ) -> void -- llSetClickAction( integer Action ) -> void -- llSetPayPrice( integer Price, list QuickButtons ) -> void -- llSetSitText( string Text ) -> void -- llSetTouchText( string Text ) -> void -- llTextBox( key AvatarID, string Text, integer Channel ) -> void -- llWorldPosToHUD( vector world_pos ) -> vector + touch( integer NumberOfTouches ): + NumberOfTouches: '' + tooltip: "This event is raised while a user is touching the object the script is attached to.\n\t\t\tThe number of touching objects is passed to the script in the parameter.\n\t\t\tInformation on those\ + \ objects may be gathered via the llDetected* library functions." + touch_end( integer NumberOfTouches ): + NumberOfTouches: '' + tooltip: "This event is raised when a user stops touching the object the script is attached to. The number of touches is passed to the script in the parameter.\n\t\t\tInformation on those objects may\ + \ be gathered via the llDetected* library functions." + touch_start( integer NumberOfTouches ): + NumberOfTouches: '' + tooltip: "This event is raised when a user first touches the object the script is attached to. The number of touches is passed to the script in the parameter.\n\t\t\tInformation on those objects may\ + \ be gathered via the llDetected() library functions." + llDialog( key AvatarID, string Text, list Buttons, integer Channel ) -> void: + AvatarID: '' + Text: '' + Buttons: '' + Channel: '' + tooltip: "Shows a dialog box on the avatar's screen with the message.\\n\n Up to 12 strings in the list form buttons.\\n\n If a button is clicked, the name is chatted\ + \ on Channel.\\nOpens a \"notify box\" in the given avatars screen displaying the message.\\n\n Up to twelve buttons can be specified in a list of strings. When the user clicks a button,\ + \ the name of the button is said on the specified channel.\\n\n Channels work just like llSay(), so channel 0 can be heard by everyone.\\n\n The chat originates at the\ + \ object's position, not the avatar's position, even though it is said as the avatar (uses avatar's UUID and Name etc.).\\n\n Examples:\\n\n llDialog(who, \"Are you a\ + \ boy or a girl?\", [ \"Boy\", \"Girl\" ], -4913);\\n\n llDialog(who, \"This shows only an OK button.\", [], -192);\\n\n llDialog(who, \"This chats so you can 'hear'\ + \ it.\", [\"Hooray\"], 0);" + llLoadURL( key AvatarID, string Text, string URL ) -> void: + AvatarID: '' + Text: '' + URL: '' + tooltip: "Shows dialog to avatar AvatarID offering to load web page at URL.\tIf user clicks yes, launches their web browser.\\nllLoadURL displays a dialogue box to the user, offering to load the specified\ + \ web page using the default web browser." + llMapBeacon( string RegionName, vector Position, list Options ) -> void: + RegionName: Region in which to show the beacon. + Position: Position within region to show the beacon. + Options: Options + tooltip: Displays an in world beacon and optionally opens world map for avatar who touched the object or is wearing the script, centered on RegionName with Position highlighted. Only works for scripts + attached to avatar, or during touch events. + llMapDestination( string RegionName, vector Position, vector Direction ) -> void: + RegionName: '' + Position: '' + Direction: '' + tooltip: Opens world map for avatar who touched it or is wearing the script, centred on RegionName with Position highlighted. Only works for scripts attached to avatar, or during touch events.\nDirection + currently has no effect. + llSetClickAction( integer Action ) -> void: + Action: A CLICK_ACTION_* flag + tooltip: Sets the action performed when a prim is clicked upon. + llSetPayPrice( integer Price, list QuickButtons ) -> void: + Price: The default price shown in the text input field. + QuickButtons: Specifies the 4 payment values shown in the payment dialog's buttons (or PAY_HIDE). + tooltip: Sets the default amount when someone chooses to pay this object.\nPrice is the default price shown in the text input field. QuickButtons specifies the 4 payment values shown in the payment + dialog's buttons.\nInput field and buttons may be hidden with PAY_HIDE constant, and may be set to their default values using PAY_DEFAULT. + llSetSitText( string Text ) -> void: + Text: '' + tooltip: Displays Text rather than 'Sit' in the viewer's context menu. + llSetTouchText( string Text ) -> void: + Text: '' + tooltip: Displays Text in the viewer context menu that acts on a touch. + llTextBox( key AvatarID, string Text, integer Channel ) -> void: + AvatarID: '' + Text: '' + Channel: '' + tooltip: Opens a dialog for the specified avatar with message Text, which contains a text box for input. Any text that is entered is said on the specified Channel (as if by the avatar) when the "OK" + button is clicked. + llWorldPosToHUD( vector world_pos ) -> vector: + world_pos: The world-frame position to project into HUD space + tooltip: Returns the local position that would put the origin of a HUD object directly over world_pos as viewed by the current camera. Requires the PERMISSION_TRACK_CAMERA runtime permission (else will + return zero vector). uuid: -- llDetectedKey( integer Number ) -> key -- llGenerateKey( ) -> key -- llGetKey( ) -> key -- llGetLinkKey( integer LinkNumber ) -> key -- llGetObjectLinkKey( key id, integer link_no ) -> key -- llGetOwner( ) -> key -- llGetOwnerKey( key ObjectID ) -> key -- llRequestUserKey( string Name ) -> key + llDetectedKey( integer Number ) -> key: + Number: '' + tooltip: Returns the key of detected object or avatar number.\nReturns NULL_KEY if Number is not a valid index. + llGenerateKey( ) -> key: + tooltip: Generates a key (SHA-1 hash) using UUID generation to create a unique key.\nAs the UUID produced is versioned, it should never return a value of NULL_KEY.\nThe specific UUID version is an implementation + detail that has changed in the past and may change again in the future. Do not depend upon the UUID that is returned to be version 5 SHA-1 hash. + llGetKey( ) -> key: + tooltip: Returns the key of the prim the script is attached to.\nGet the key for the object which has this script. + llGetLinkKey( integer LinkNumber ) -> key: + LinkNumber: '' + tooltip: Returns the key of the linked prim LinkNumber.\nReturns the key of LinkNumber in the link set. + llGetObjectLinkKey( key id, integer link_no ) -> key: + id: UUID of prim + link_no: Link number to retrieve + tooltip: Returns the key of the linked prim link_no in a linkset.\nReturns the key of link_no in the link set specified by id. + llGetOwner( ) -> key: + tooltip: Returns the object owner's UUID.\nReturns the key for the owner of the object. + llGetOwnerKey( key ObjectID ) -> key: + ObjectID: '' + tooltip: Returns the owner of ObjectID.\nReturns the key for the owner of object ObjectID. + llRequestUserKey( string Name ) -> key: + Name: Name of agent to look up. + tooltip: Look up Agent ID for the named agent using a historical name. vector: -- llRot2Axis( rotation Rotation ) -> vector -- llRot2Fwd( rotation Rotation ) -> vector -- llRot2Left( rotation Rotation ) -> vector -- llRot2Up( rotation Rotation ) -> vector -- llVecDist( vector Location1, vector Location2 ) -> float -- llVecMag( vector Vector ) -> float -- llVecNorm( vector Vector ) -> vector + llRot2Axis( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the rotation axis represented by Rotation.\nReturns the axis represented by the Rotation. + llRot2Fwd( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the forward vector defined by Rotation.\nReturns the forward axis represented by the Rotation. + llRot2Left( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the left vector defined by Rotation.\nReturns the left axis represented by the Rotation. + llRot2Up( rotation Rotation ) -> vector: + Rotation: '' + tooltip: Returns the up vector defined by Rotation.\nReturns the up axis represented by the Rotation. + llVecDist( vector Location1, vector Location2 ) -> float: + Location1: '' + Location2: '' + tooltip: Returns the distance between Location1 and Location2. + llVecMag( vector Vector ) -> float: + Vector: '' + tooltip: Returns the magnitude of the vector. + llVecNorm( vector Vector ) -> vector: + Vector: '' + tooltip: Returns normalized vector. vehicles: -- llRemoveVehicleFlags( integer Vehiclelags ) -> void -- llSetVehicleFlags( integer Flags ) -> void -- llSetVehicleFloatParam( integer ParameterName, float ParameterValue ) -> void -- llSetVehicleRotationParam( integer ParameterName, rotation ParameterValue ) -> void -- llSetVehicleType( integer Type ) -> void -- llSetVehicleVectorParam( integer ParameterName, vector ParameterValue ) -> void + llRemoveVehicleFlags( integer Vehiclelags ) -> void: + Vehiclelags: '' + tooltip: Removes the enabled bits in 'flags'.\nSets the vehicle flags to FALSE. Valid parameters can be found in the vehicle flags constants section. + llSetVehicleFlags( integer Flags ) -> void: + Flags: '' + tooltip: Enables the vehicle flags specified in the Flags bitmask.\nValid parameters can be found in the wiki documentation. + llSetVehicleFloatParam( integer ParameterName, float ParameterValue ) -> void: + ParameterName: '' + ParameterValue: '' + tooltip: Sets a vehicle float parameter.\nValid parameters can be found in the wiki documentation. + llSetVehicleRotationParam( integer ParameterName, rotation ParameterValue ) -> void: + ParameterName: '' + ParameterValue: '' + tooltip: Sets a vehicle rotation parameter.\nValid parameters can be found in the wiki documentation. + llSetVehicleType( integer Type ) -> void: + Type: '' + tooltip: Activates the vehicle action on the object with vehicle preset Type.\nValid Types and an explanation of their characteristics can be found in wiki documentation. + llSetVehicleVectorParam( integer ParameterName, vector ParameterValue ) -> void: + ParameterName: '' + ParameterValue: '' + tooltip: Sets a vehicle vector parameter.\nValid parameters can be found in the wiki documentation. web: -- http_request( key HTTPRequestID, string HTTPMethod, string Body ) -- http_response( key HTTPRequestID, integer Status, list Metadata, string Body ) -- llEscapeURL( string URL ) -> string -- llGetFreeURLs( ) -> integer -- llGetHTTPHeader( key HTTPRequestID, string Header ) -> string -- llHTTPRequest( string URL, list Parameters, string Body ) -> key -- llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void -- llLoadURL( key AvatarID, string Text, string URL ) -> void -- llRefreshPrimURL( ) -> void // deprecated -- llReleaseURL( string URL ) -> void -- llRequestSecureURL( ) -> key -- llRequestURL( ) -> key -- llSetContentType( key HTTPRequestID, integer ContentType ) -> void -- llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer -- llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer -- llSetPrimURL( string URL ) -> void // deprecated -- llUnescapeURL( string URL ) -> string + http_request( key HTTPRequestID, string HTTPMethod, string Body ): + HTTPRequestID: '' + HTTPMethod: '' + Body: '' + tooltip: Triggered when task receives an HTTP request. + http_response( key HTTPRequestID, integer Status, list Metadata, string Body ): + HTTPRequestID: '' + Status: '' + Metadata: '' + Body: '' + tooltip: This event handler is invoked when an HTTP response is received for a pending llHTTPRequest request or if a pending request fails or times out. + llEscapeURL( string URL ) -> string: + URL: '' + tooltip: "Returns an escaped/encoded version of url, replacing spaces with %20 etc.\\nReturns the string that is the URL-escaped version of URL (replacing spaces with %20, etc.).\\n\n \ + \ This function returns the UTF-8 encoded escape codes for selected characters." + llGetFreeURLs( ) -> integer: + tooltip: Returns the number of available URLs for the current script.\nReturns an integer that is the number of available URLs. + llGetHTTPHeader( key HTTPRequestID, string Header ) -> string: + HTTPRequestID: A valid HTTP request key + Header: Header value name + tooltip: Returns the value for header for request_id.\nReturns a string that is the value of the Header for HTTPRequestID. + llHTTPRequest( string URL, list Parameters, string Body ) -> key: + URL: A valid HTTP/HTTPS URL. + Parameters: Configuration parameters, specified as HTTP_* flag-value pairs. + Body: Contents of the request. + tooltip: Sends an HTTP request to the specified URL with the Body of the request and Parameters.\nReturns a key that is a handle identifying the HTTP request made. + llHTTPResponse( key HTTPRequestID, integer Status, string Body ) -> void: + HTTPRequestID: A valid HTTP request key. + Status: HTTP Status (200, 400, 404, etc.). + Body: Contents of the response. + tooltip: Responds to an incoming HTTP request which was triggerd by an http_request event within the script. HTTPRequestID specifies the request to respond to (this ID is supplied in the http_request + event handler). Status and Body specify the status code and message to respond with. + llLoadURL( key AvatarID, string Text, string URL ) -> void: + AvatarID: '' + Text: '' + URL: '' + tooltip: "Shows dialog to avatar AvatarID offering to load web page at URL.\tIf user clicks yes, launches their web browser.\\nllLoadURL displays a dialogue box to the user, offering to load the specified\ + \ web page using the default web browser." + llRefreshPrimURL( ) -> void // deprecated: + tooltip: Reloads the web page shown on the sides of the object. + llReleaseURL( string URL ) -> void: + URL: URL to release. + tooltip: Releases the specified URL, which was previously obtained using llRequestURL. Once released, the URL will no longer be usable. + llRequestSecureURL( ) -> key: + tooltip: Requests one HTTPS:// (SSL) URL for use by this object. The http_request event is triggered with results.\nReturns a key that is the handle used for identifying the request in the http_request + event. + llRequestURL( ) -> key: + tooltip: Requests one HTTP:// URL for use by this script. The http_request event is triggered with the result of the request.\nReturns a key that is the handle used for identifying the result in the + http_request event. + llSetContentType( key HTTPRequestID, integer ContentType ) -> void: + HTTPRequestID: A valid http_request() key + ContentType: Media type to use with any following llHTTPResponse(HTTPRequestID, ...) + tooltip: Set the media type of an LSL HTTP server response to ContentType.\nHTTPRequestID must be a valid http_request ID. ContentType must be one of the CONTENT_TYPE_* constants. + llSetLinkMedia( integer Link, integer Face, list Parameters ) -> integer: + Link: 'Link number (0: unlinked, 1: root prim, >1: child prims).' + Face: Face number. + Parameters: A set of name/value pairs (in no particular order) + tooltip: Set the media parameters for a particular face on linked prim, specified by Link. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters + is a set of name/value pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified. + llSetPrimMediaParams( integer Face, list MediaParameters ) -> integer: + Face: Face number + MediaParameters: A set of name/value pairs (in no particular order) + tooltip: Sets the MediaParameters for a particular Face on the prim. Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).\nMediaParameters is a set of name/value + pairs in no particular order. Parameters not specified are unchanged, or if new media is added then set to the default specified. + llSetPrimURL( string URL ) -> void // deprecated: + URL: '' + tooltip: 'Deprecated: Use llSetPrimMediaParams instead.' + llUnescapeURL( string URL ) -> string: + URL: '' + tooltip: Returns the string that is the URL unescaped, replacing "%20" with spaces, etc., version of URL.\nThis function can output raw UTF-8 strings. diff --git a/lsl_definitions/generators/experimental.py b/lsl_definitions/generators/experimental.py index ae21d867..4fe438b9 100644 --- a/lsl_definitions/generators/experimental.py +++ b/lsl_definitions/generators/experimental.py @@ -81,13 +81,17 @@ def gen_category_docs(definitions: LSLDefinitions) -> str: for category in event.categories: builtins_str = f"{event.name}{event.args_str}" builtins_str += lsl_annotations(event) - categories.setdefault(category, []).append(builtins_str) + docs = {arg.name: arg.tooltip for arg in event.arguments} + docs["tooltip"] = event.tooltip + categories.setdefault(category, {})[builtins_str] = docs for func in sorted(definitions.functions.values(), key=lambda x: x.name): for category in func.categories: builtins_str = f"{func.name}{func.args_str} -> {func.ret_type!s}" builtins_str += lsl_annotations(func) - categories.setdefault(category, []).append(builtins_str) + docs = {arg.name: arg.tooltip for arg in func.arguments} + docs["tooltip"] = func.tooltip + categories.setdefault(category, {})[builtins_str] = docs categories = {k: categories[k] for k in sorted(categories.keys())} yaml.safe_dump(categories, file, sort_keys=False, width=200)