@gwigz/slua-types 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +839 -660
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -69,7 +69,7 @@ declare interface DetectedEvent {
69
69
  readonly valid: boolean
70
70
  readonly canAdjustDamage: boolean
71
71
  /** Changes the amount of damage to be delivered by this damage event. */
72
- adjustDamage(Damage: number): void
72
+ adjustDamage(damage: number): void
73
73
  /** Returns a list containing the current damage for the event, the damage type and the original damage delivered. */
74
74
  getDamage(): list
75
75
  /**
@@ -164,64 +164,111 @@ declare interface DetectedEvent {
164
164
 
165
165
  /** @noSelf */
166
166
  declare interface LLEventMap {
167
+ /** 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. */
167
168
  at_rot_target: (
168
- TargetNumber: number,
169
- TargetRotation: quaternion,
170
- CurrentRotation: quaternion,
169
+ targetNumber: number,
170
+ targetRotation: quaternion,
171
+ currentRotation: quaternion,
171
172
  ) => void
172
- at_target: (TargetNumber: number, TargetPosition: vector, CurrentPosition: vector) => void
173
- attach: (AvatarID: uuid) => void
174
- changed: (Changed: number) => void
173
+ /** This event is triggered when the scripted object comes within a defined range of the target position, defined by the llTarget function call. */
174
+ at_target: (targetNumber: number, targetPosition: vector, currentPosition: vector) => void
175
+ /** 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. */
176
+ attach: (avatarId: uuid) => void
177
+ /** Triggered when various events change the object. The change argument will be a bit-field of CHANGED_* constants. */
178
+ changed: (changed: number) => void
179
+ /** This event is raised while another object, or avatar, is colliding with the object the script is attached to.The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* functions. */
175
180
  collision: (detected: DetectedEvent[]) => void
181
+ /** This event is raised when another object, or avatar, stops colliding with the object the script is attached to.The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* library functions. */
176
182
  collision_end: (detected: DetectedEvent[]) => void
183
+ /** This event is raised when another object, or avatar, starts colliding with the object the script is attached to.The number of detected objects is passed to the script. Information on those objects may be gathered via the llDetected* library functions. */
177
184
  collision_start: (detected: DetectedEvent[]) => void
178
- control: (AvatarID: uuid, Levels: number, Edges: number) => void
179
- dataserver: (RequestID: uuid, Data: string) => void
185
+ /** 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.The levels and edges are bit-fields of control constants. */
186
+ control: (avatarId: uuid, levels: number, edges: number) => void
187
+ /** This event is triggered when the requested data is returned to the script.Data may be requested by the llRequestAgentData, llRequestInventoryData, and llGetNotecardLine function calls, for example. */
188
+ dataserver: (requestId: uuid, data: string) => void
189
+ /** This event is triggered when an email sent to this script arrives.The number remaining tells how many more emails are known to be still pending. */
180
190
  email: (
181
- Time: string,
182
- Address: string,
183
- Subject: string,
184
- Body: string,
185
- NumberRemaining: number,
191
+ time: string,
192
+ address: string,
193
+ subject: string,
194
+ body: string,
195
+ numberRemaining: number,
186
196
  ) => void
187
- experience_permissions: (agent_id: uuid) => void
188
- experience_permissions_denied: (agent_id: uuid, Reason: number) => void
197
+ /** Triggered when an agent has approved an experience permissions request. */
198
+ experience_permissions: (agentId: uuid) => void
199
+ /** Describes why the Experience permissions were denied for the agent. */
200
+ experience_permissions_denied: (agentId: uuid, reason: number) => void
201
+ /** Triggered as damage is applied to an avatar or task, after all on_damage events have been processed. */
189
202
  final_damage: (detected: DetectedEvent[]) => void
203
+ /** This event is raised when game controller input changes. */
190
204
  game_control: (id: uuid, buttons: number, axes: number[]) => void
191
- http_request: (HTTPRequestID: uuid, HTTPMethod: string, Body: string) => void
192
- http_response: (HTTPRequestID: uuid, Status: number, Metadata: list, Body: string) => void
193
- land_collision: (Position: vector) => void
194
- land_collision_end: (Position: vector) => void
195
- land_collision_start: (Position: vector) => void
196
- link_message: (SendersLink: number, Value: number, Text: string, ID: string) => void
205
+ /** Triggered when task receives an HTTP request. */
206
+ http_request: (httpRequestId: uuid, httpMethod: string, body: string) => void
207
+ /** 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. */
208
+ http_response: (httpRequestId: uuid, status: number, metadata: list, body: string) => void
209
+ /** This event is raised when the object the script is attached to is colliding with the ground. */
210
+ land_collision: (position: vector) => void
211
+ /** This event is raised when the object the script is attached to stops colliding with the ground. */
212
+ land_collision_end: (position: vector) => void
213
+ /** This event is raised when the object the script is attached to begins to collide with the ground. */
214
+ land_collision_start: (position: vector) => void
215
+ /** Triggered when object receives a link message via llMessageLinked function call. */
216
+ link_message: (sendersLink: number, value: number, text: string, id: string) => void
217
+ /** Triggered when a script modifies the linkset datastore. */
197
218
  linkset_data: (action: number, name: string, value: string) => void
198
- listen: (Channel: number, Name: string, ID: uuid, Text: string) => void
199
- money: (Payer: uuid, Amount: number) => void
219
+ /** 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.Channel 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. */
220
+ listen: (channel: number, name: string, id: uuid, text: string) => void
221
+ /** This event is triggered when a resident has given an amount of Linden dollars to the object. */
222
+ money: (payer: uuid, amount: number) => void
223
+ /** Triggered whenever an object with this script stops moving. */
200
224
  moving_end: () => void
225
+ /** Triggered whenever an object with this script starts moving. */
201
226
  moving_start: () => void
227
+ /** This event is raised when sensors are active, via the llSensor function call, but are not sensing anything. */
202
228
  no_sensor: () => void
229
+ /** When a target is set via the llRotTarget function call, but the script is outside the specified angle this event is raised. */
203
230
  not_at_rot_target: () => void
231
+ /** When a target is set via the llTarget library call, but the script is outside the specified range this event is raised. */
204
232
  not_at_target: () => void
205
- object_rez: (RezzedObjectsID: uuid) => void
233
+ /** 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. */
234
+ object_rez: (rezzedObjectsId: uuid) => void
235
+ /** Triggered when an avatar or object receives damage. */
206
236
  on_damage: (detected: DetectedEvent[]) => void
237
+ /** Triggered when an avatar reaches 0 health. */
207
238
  on_death: () => void
208
- on_rez: (StartParameter: number) => void
209
- path_update: (Type: number, Reserved: list) => void
239
+ /** 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. */
240
+ on_rez: (startParameter: number) => void
241
+ /** This event is called to inform the script of changes within the object's path-finding status. */
242
+ path_update: (type: number, reserved: list) => void
243
+ /**
244
+ * This event is deprecated.
245
+ * @deprecated
246
+ */
210
247
  remote_data: (
211
- EventType: number,
212
- ChannelID: uuid,
213
- MessageID: uuid,
214
- Sender: string,
215
- IData: number,
216
- SData: string,
248
+ eventType: number,
249
+ channelId: uuid,
250
+ messageId: uuid,
251
+ sender: string,
252
+ iData: number,
253
+ sData: string,
217
254
  ) => void
218
- run_time_permissions: (PermissionFlags: number) => void
255
+ /** 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.The integer returned to this event handler contains the current set of permissions flags, so if permissions equal 0 then no permissions are set. */
256
+ run_time_permissions: (permissionFlags: number) => void
257
+ /** This event is raised whenever objects matching the constraints of the llSensor command are detected.The number of detected objects is passed to the script in the parameter. Information on those objects may be gathered via the llDetected* functions. */
219
258
  sensor: (detected: DetectedEvent[]) => void
259
+ /**
260
+ * This event is raised at regular intervals set by the llSetTimerEvent library function.
261
+ * @deprecated Use 'LLTimers' instead.
262
+ */
220
263
  timer: () => void
264
+ /** This event is raised while a user is touching the object the script is attached to.The number of touching objects is passed to the script in the parameter.Information on those objects may be gathered via the llDetected* library functions. */
221
265
  touch: (detected: DetectedEvent[]) => void
266
+ /** 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.Information on those objects may be gathered via the llDetected* library functions. */
222
267
  touch_end: (detected: DetectedEvent[]) => void
268
+ /** 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.Information on those objects may be gathered via the llDetected() library functions. */
223
269
  touch_start: (detected: DetectedEvent[]) => void
224
- transaction_result: (RequestID: uuid, Success: number, Message: string) => void
270
+ /** Triggered by llTransferLindenDollars() function. */
271
+ transaction_result: (requestId: uuid, success: number, message: string) => void
225
272
  }
226
273
 
227
274
  /** 'rotation' is an alias for 'quaternion' */
@@ -291,6 +338,35 @@ declare type OsDateTime = {
291
338
  yday?: number
292
339
  isdst?: boolean
293
340
  }
341
+ /** Configuration options for lljson encoding */
342
+ declare type LLJsonEncodeOptions = {
343
+ tight?: boolean
344
+ skip_tojson?: boolean
345
+ allow_sparse?: boolean
346
+ replacer: ((this: void, key: any, value: any, parent: any[] | undefined) => any) | undefined
347
+ }
348
+ declare type LLJsonDecodeReviverWithoutPath = (
349
+ this: void,
350
+ key: string | number,
351
+ value: any,
352
+ parent: any[] | undefined,
353
+ ctx: any[],
354
+ ) => any
355
+ declare type LLJsonDecodeOptionsWithoutPath =
356
+ | { track_path?: false; reviver?: LLJsonDecodeReviverWithoutPath }
357
+ | LLJsonDecodeReviverWithoutPath
358
+ declare type LLJsonDecodeOptionsWithPath = {
359
+ track_path: true
360
+ reviver: (
361
+ this: void,
362
+ key: string | number,
363
+ value: any,
364
+ parent: any[] | undefined,
365
+ ctx: { path: (string | number)[] },
366
+ ) => any
367
+ }
368
+ /** Configuration options for lljson decoding */
369
+ declare type LLJsonDecodeOptions = LLJsonDecodeOptionsWithoutPath | LLJsonDecodeOptionsWithPath
294
370
 
295
371
  /** Event registration and management class for Second Life events */
296
372
  declare interface LLEvents {
@@ -300,9 +376,9 @@ declare interface LLEvents {
300
376
  off<E extends keyof LLEventMap>(event: E, callback: LLEventMap[E]): boolean
301
377
  /** Registers a one-time callback. Returns the wrapper function. */
302
378
  once<E extends keyof LLEventMap>(event: E, callback: LLEventMap[E]): LLEventMap[E]
303
- /** Returns a list of all listeners for a specific event. */
304
- listeners<E extends keyof LLEventMap>(event: E): LLEventMap[E][]
305
- /** Returns a list of all event names that have listeners. */
379
+ /** Returns a list of all handlers for a specific event. */
380
+ handlers<E extends keyof LLEventMap>(event: E): LLEventMap[E][]
381
+ /** Returns a list of all event names that have handlers. */
306
382
  eventNames(): (keyof LLEventMap)[]
307
383
  }
308
384
 
@@ -704,29 +780,29 @@ declare namespace llbase64 {
704
780
  /** @noSelf */
705
781
  declare namespace lljson {
706
782
  /** Encodes a Lua value as JSON. Raises an error if value contains unsupported types. */
707
- export function encode(value: any): string
783
+ export function encode(value: any, options?: LLJsonEncodeOptions): string
708
784
 
709
785
  /** Decodes a JSON string to a Lua value. Raises an error if JSON is invalid. */
710
- export function decode(json: string): any
786
+ export function decode(json: string, options?: LLJsonDecodeOptions): any
711
787
 
712
788
  /** Encodes a Lua value as JSON, preserving SL types. Use tight to encode more compactly. Raises an error if value contains unsupported types. */
713
- export function slencode(value: any, tight?: boolean): string
789
+ export function slencode(value: any, options?: LLJsonEncodeOptions): string
714
790
 
715
791
  /** Decodes a JSON string to a Lua value, preserving SL types. Raises an error if JSON is invalid. */
716
- export function sldecode(json: string): any
792
+ export function sldecode(json: string, options?: LLJsonDecodeOptions): any
717
793
 
718
- /** A constant to pass for null to json encode */
794
+ /** A constant to pass for null to json encode. */
719
795
  export const null_: any
720
- /** Metatable for declaring table as an empty array for json encode */
721
- export const empty_array_mt: Record<any, any>
722
- /** Metatable for declaring table as an array for json encode */
723
- export const array_mt: Record<any, any>
724
- /** A constant to pass for an empty array to json encode */
725
- export const empty_array: any
726
- /** Name of the lljson library */
727
- export const _NAME: string
728
- /** Version of the lljson library */
729
- export const _VERSION: string
796
+ /** A constant to return from a reviver/replacer replacer function to omit this item. */
797
+ export const remove: any
798
+ /** Metatable for declaring table as an array for json encode. */
799
+ export const array_mt: { __jsonhint: string }
800
+ /** Metatable for declaring table as an object for json encode. */
801
+ export const object_mt: { __jsonhint: string }
802
+ /** A constant to pass for an empty array to json encode. */
803
+ export const empty_array: any[]
804
+ /** A constant to pass for an empty object to json encode. */
805
+ export const empty_object: any[]
730
806
  }
731
807
 
732
808
  /** Mathematical functions library. */
@@ -1147,10 +1223,10 @@ declare namespace Vector {
1147
1223
  /** @noSelf */
1148
1224
  declare namespace ll {
1149
1225
  /** Returns the absolute (positive) version of Value. */
1150
- export function Abs(Value: number): number
1226
+ export function Abs(value: number): number
1151
1227
 
1152
1228
  /** Returns the arc-cosine of Value, in radians. */
1153
- export function Acos(Value: number): number
1229
+ export function Acos(value: number): number
1154
1230
 
1155
1231
  /**
1156
1232
  * Add avatar ID to the parcel ban list for the specified number of Hours.
@@ -1159,48 +1235,48 @@ declare namespace ll {
1159
1235
  * When 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).
1160
1236
  * Residents teleporting to a parcel where they are banned will be redirected to a neighbouring parcel.
1161
1237
  */
1162
- export function AddToLandBanList(ID: uuid, Hours: number): void
1238
+ export function AddToLandBanList(id: uuid, hours: number): void
1163
1239
 
1164
1240
  /** Add avatar ID to the land pass list, for a duration of Hours. */
1165
- export function AddToLandPassList(ID: uuid, Hours: number): void
1241
+ export function AddToLandPassList(id: uuid, hours: number): void
1166
1242
 
1167
1243
  /**
1168
1244
  * Changes the amount of damage to be delivered by this damage event.
1169
- * @indexArg Number
1245
+ * @indexArg number
1170
1246
  */
1171
- export function AdjustDamage(Number: number, Damage: number): void
1247
+ export function AdjustDamage(number: number, damage: number): void
1172
1248
 
1173
1249
  /**
1174
1250
  * Adjusts the volume (0.0 - 1.0) of the currently playing attached sound.
1175
1251
  * This function has no effect on sounds started with llTriggerSound.
1176
1252
  */
1177
- export function AdjustSoundVolume(Volume: number): void
1253
+ export function AdjustSoundVolume(volume: number): void
1178
1254
 
1179
1255
  /** Returns TRUE if the agent is in the Experience and the Experience can run in the current location. */
1180
- export function AgentInExperience(AgentID: uuid): number
1256
+ export function AgentInExperience(agentId: uuid): number
1181
1257
 
1182
1258
  /** If Flag == TRUE, users without object modify permissions can still drop inventory items into the object. */
1183
- export function AllowInventoryDrop(Flag: number): void
1259
+ export function AllowInventoryDrop(flag: number): void
1184
1260
 
1185
1261
  /** Returns the angle, in radians, between rotations Rot1 and Rot2. */
1186
- export function AngleBetween(Rot1: quaternion, Rot2: quaternion): number
1262
+ export function AngleBetween(rot1: quaternion, rot2: quaternion): number
1187
1263
 
1188
1264
  /**
1189
1265
  * Applies impulse to the object.
1190
1266
  * If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.
1191
1267
  * This function only works on physical objects.
1192
1268
  */
1193
- export function ApplyImpulse(Force: vector, Local: number): void
1269
+ export function ApplyImpulse(force: vector, local: number): void
1194
1270
 
1195
1271
  /**
1196
1272
  * Applies rotational impulse to the object.
1197
1273
  * If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.
1198
1274
  * This function only works on physical objects.
1199
1275
  */
1200
- export function ApplyRotationalImpulse(Force: vector, Local: number): void
1276
+ export function ApplyRotationalImpulse(force: vector, local: number): void
1201
1277
 
1202
1278
  /** Returns the arc-sine, in radians, of Value. */
1203
- export function Asin(Value: number): number
1279
+ export function Asin(value: number): number
1204
1280
 
1205
1281
  /** Returns the arc-tangent2 of y, x. */
1206
1282
  export function Atan2(y: number, x: number): number
@@ -1209,19 +1285,19 @@ declare namespace ll {
1209
1285
  * Attach to avatar at point AttachmentPoint.
1210
1286
  * Requires the PERMISSION_ATTACH runtime permission.
1211
1287
  */
1212
- export function AttachToAvatar(AttachmentPoint: number): void
1288
+ export function AttachToAvatar(attachmentPoint: number): void
1213
1289
 
1214
1290
  /**
1215
1291
  * 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.
1216
1292
  * Requires the PERMISSION_ATTACH runtime permission.
1217
1293
  */
1218
- export function AttachToAvatarTemp(AttachPoint: number): void
1294
+ export function AttachToAvatarTemp(attachPoint: number): void
1219
1295
 
1220
1296
  /**
1221
1297
  * If an avatar is sitting on the link's sit target, return the avatar's key, NULL_KEY otherwise.
1222
1298
  * Returns a key that is the UUID of the user seated on the specified link's prim.
1223
1299
  */
1224
- export function AvatarOnLinkSitTarget(LinkNumber: number): uuid
1300
+ export function AvatarOnLinkSitTarget(linkNumber: number): uuid
1225
1301
 
1226
1302
  /**
1227
1303
  * If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY.
@@ -1230,22 +1306,24 @@ declare namespace ll {
1230
1306
  export function AvatarOnSitTarget(): uuid
1231
1307
 
1232
1308
  /** Returns the rotation represented by coordinate axes Forward, Left, and Up. */
1233
- export function Axes2Rot(Forward: vector, Left: vector, Up: vector): quaternion
1309
+ export function Axes2Rot(forward: vector, left: vector, up: vector): quaternion
1234
1310
 
1235
1311
  /** Returns the rotation that is a generated Angle about Axis. */
1236
- export function AxisAngle2Rot(Axis: vector, Angle: number): quaternion
1312
+ export function AxisAngle2Rot(axis: vector, angle: number): quaternion
1237
1313
 
1238
1314
  /**
1239
1315
  * Returns an integer that is the Text, Base64 decoded as a big endian integer.
1240
1316
  * Returns zero if Text is longer then 8 characters. If Text contains fewer then 6 characters, the return value is unpredictable.
1317
+ * @deprecated Use 'llbase64.decode' and 'string.unpack' or 'buffer.readi32' instead.
1241
1318
  */
1242
- export function Base64ToInteger(Text: string): number
1319
+ export function Base64ToInteger(text: string): number
1243
1320
 
1244
1321
  /**
1245
1322
  * Converts a Base64 string to a conventional string.
1246
1323
  * If the conversion creates any unprintable characters, they are converted to question marks.
1324
+ * @deprecated Use 'llbase64.decode' instead.
1247
1325
  */
1248
- export function Base64ToString(Text: string): string
1326
+ export function Base64ToString(text: string): string
1249
1327
 
1250
1328
  /**
1251
1329
  * De-links all prims in the link set.
@@ -1257,20 +1335,20 @@ declare namespace ll {
1257
1335
  * De-links the prim with the given link number.
1258
1336
  * Requires the PERMISSION_CHANGE_LINKS runtime permission.
1259
1337
  */
1260
- export function BreakLink(LinkNumber: number): void
1338
+ export function BreakLink(linkNumber: number): void
1261
1339
 
1262
1340
  /** Create a list from a string of comma separated values specified in Text. */
1263
- export function CSV2List(Text: string): string[]
1341
+ export function CSV2List(text: string): string[]
1264
1342
 
1265
1343
  /**
1266
1344
  * Casts a ray into the physics world from 'start' to 'end' and returns data according to details in Options.
1267
1345
  * Reports collision data for intersections with objects.
1268
1346
  * Return 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.
1269
1347
  */
1270
- export function CastRay(Start: vector, End: vector, Options: list): list
1348
+ export function CastRay(start: vector, end: vector, options: list): list
1271
1349
 
1272
1350
  /** Returns smallest integer value >= Value. */
1273
- export function Ceil(Value: number): number
1351
+ export function Ceil(value: number): number
1274
1352
 
1275
1353
  /** Returns a single character string that is the representation of the unicode value. */
1276
1354
  export function Char(value: number): string
@@ -1281,62 +1359,73 @@ declare namespace ll {
1281
1359
  */
1282
1360
  export function ClearCameraParams(): void
1283
1361
 
1284
- export function ClearExperience(AgentID: uuid, ExperienceID: uuid): void
1362
+ /** @deprecated */
1363
+ export function ClearExperience(agentId: uuid, experienceId: uuid): void
1285
1364
 
1286
- export function ClearExperiencePermissions(AgentID: uuid): void
1365
+ /** @deprecated */
1366
+ export function ClearExperiencePermissions(agentId: uuid): void
1287
1367
 
1288
1368
  /**
1289
1369
  * Clears (deletes) the media and all parameters from the given Face on the linked prim.
1290
1370
  * Returns an integer that is a STATUS_* flag, which details the success/failure of the operation.
1291
1371
  */
1292
- export function ClearLinkMedia(Link: number, Face: number): number
1372
+ export function ClearLinkMedia(link: number, face: number): number
1293
1373
 
1294
1374
  /**
1295
1375
  * Clears (deletes) the media and all parameters from the given Face.
1296
1376
  * Returns an integer that is a STATUS_* flag which details the success/failure of the operation.
1297
1377
  */
1298
- export function ClearPrimMedia(Face: number): number
1378
+ export function ClearPrimMedia(face: number): number
1299
1379
 
1300
- /** This function is deprecated. */
1301
- export function CloseRemoteDataChannel(ChannelID: uuid): void
1380
+ /**
1381
+ * This function is deprecated.
1382
+ * @deprecated
1383
+ */
1384
+ export function CloseRemoteDataChannel(channelId: uuid): void
1302
1385
 
1303
- /** Returns the cloud density at the object's position + Offset. */
1304
- export function Cloud(Offset: vector): number
1386
+ /**
1387
+ * Returns the cloud density at the object's position + Offset.
1388
+ * @deprecated
1389
+ */
1390
+ export function Cloud(offset: vector): number
1305
1391
 
1306
1392
  /** Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter. */
1307
- export function CollisionFilter(ObjectName: string, ObjectID: uuid, Accept: number): void
1393
+ export function CollisionFilter(objectName: string, objectId: uuid, accept: number): void
1308
1394
 
1309
1395
  /**
1310
1396
  * Suppress default collision sounds, replace default impact sounds with ImpactSound.
1311
1397
  * The ImpactSound must be in the object inventory.
1312
1398
  * Supply an empty string to suppress collision sounds.
1313
1399
  */
1314
- export function CollisionSound(ImpactSound: string, ImpactVolume: number): void
1400
+ export function CollisionSound(impactSound: string, impactVolume: number): void
1315
1401
 
1316
- /** Suppress default collision sprites, replace default impact sprite with ImpactSprite; found in the object inventory (empty string to just suppress). */
1317
- export function CollisionSprite(ImpactSprite: string): void
1402
+ /**
1403
+ * Suppress default collision sprites, replace default impact sprite with ImpactSprite; found in the object inventory (empty string to just suppress).
1404
+ * @deprecated
1405
+ */
1406
+ export function CollisionSprite(impactSprite: string): void
1318
1407
 
1319
1408
  /** Returns hex-encoded Hash string of Message using digest Algorithm. */
1320
- export function ComputeHash(Message: string, Algorithm: string): string
1409
+ export function ComputeHash(message: string, algorithm: string): string
1321
1410
 
1322
1411
  /** Returns the cosine of Theta (Theta in radians). */
1323
- export function Cos(Theta: number): number
1412
+ export function Cos(theta: number): number
1324
1413
 
1325
1414
  /**
1326
1415
  * Convert link-set to AI/Physics character.
1327
1416
  * Creates a path-finding entity, known as a "character", from the object containing the script. Required to activate use of path-finding functions.
1328
1417
  * Options is a list of key/value pairs.
1329
1418
  */
1330
- export function CreateCharacter(Options: list): void
1419
+ export function CreateCharacter(options: list): void
1331
1420
 
1332
1421
  /** 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. */
1333
- export function CreateKeyValue(Key: string, Value: string): uuid
1422
+ export function CreateKeyValue(key: string, value: string): uuid
1334
1423
 
1335
1424
  /**
1336
1425
  * Attempt to link the object the script is in, to target.
1337
1426
  * Requires the PERMISSION_CHANGE_LINKS runtime permission.
1338
1427
  */
1339
- export function CreateLink(TargetPrim: uuid, Parent: number): void
1428
+ export function CreateLink(targetPrim: uuid, parent: number): void
1340
1429
 
1341
1430
  /** Generates a damage event on the targeted agent or task. */
1342
1431
  export function Damage(target: uuid, damage: number, type: number): void
@@ -1351,30 +1440,30 @@ declare namespace ll {
1351
1440
  export function DeleteCharacter(): void
1352
1441
 
1353
1442
  /** 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. */
1354
- export function DeleteKeyValue(Key: string): uuid
1443
+ export function DeleteKeyValue(key: string): uuid
1355
1444
 
1356
1445
  /**
1357
1446
  * Removes the slice from start to end and returns the remainder of the list.
1358
1447
  * Remove a slice from the list and return the remainder, start and end are inclusive.
1359
1448
  * Using 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.
1360
1449
  * If 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.
1361
- * @indexArg Start
1362
- * @indexArg End
1450
+ * @indexArg start
1451
+ * @indexArg end
1363
1452
  */
1364
- export function DeleteSubList(Source: T[], Start: number, End: number): T[]
1453
+ export function DeleteSubList(source: T[], start: number, end: number): T[]
1365
1454
 
1366
1455
  /**
1367
1456
  * Removes the indicated sub-string and returns the result.
1368
1457
  * Start and End are inclusive.
1369
1458
  * Using 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.
1370
1459
  * If 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.
1371
- * @indexArg Start
1372
- * @indexArg End
1460
+ * @indexArg start
1461
+ * @indexArg end
1373
1462
  */
1374
- export function DeleteSubString(Source: string, Start: number, End: number): string
1463
+ export function DeleteSubString(source: string, start: number, end: number): string
1375
1464
 
1376
1465
  /** Derezzes an object previously rezzed by a script in this region. Returns TRUE on success or FALSE if the object could not be derezzed. */
1377
- export function DerezObject(ID: uuid, flags: number): number
1466
+ export function DerezObject(id: uuid, flags: number): number
1378
1467
 
1379
1468
  /**
1380
1469
  * Remove the object containing the script from the avatar.
@@ -1384,116 +1473,116 @@ declare namespace ll {
1384
1473
 
1385
1474
  /**
1386
1475
  * Returns a list containing the current damage for the event, the damage type and the original damage delivered.
1387
- * @indexArg Number
1476
+ * @indexArg number
1388
1477
  */
1389
- export function DetectedDamage(Number: number): list
1478
+ export function DetectedDamage(number: number): list
1390
1479
 
1391
1480
  /**
1392
1481
  * Returns the grab offset of a user touching the object.
1393
1482
  * Returns <0.0, 0.0, 0.0> if Number is not a valid object.
1394
- * @indexArg Number
1483
+ * @indexArg number
1395
1484
  */
1396
- export function DetectedGrab(Number: number): vector
1485
+ export function DetectedGrab(number: number): vector
1397
1486
 
1398
1487
  /**
1399
1488
  * Returns TRUE if detected object or agent Number has the same user group active as this object.
1400
1489
  * It will return FALSE if the object or agent is in the group, but the group is not active.
1401
- * @indexArg Number
1490
+ * @indexArg number
1402
1491
  */
1403
- export function DetectedGroup(Number: number): number
1492
+ export function DetectedGroup(number: number): number
1404
1493
 
1405
1494
  /**
1406
1495
  * Returns the key of detected object or avatar number.
1407
1496
  * Returns NULL_KEY if Number is not a valid index.
1408
- * @indexArg Number
1497
+ * @indexArg number
1409
1498
  */
1410
- export function DetectedKey(Number: number): uuid
1499
+ export function DetectedKey(number: number): uuid
1411
1500
 
1412
1501
  /**
1413
1502
  * Returns the link position of the triggered event for touches and collisions only.
1414
1503
  * 0 for a non-linked object, 1 for the root of a linked object, 2 for the first child, etc.
1415
- * @indexArg Number
1504
+ * @indexArg number
1416
1505
  */
1417
- export function DetectedLinkNumber(Number: number): number
1506
+ export function DetectedLinkNumber(number: number): number
1418
1507
 
1419
1508
  /**
1420
1509
  * Returns the name of detected object or avatar number.
1421
1510
  * Returns the name of detected object number.
1422
1511
  * Returns empty string if Number is not a valid index.
1423
- * @indexArg Number
1512
+ * @indexArg number
1424
1513
  */
1425
- export function DetectedName(Number: number): string
1514
+ export function DetectedName(number: number): string
1426
1515
 
1427
1516
  /**
1428
1517
  * Returns the key of detected object's owner.
1429
1518
  * Returns invalid key if Number is not a valid index.
1430
- * @indexArg Number
1519
+ * @indexArg number
1431
1520
  */
1432
- export function DetectedOwner(Number: number): uuid
1521
+ export function DetectedOwner(number: number): uuid
1433
1522
 
1434
1523
  /**
1435
1524
  * Returns the position of detected object or avatar number.
1436
1525
  * Returns <0.0, 0.0, 0.0> if Number is not a valid index.
1437
- * @indexArg Number
1526
+ * @indexArg number
1438
1527
  */
1439
- export function DetectedPos(Number: number): vector
1528
+ export function DetectedPos(number: number): vector
1440
1529
 
1441
1530
  /**
1442
1531
  * Returns the key for the rezzer of the detected object.
1443
- * @indexArg Number
1532
+ * @indexArg number
1444
1533
  */
1445
- export function DetectedRezzer(Number: number): uuid
1534
+ export function DetectedRezzer(number: number): uuid
1446
1535
 
1447
1536
  /**
1448
1537
  * Returns the rotation of detected object or avatar number.
1449
1538
  * Returns <0.0, 0.0, 0.0, 1.0> if Number is not a valid offset.
1450
- * @indexArg Number
1539
+ * @indexArg number
1451
1540
  */
1452
- export function DetectedRot(Number: number): quaternion
1541
+ export function DetectedRot(number: number): quaternion
1453
1542
 
1454
1543
  /**
1455
1544
  * Returns the surface bi-normal for a triggered touch event.
1456
1545
  * Returns a vector that is the surface bi-normal (tangent to the surface) where the touch event was triggered.
1457
- * @indexArg Index
1546
+ * @indexArg index
1458
1547
  */
1459
- export function DetectedTouchBinormal(Index: number): vector
1548
+ export function DetectedTouchBinormal(index: number): vector
1460
1549
 
1461
1550
  /**
1462
1551
  * Returns the index of the face where the avatar clicked in a triggered touch event.
1463
- * @indexArg Index
1552
+ * @indexArg index
1464
1553
  */
1465
- export function DetectedTouchFace(Index: number): number
1554
+ export function DetectedTouchFace(index: number): number
1466
1555
 
1467
1556
  /**
1468
1557
  * Returns the surface normal for a triggered touch event.
1469
1558
  * Returns a vector that is the surface normal (perpendicular to the surface) where the touch event was triggered.
1470
- * @indexArg Index
1559
+ * @indexArg index
1471
1560
  */
1472
- export function DetectedTouchNormal(Index: number): vector
1561
+ export function DetectedTouchNormal(index: number): vector
1473
1562
 
1474
1563
  /**
1475
1564
  * Returns the position, in region coordinates, where the object was touched in a triggered touch event.
1476
1565
  * Unless it is a HUD, in which case it returns the position relative to the attach point.
1477
- * @indexArg Index
1566
+ * @indexArg index
1478
1567
  */
1479
- export function DetectedTouchPos(Index: number): vector
1568
+ export function DetectedTouchPos(index: number): vector
1480
1569
 
1481
1570
  /**
1482
1571
  * Returns a vector that is the surface coordinates where the prim was touched.
1483
1572
  * The X and Y vector positions contain the horizontal (S) and vertical (T) face coordinates respectively.
1484
1573
  * Each component is in the interval [0.0, 1.0].
1485
1574
  * TOUCH_INVALID_TEXCOORD is returned if the surface coordinates cannot be determined (e.g. when the viewer does not support this function).
1486
- * @indexArg Index
1575
+ * @indexArg index
1487
1576
  */
1488
- export function DetectedTouchST(Index: number): vector
1577
+ export function DetectedTouchST(index: number): vector
1489
1578
 
1490
1579
  /**
1491
1580
  * Returns a vector that is the texture coordinates for where the prim was touched.
1492
1581
  * The X and Y vector positions contain the U and V face coordinates respectively.
1493
1582
  * TOUCH_INVALID_TEXCOORD is returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function).
1494
- * @indexArg Index
1583
+ * @indexArg index
1495
1584
  */
1496
- export function DetectedTouchUV(Index: number): vector
1585
+ export function DetectedTouchUV(index: number): vector
1497
1586
 
1498
1587
  /**
1499
1588
  * Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object.
@@ -1503,16 +1592,16 @@ declare namespace ll {
1503
1592
  * {
1504
1593
  * // ...do stuff with the agent
1505
1594
  * }
1506
- * @indexArg Number
1595
+ * @indexArg number
1507
1596
  */
1508
- export function DetectedType(Number: number): number
1597
+ export function DetectedType(number: number): number
1509
1598
 
1510
1599
  /**
1511
1600
  * Returns the velocity of the detected object Number.
1512
1601
  * Returns<0.0, 0.0, 0.0> if Number is not a valid offset.
1513
- * @indexArg Number
1602
+ * @indexArg number
1514
1603
  */
1515
- export function DetectedVel(Number: number): vector
1604
+ export function DetectedVel(number: number): vector
1516
1605
 
1517
1606
  /**
1518
1607
  * Shows a dialog box on the avatar's screen with the message.
@@ -1527,7 +1616,7 @@ declare namespace ll {
1527
1616
  * llDialog(who, "This shows only an OK button.", [], -192);
1528
1617
  * llDialog(who, "This chats so you can 'hear' it.", ["Hooray"], 0);
1529
1618
  */
1530
- export function Dialog(AvatarID: uuid, Text: string, Buttons: string[], Channel: number): void
1619
+ export function Dialog(avatarId: uuid, text: string, buttons: string[], channel: number): void
1531
1620
 
1532
1621
  /** Delete the object which holds the script. */
1533
1622
  export function Die(): void
@@ -1536,95 +1625,95 @@ declare namespace ll {
1536
1625
  * Returns the list as a single string, using Separator between the entries.
1537
1626
  * Write the list out as a single string, using Separator between values.
1538
1627
  */
1539
- export function DumpList2String(Source: list, Separator: string): string
1628
+ export function DumpList2String(source: list, separator: string): string
1540
1629
 
1541
1630
  /**
1542
1631
  * Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).
1543
1632
  * Returns 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.
1544
1633
  */
1545
- export function EdgeOfWorld(Position: vector, Direction: vector): number
1634
+ export function EdgeOfWorld(position: vector, direction: vector): number
1546
1635
 
1547
1636
  /**
1548
1637
  * Ejects AvatarID from land that you own.
1549
1638
  * Ejects AvatarID from land that the object owner (group or resident) owns.
1550
1639
  */
1551
- export function EjectFromLand(AvatarID: uuid): void
1640
+ export function EjectFromLand(avatarId: uuid): void
1552
1641
 
1553
1642
  /**
1554
1643
  * Sends email to Address with Subject and Message.
1555
1644
  * Sends an email to Address with Subject and Message.
1556
1645
  */
1557
- export function Email(Address: string, Subject: string, Text: string): void
1646
+ export function Email(address: string, subject: string, text: string): void
1558
1647
 
1559
1648
  /**
1560
1649
  * Returns an escaped/encoded version of url, replacing spaces with %20 etc.
1561
1650
  * Returns the string that is the URL-escaped version of URL (replacing spaces with %20, etc.).
1562
1651
  * This function returns the UTF-8 encoded escape codes for selected characters.
1563
1652
  */
1564
- export function EscapeURL(URL: string): string
1653
+ export function EscapeURL(url: string): string
1565
1654
 
1566
1655
  /**
1567
1656
  * Returns the rotation representation of the Euler angles.
1568
1657
  * Returns the rotation represented by the Euler Angle.
1569
1658
  */
1570
- export function Euler2Rot(Vector: vector): quaternion
1659
+ export function Euler2Rot(vector: vector): quaternion
1571
1660
 
1572
1661
  /**
1573
1662
  * Evade a specified target.
1574
1663
  * Characters 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.
1575
1664
  */
1576
- export function Evade(TargetID: uuid, Options: list): void
1665
+ export function Evade(targetId: uuid, options: list): void
1577
1666
 
1578
1667
  /**
1579
1668
  * Execute a character command.
1580
1669
  * Send a command to the path system.
1581
1670
  * Currently only supports stopping the current path-finding operation or causing the character to jump.
1582
1671
  */
1583
- export function ExecCharacterCmd(Command: number, Options: list): void
1672
+ export function ExecCharacterCmd(command: number, options: list): void
1584
1673
 
1585
1674
  /**
1586
1675
  * Returns the positive version of Value.
1587
1676
  * Returns the absolute value of Value.
1588
1677
  */
1589
- export function Fabs(Value: number): number
1678
+ export function Fabs(value: number): number
1590
1679
 
1591
1680
  /** Searches the text of a cached notecard for lines containing the given pattern and returns the number of matches found through a dataserver event. */
1592
- export function FindNotecardTextCount(NotecardName: string, Pattern: string, Options: list): uuid
1681
+ export function FindNotecardTextCount(notecardName: string, pattern: string, options: list): uuid
1593
1682
 
1594
1683
  /**
1595
1684
  * Searches the text of a cached notecard for lines containing the given pattern. Returns a list of line numbers and column where a match is found. If the notecard is not inthe cache it returns a list containing a single entry of NAK. If no matches are found anempty list is returned.
1596
- * @indexArg StartMatch
1685
+ * @indexArg startMatch
1597
1686
  * @indexReturn
1598
1687
  */
1599
1688
  export function FindNotecardTextSync(
1600
- NotecardName: string,
1601
- Pattern: string,
1602
- StartMatch: number,
1603
- Count: number,
1604
- Options: list,
1689
+ notecardName: string,
1690
+ pattern: string,
1691
+ startMatch: number,
1692
+ count: number,
1693
+ options: list,
1605
1694
  ): list
1606
1695
 
1607
1696
  /**
1608
1697
  * Flee from a point.
1609
1698
  * Directs a character (llCreateCharacter) to keep away from a defined position in the region or adjacent regions.
1610
1699
  */
1611
- export function FleeFrom(Source: vector, Distance: number, Options: list): void
1700
+ export function FleeFrom(source: vector, distance: number, options: list): void
1612
1701
 
1613
1702
  /** Returns largest integer value <= Value. */
1614
- export function Floor(Value: number): number
1703
+ export function Floor(value: number): number
1615
1704
 
1616
1705
  /**
1617
1706
  * If Enable is TRUE any avatar that sits on this object is forced into mouse-look mode.
1618
1707
  * After calling this function with Enable set to TRUE, any agent sitting down on the prim will be forced into mouse-look.
1619
1708
  * Just 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.
1620
1709
  */
1621
- export function ForceMouselook(Enable: number): void
1710
+ export function ForceMouselook(enable: number): void
1622
1711
 
1623
1712
  /**
1624
1713
  * Returns a pseudo random number in the range [0, Magnitude] or [Magnitude, 0].
1625
1714
  * Returns a pseudo-random number between [0, Magnitude].
1626
1715
  */
1627
- export function Frand(Magnitude: number): number
1716
+ export function Frand(magnitude: number): number
1628
1717
 
1629
1718
  /**
1630
1719
  * Generates a key (SHA-1 hash) using UUID generation to create a unique key.
@@ -1644,61 +1733,61 @@ declare namespace ll {
1644
1733
  * 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.
1645
1734
  * Returns information about the given agent ID as a bit-field of agent info constants.
1646
1735
  */
1647
- export function GetAgentInfo(AvatarID: uuid): number
1736
+ export function GetAgentInfo(avatarId: uuid): number
1648
1737
 
1649
1738
  /**
1650
1739
  * Returns the language code of the preferred interface language of the avatar.
1651
1740
  * Returns a string that is the language code of the preferred interface language of the resident.
1652
1741
  */
1653
- export function GetAgentLanguage(AvatarID: uuid): string
1742
+ export function GetAgentLanguage(avatarId: uuid): string
1654
1743
 
1655
1744
  /**
1656
1745
  * Requests a list of agents currently in the region, limited by the scope parameter.
1657
1746
  * Returns 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
1658
1747
  */
1659
- export function GetAgentList(Scope: number, Options: list): uuid[]
1748
+ export function GetAgentList(scope: number, options: list): uuid[]
1660
1749
 
1661
1750
  /**
1662
1751
  * 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.
1663
1752
  * If the agent is in the same region as the object, returns the size of the avatar.
1664
1753
  */
1665
- export function GetAgentSize(AvatarID: uuid): vector
1754
+ export function GetAgentSize(avatarId: uuid): vector
1666
1755
 
1667
1756
  /**
1668
1757
  * Returns the alpha value of Face.
1669
1758
  * Returns the 'alpha' of the given face. If face is ALL_SIDES the value returned is the mean average of all faces.
1670
1759
  */
1671
- export function GetAlpha(Face: number): number
1760
+ export function GetAlpha(face: number): number
1672
1761
 
1673
1762
  /**
1674
1763
  * Returns the name of the currently playing locomotion animation for the avatar id.
1675
1764
  * Returns the currently playing animation for the specified avatar ID.
1676
1765
  */
1677
- export function GetAnimation(AvatarID: uuid): string
1766
+ export function GetAnimation(avatarId: uuid): string
1678
1767
 
1679
1768
  /**
1680
1769
  * Returns a list of keys of playing animations for an avatar.
1681
1770
  * Returns a list of keys of all playing animations for the specified avatar ID.
1682
1771
  */
1683
- export function GetAnimationList(AvatarID: uuid): uuid[]
1772
+ export function GetAnimationList(avatarId: uuid): uuid[]
1684
1773
 
1685
1774
  /**
1686
1775
  * Returns a string that is the name of the animation that is used for the specified animation state.
1687
1776
  * Requires the PERMISSION_OVERRIDE_ANIMATIONS or PERMISSION_TRIGGER_ANIMATION runtime permission (automatically granted to attached objects).
1688
1777
  */
1689
- export function GetAnimationOverride(AnimationState: string): string
1778
+ export function GetAnimationOverride(animationState: string): string
1690
1779
 
1691
1780
  /** Returns the object's attachment point, or 0 if not attached. */
1692
1781
  export function GetAttached(): number
1693
1782
 
1694
1783
  /** Returns a list of keys of all visible (not HUD) attachments on the avatar identified by the ID argument */
1695
- export function GetAttachedList(ID: uuid): uuid[]
1784
+ export function GetAttachedList(id: uuid): uuid[]
1696
1785
 
1697
1786
  /** Retrieves a list of attachments on an avatar. */
1698
- export function GetAttachedListFiltered(AgentID: uuid, Options: list): uuid[]
1787
+ export function GetAttachedListFiltered(agentId: uuid, options: list): uuid[]
1699
1788
 
1700
1789
  /** 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 ]. */
1701
- export function GetBoundingBox(ID: uuid): vector[]
1790
+ export function GetBoundingBox(id: uuid): vector[]
1702
1791
 
1703
1792
  /** 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. */
1704
1793
  export function GetCameraAspect(): number
@@ -1722,13 +1811,13 @@ declare namespace ll {
1722
1811
  * Get the closest navigable point to the point provided.
1723
1812
  * The 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.
1724
1813
  */
1725
- export function GetClosestNavPoint(Point: vector, Options: list): vector[]
1814
+ export function GetClosestNavPoint(point: vector, options: list): vector[]
1726
1815
 
1727
1816
  /**
1728
1817
  * Returns the color on Face.
1729
1818
  * Returns 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.
1730
1819
  */
1731
- export function GetColor(Face: number): vector
1820
+ export function GetColor(face: number): vector
1732
1821
 
1733
1822
  /**
1734
1823
  * Returns a key for the creator of the prim.
@@ -1749,24 +1838,25 @@ declare namespace ll {
1749
1838
  export function GetDayOffset(): number
1750
1839
 
1751
1840
  /** 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. */
1752
- export function GetDisplayName(AvatarID: uuid): string
1841
+ export function GetDisplayName(avatarId: uuid): string
1753
1842
 
1754
1843
  /** Returns how much energy is in the object as a percentage of maximum. */
1755
1844
  export function GetEnergy(): number
1756
1845
 
1757
1846
  /** Returns a string with the requested data about the region. */
1758
- export function GetEnv(DataRequest: string): string
1847
+ export function GetEnv(dataRequest: string): string
1759
1848
 
1760
1849
  /** Returns a string with the requested data about the region. */
1761
- export function GetEnvironment(Position: vector, EnvParams: number[]): list
1850
+ export function GetEnvironment(position: vector, envParams: number[]): list
1762
1851
 
1763
1852
  /** 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. */
1764
- export function GetExperienceDetails(ExperienceID: uuid): list
1853
+ export function GetExperienceDetails(experienceId: uuid): list
1765
1854
 
1766
1855
  /** 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. */
1767
- export function GetExperienceErrorMessage(Error: number): string
1856
+ export function GetExperienceErrorMessage(error: number): string
1768
1857
 
1769
- export function GetExperienceList(AgentID: uuid): uuid[]
1858
+ /** @deprecated */
1859
+ export function GetExperienceList(agentId: uuid): uuid[]
1770
1860
 
1771
1861
  /**
1772
1862
  * Returns the force (if the script is physical).
@@ -1799,53 +1889,53 @@ declare namespace ll {
1799
1889
  * Returns the value for header for request_id.
1800
1890
  * Returns a string that is the value of the Header for HTTPRequestID.
1801
1891
  */
1802
- export function GetHTTPHeader(HTTPRequestID: uuid, Header: string): string
1892
+ export function GetHTTPHeader(httpRequestId: uuid, header: string): string
1803
1893
 
1804
1894
  /** Returns the current health of an avatar or object in the region. */
1805
- export function GetHealth(ID: uuid): number
1895
+ export function GetHealth(id: uuid): number
1806
1896
 
1807
1897
  /** Returns the time at which the item was placed into this prim's inventory as a timestamp. */
1808
- export function GetInventoryAcquireTime(InventoryItem: string): string
1898
+ export function GetInventoryAcquireTime(inventoryItem: string): string
1809
1899
 
1810
1900
  /**
1811
1901
  * Returns a key for the creator of the inventory item.
1812
1902
  * This function returns the UUID of the creator of item. If item is not found in inventory, the object says "No item named 'name'".
1813
1903
  */
1814
- export function GetInventoryCreator(InventoryItem: string): uuid
1904
+ export function GetInventoryCreator(inventoryItem: string): uuid
1815
1905
 
1816
1906
  /** 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. */
1817
- export function GetInventoryDesc(InventoryItem: string): string
1907
+ export function GetInventoryDesc(inventoryItem: string): string
1818
1908
 
1819
1909
  /**
1820
1910
  * Returns the key that is the UUID of the inventory named.
1821
1911
  * Returns the key of the inventory named.
1822
1912
  */
1823
- export function GetInventoryKey(InventoryItem: string): uuid
1913
+ export function GetInventoryKey(inventoryItem: string): uuid
1824
1914
 
1825
1915
  /**
1826
1916
  * Returns the name of the inventory item of a given type, specified by index number.
1827
1917
  * Use the inventory constants INVENTORY_* to specify the type.
1828
- * @indexArg Index
1918
+ * @indexArg index
1829
1919
  */
1830
- export function GetInventoryName(InventoryType: number, Index: number): string
1920
+ export function GetInventoryName(inventoryType: number, index: number): string
1831
1921
 
1832
1922
  /**
1833
1923
  * Returns the quantity of items of a given type (INVENTORY_* flag) in the prim's inventory.
1834
1924
  * Use the inventory constants INVENTORY_* to specify the type.
1835
1925
  */
1836
- export function GetInventoryNumber(InventoryType: number): number
1926
+ export function GetInventoryNumber(inventoryType: number): number
1837
1927
 
1838
1928
  /**
1839
1929
  * Returns the requested permission mask for the inventory item.
1840
1930
  * Returns 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 '<item>'", where "<item>" is item.
1841
1931
  */
1842
- export function GetInventoryPermMask(InventoryItem: string, BitMask: number): number
1932
+ export function GetInventoryPermMask(inventoryItem: string, bitMask: number): number
1843
1933
 
1844
1934
  /**
1845
1935
  * Returns the type of the named inventory item.
1846
1936
  * Like all inventory functions, llGetInventoryType is case-sensitive.
1847
1937
  */
1848
- export function GetInventoryType(InventoryItem: string): number
1938
+ export function GetInventoryType(inventoryItem: string): number
1849
1939
 
1850
1940
  /**
1851
1941
  * Returns the key of the prim the script is attached to.
@@ -1857,22 +1947,22 @@ declare namespace ll {
1857
1947
  * Returns the key of the land owner, returns NULL_KEY if public.
1858
1948
  * Returns the key of the land owner at Position, or NULL_KEY if public.
1859
1949
  */
1860
- export function GetLandOwnerAt(Position: vector): uuid
1950
+ export function GetLandOwnerAt(position: vector): uuid
1861
1951
 
1862
1952
  /**
1863
1953
  * Returns the key of the linked prim LinkNumber.
1864
1954
  * Returns the key of LinkNumber in the link set.
1865
1955
  */
1866
- export function GetLinkKey(LinkNumber: number): uuid
1956
+ export function GetLinkKey(linkNumber: number): uuid
1867
1957
 
1868
1958
  /** 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. Returns an empty list if no media exists on the face. */
1869
- export function GetLinkMedia(LinkNumber: number, Face: number, Parameters: number[]): list
1959
+ export function GetLinkMedia(linkNumber: number, face: number, parameters: number[]): list
1870
1960
 
1871
1961
  /**
1872
1962
  * Returns the name of LinkNumber in a link set.
1873
1963
  * Returns the name of LinkNumber the link set.
1874
1964
  */
1875
- export function GetLinkName(LinkNumber: number): string
1965
+ export function GetLinkName(linkNumber: number): string
1876
1966
 
1877
1967
  /**
1878
1968
  * 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.).
@@ -1884,7 +1974,7 @@ declare namespace ll {
1884
1974
  * Returns the number of sides of the specified linked prim.
1885
1975
  * Returns an integer that is the number of faces (or sides) of the prim link.
1886
1976
  */
1887
- export function GetLinkNumberOfSides(LinkNumber: number): number
1977
+ export function GetLinkNumberOfSides(linkNumber: number): number
1888
1978
 
1889
1979
  /**
1890
1980
  * Returns the list of primitive attributes requested in the Parameters list for LinkNumber.
@@ -1892,23 +1982,25 @@ declare namespace ll {
1892
1982
  * * Supplying a prim or object flag will return that flag's attributes.
1893
1983
  * * Face flags require the user to also supply a face index parameter.
1894
1984
  */
1895
- export function GetLinkPrimitiveParams(LinkNumber: number, Parameters: number[]): list
1985
+ export function GetLinkPrimitiveParams(linkNumber: number, parameters: number[]): list
1896
1986
 
1897
1987
  /** Returns the sit flags set on the specified prim in a linkset. */
1898
- export function GetLinkSitFlags(LinkNumber: number): number
1988
+ export function GetLinkSitFlags(linkNumber: number): number
1899
1989
 
1900
1990
  /**
1901
1991
  * 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).
1902
1992
  * Returns the type of the variable at Index in ListVariable.
1903
- * @indexArg Index
1993
+ * @deprecated Use 'typeof' instead.
1994
+ * @indexArg index
1904
1995
  */
1905
- export function GetListEntryType(ListVariable: list, Index: number): number
1996
+ export function GetListEntryType(listVariable: list, index: number): number
1906
1997
 
1907
1998
  /**
1908
1999
  * Returns the number of elements in the list.
1909
2000
  * Returns the number of elements in ListVariable.
2001
+ * @deprecated Use '#' or 'rawlen' instead. Metatable support.
1910
2002
  */
1911
- export function GetListLength(ListVariable: list): number
2003
+ export function GetListLength(listVariable: list): number
1912
2004
 
1913
2005
  /**
1914
2006
  * Returns the position relative to the root.
@@ -1953,29 +2045,29 @@ declare namespace ll {
1953
2045
  * Fetch the next queued email with that matches the given address and/or subject, via the email event.
1954
2046
  * If the parameters are blank, they are not used for filtering.
1955
2047
  */
1956
- export function GetNextEmail(Address: string, Subject: string): void
2048
+ export function GetNextEmail(address: string, subject: string): void
1957
2049
 
1958
2050
  /**
1959
2051
  * Returns LineNumber from NotecardName via the dataserver event. The line index starts at zero in LSL, one in Lua.
1960
2052
  * If the requested line is passed the end of the note-card the dataserver event will return the constant EOF string.
1961
2053
  * The key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter.
1962
- * @indexArg LineNumber
2054
+ * @indexArg lineNumber
1963
2055
  */
1964
- export function GetNotecardLine(NotecardName: string, LineNumber: number): uuid
2056
+ export function GetNotecardLine(notecardName: string, lineNumber: number): uuid
1965
2057
 
1966
2058
  /**
1967
2059
  * Returns LineNumber from NotecardName. The line index starts at zero in LSL, one in Lua.
1968
2060
  * If the requested line is past the end of the note-card the return value will be set to the constant EOF string.
1969
2061
  * If the note-card is not cached on the simulator the return value is the NAK string.
1970
- * @indexArg LineNumber
2062
+ * @indexArg lineNumber
1971
2063
  */
1972
- export function GetNotecardLineSync(NotecardName: string, LineNumber: number): string
2064
+ export function GetNotecardLineSync(notecardName: string, lineNumber: number): string
1973
2065
 
1974
2066
  /**
1975
2067
  * Returns the number of lines contained within a notecard via the dataserver event.
1976
2068
  * The key returned by this function is a query ID for identifying the dataserver reply.
1977
2069
  */
1978
- export function GetNumberOfNotecardLines(NotecardName: string): uuid
2070
+ export function GetNumberOfNotecardLines(notecardName: string): uuid
1979
2071
 
1980
2072
  /**
1981
2073
  * Returns the number of prims in a link set the script is attached to.
@@ -2005,19 +2097,19 @@ declare namespace ll {
2005
2097
  * Returns a list of object details specified in the Parameters list for the object or avatar in the region with key ID.
2006
2098
  * Parameters are specified by the OBJECT_* constants.
2007
2099
  */
2008
- export function GetObjectDetails(ID: uuid, Parameters: number[]): list
2100
+ export function GetObjectDetails(id: uuid, parameters: number[]): list
2009
2101
 
2010
2102
  /**
2011
2103
  * Returns the key of the linked prim link_no in a linkset.
2012
2104
  * Returns the key of link_no in the link set specified by id.
2013
2105
  */
2014
- export function GetObjectLinkKey(id: uuid, link_no: number): uuid
2106
+ export function GetObjectLinkKey(id: uuid, linkNo: number): uuid
2015
2107
 
2016
2108
  /**
2017
2109
  * Returns the mass of the avatar or object in the region.
2018
2110
  * Gets the mass of the object or avatar corresponding to ID.
2019
2111
  */
2020
- export function GetObjectMass(ID: uuid): number
2112
+ export function GetObjectMass(id: uuid): number
2021
2113
 
2022
2114
  /**
2023
2115
  * Returns the name of the prim which the script is attached to.
@@ -2026,13 +2118,13 @@ declare namespace ll {
2026
2118
  export function GetObjectName(): string
2027
2119
 
2028
2120
  /** Returns the permission mask of the requested category for the object. */
2029
- export function GetObjectPermMask(Category: number): number
2121
+ export function GetObjectPermMask(category: number): number
2030
2122
 
2031
2123
  /**
2032
2124
  * Returns the total number of prims for an object in the region.
2033
2125
  * Returns the prim count for any object id in the same region.
2034
2126
  */
2035
- export function GetObjectPrimCount(ObjectID: uuid): number
2127
+ export function GetObjectPrimCount(objectId: uuid): number
2036
2128
 
2037
2129
  /**
2038
2130
  * Returns the rotation velocity in radians per second.
@@ -2050,26 +2142,26 @@ declare namespace ll {
2050
2142
  * Returns the owner of ObjectID.
2051
2143
  * Returns the key for the owner of object ObjectID.
2052
2144
  */
2053
- export function GetOwnerKey(ObjectID: uuid): uuid
2145
+ export function GetOwnerKey(objectId: uuid): uuid
2054
2146
 
2055
2147
  /**
2056
2148
  * Returns a list of parcel details specified in the ParcelDetails list for the parcel at Position.
2057
2149
  * Parameters is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA, _ID, _SEE_AVATARS.
2058
2150
  * Returns a list that is the parcel details specified in ParcelDetails (in the same order) for the parcel at Position.
2059
2151
  */
2060
- export function GetParcelDetails(Position: vector, ParcelDetails: number[]): list
2152
+ export function GetParcelDetails(position: vector, parcelDetails: number[]): list
2061
2153
 
2062
2154
  /**
2063
2155
  * Returns a mask of the parcel flags (PARCEL_FLAG_*) for the parcel that includes the point Position.
2064
2156
  * Returns a bit-field specifying the parcel flags (PARCEL_FLAG_*) for the parcel at Position.
2065
2157
  */
2066
- export function GetParcelFlags(Position: vector): number
2158
+ export function GetParcelFlags(position: vector): number
2067
2159
 
2068
2160
  /**
2069
2161
  * Returns the maximum number of prims allowed on the parcel at Position for a given scope.
2070
2162
  * The scope may be set to an individual parcel or the combined resources of all parcels with the same ownership in the region.
2071
2163
  */
2072
- export function GetParcelMaxPrims(Position: vector, SimWide: number): number
2164
+ export function GetParcelMaxPrims(position: vector, simWide: number): number
2073
2165
 
2074
2166
  /**
2075
2167
  * Gets the streaming audio URL for the parcel object is on.
@@ -2084,7 +2176,7 @@ declare namespace ll {
2084
2176
  * If SimWide is TRUE, it returns the total number of objects for all parcels with matching ownership in the category specified.
2085
2177
  * If SimWide is FALSE, it returns the number of objects on this specific parcel in the category specified
2086
2178
  */
2087
- export function GetParcelPrimCount(Position: vector, Category: number, SimWide: number): number
2179
+ export function GetParcelPrimCount(position: vector, category: number, simWide: number): number
2088
2180
 
2089
2181
  /**
2090
2182
  * Returns a list of up to 100 residents who own objects on the parcel at Position, with per-owner land impact totals.
@@ -2092,7 +2184,7 @@ declare namespace ll {
2092
2184
  * The list is formatted as [ key agentKey1, integer agentLI1, key agentKey2, integer agentLI2, ... ], sorted by agent key.
2093
2185
  * The integers are the combined land impacts of the objects owned by the corresponding agents.
2094
2186
  */
2095
- export function GetParcelPrimOwners(Position: vector): list
2187
+ export function GetParcelPrimOwners(position: vector): list
2096
2188
 
2097
2189
  /** 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 */
2098
2190
  export function GetPermissions(): number
@@ -2113,13 +2205,13 @@ declare namespace ll {
2113
2205
  export function GetPos(): vector
2114
2206
 
2115
2207
  /** 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. */
2116
- export function GetPrimMediaParams(Face: number, Parameters: number[]): list
2208
+ export function GetPrimMediaParams(face: number, parameters: number[]): list
2117
2209
 
2118
2210
  /**
2119
2211
  * Returns the primitive parameters specified in the parameters list.
2120
2212
  * Returns primitive parameters specified in the Parameters list.
2121
2213
  */
2122
- export function GetPrimitiveParams(Parameters: number[]): list
2214
+ export function GetPrimitiveParams(parameters: number[]): list
2123
2215
 
2124
2216
  /**
2125
2217
  * Returns the number of avatars in the region.
@@ -2182,7 +2274,7 @@ declare namespace ll {
2182
2274
  * 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).
2183
2275
  * Returns the render material of a face, if it is found in object inventory, its key otherwise.
2184
2276
  */
2185
- export function GetRenderMaterial(Face: number): string
2277
+ export function GetRenderMaterial(face: number): string
2186
2278
 
2187
2279
  /**
2188
2280
  * Returns the position (in region coordinates) of the root prim of the object which the script is attached to.
@@ -2224,10 +2316,10 @@ declare namespace ll {
2224
2316
  * Returns TRUE if the script named is running.
2225
2317
  * Returns TRUE if ScriptName is running.
2226
2318
  */
2227
- export function GetScriptState(ScriptName: string): number
2319
+ export function GetScriptState(scriptName: string): number
2228
2320
 
2229
2321
  /** Returns a float that is the requested statistic. */
2230
- export function GetSimStats(StatType: number): number
2322
+ export function GetSimStats(statType: number): number
2231
2323
 
2232
2324
  /**
2233
2325
  * Returns the host-name of the machine which the script is running on.
@@ -2247,19 +2339,19 @@ declare namespace ll {
2247
2339
  */
2248
2340
  export function GetStartString(): string
2249
2341
 
2250
- export function GetStaticPath(Start: vector, End: vector, Radius: number, Parameters: list): list
2342
+ export function GetStaticPath(start: vector, end: vector, radius: number, parameters: list): list
2251
2343
 
2252
2344
  /** Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to. */
2253
- export function GetStatus(StatusFlag: number): number
2345
+ export function GetStatus(statusFlag: number): number
2254
2346
 
2255
2347
  /**
2256
2348
  * Returns a sub-string from String, in a range specified by the Start and End indices (inclusive).
2257
2349
  * Using 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.
2258
2350
  * If Start is greater than End, the sub string is the exclusion of the entries.
2259
- * @indexArg Start
2260
- * @indexArg End
2351
+ * @indexArg start
2352
+ * @indexArg end
2261
2353
  */
2262
- export function GetSubString(String: string, Start: number, End: number): string
2354
+ export function GetSubString(string: string, start: number, end: number): string
2263
2355
 
2264
2356
  /**
2265
2357
  * Returns a normalized vector of the direction of the sun in the parcel.
@@ -2274,19 +2366,19 @@ declare namespace ll {
2274
2366
  * 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).
2275
2367
  * Returns the texture of a face, if it is found in object inventory, its key otherwise.
2276
2368
  */
2277
- export function GetTexture(Face: number): string
2369
+ export function GetTexture(face: number): string
2278
2370
 
2279
2371
  /** Returns the texture offset of face in the x and y components of a vector. */
2280
- export function GetTextureOffset(Face: number): vector
2372
+ export function GetTextureOffset(face: number): vector
2281
2373
 
2282
2374
  /** Returns the texture rotation of side. */
2283
- export function GetTextureRot(Face: number): number
2375
+ export function GetTextureRot(face: number): number
2284
2376
 
2285
2377
  /**
2286
2378
  * Returns the texture scale of side in the x and y components of a vector.
2287
2379
  * Returns the texture scale of a side in the x and y components of a vector.
2288
2380
  */
2289
- export function GetTextureScale(Face: number): vector
2381
+ export function GetTextureScale(face: number): vector
2290
2382
 
2291
2383
  /** Returns the time in seconds since the last region reset, script reset, or call to either llResetTime or llGetAndResetTime. */
2292
2384
  export function GetTime(): number
@@ -2313,7 +2405,7 @@ declare namespace ll {
2313
2405
  export function GetUsedMemory(): number
2314
2406
 
2315
2407
  /** 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. */
2316
- export function GetUsername(AvatarID: uuid): string
2408
+ export function GetUsername(avatarId: uuid): string
2317
2409
 
2318
2410
  /**
2319
2411
  * Returns the velocity of the object.
@@ -2322,7 +2414,7 @@ declare namespace ll {
2322
2414
  export function GetVel(): vector
2323
2415
 
2324
2416
  /** Returns a list of the current value for each requested visual parameter. */
2325
- export function GetVisualParams(ID: uuid, Parameters: (number | string)[]): (number | "")[]
2417
+ export function GetVisualParams(id: uuid, parameters: (number | string)[]): (number | "")[]
2326
2418
 
2327
2419
  /**
2328
2420
  * Returns the time in seconds since midnight California Pacific time (PST/PDT).
@@ -2332,54 +2424,54 @@ declare namespace ll {
2332
2424
 
2333
2425
  /** Give InventoryItems to the specified agent as a new folder of items, as permitted by the permissions system. The target must be an agent. */
2334
2426
  export function GiveAgentInventory(
2335
- AgentID: uuid,
2336
- FolderName: string,
2337
- InventoryItems: string[],
2338
- Options: list,
2427
+ agentId: uuid,
2428
+ folderName: string,
2429
+ inventoryItems: string[],
2430
+ options: list,
2339
2431
  ): number
2340
2432
 
2341
2433
  /**
2342
2434
  * Give InventoryItem to destination represented by TargetID, as permitted by the permissions system.
2343
2435
  * TargetID may be any agent or an object in the same region.
2344
2436
  */
2345
- export function GiveInventory(TargetID: uuid, InventoryItem: string): void
2437
+ export function GiveInventory(targetId: uuid, inventoryItem: string): void
2346
2438
 
2347
2439
  /**
2348
2440
  * Give InventoryItems to destination (represented by TargetID) as a new folder of items, as permitted by the permissions system.
2349
2441
  * TargetID 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).
2350
2442
  */
2351
2443
  export function GiveInventoryList(
2352
- TargetID: uuid,
2353
- FolderName: string,
2354
- InventoryItems: string[],
2444
+ targetId: uuid,
2445
+ folderName: string,
2446
+ inventoryItems: string[],
2355
2447
  ): void
2356
2448
 
2357
2449
  /**
2358
2450
  * Transfers Amount of L$ from script owner to AvatarID.
2359
2451
  * This call will silently fail if PERMISSION_DEBIT has not been granted.
2360
2452
  */
2361
- export function GiveMoney(AvatarID: uuid, Amount: number): number
2453
+ export function GiveMoney(avatarId: uuid, amount: number): number
2362
2454
 
2363
2455
  /** Rez directly off of a UUID if owner has god-bit set. */
2364
- export function GodLikeRezObject(InventoryItemID: uuid, Position: vector): void
2456
+ export function GodLikeRezObject(inventoryItemId: uuid, position: vector): void
2365
2457
 
2366
2458
  /**
2367
2459
  * Returns the ground height at the object position + offset.
2368
2460
  * Returns the ground height at the object's position + Offset.
2369
2461
  */
2370
- export function Ground(Offset: vector): number
2462
+ export function Ground(offset: vector): number
2371
2463
 
2372
2464
  /**
2373
2465
  * Returns the ground contour direction below the object position + Offset.
2374
2466
  * Returns the ground contour at the object's position + Offset.
2375
2467
  */
2376
- export function GroundContour(Offset: vector): vector
2468
+ export function GroundContour(offset: vector): vector
2377
2469
 
2378
2470
  /**
2379
2471
  * Returns the ground normal below the object position + offset.
2380
2472
  * Returns the ground contour at the object's position + Offset.
2381
2473
  */
2382
- export function GroundNormal(Offset: vector): vector
2474
+ export function GroundNormal(offset: vector): vector
2383
2475
 
2384
2476
  /**
2385
2477
  * 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).
@@ -2387,25 +2479,25 @@ declare namespace ll {
2387
2479
  * The height is above ground level if iWater is FALSE or above the higher of land and water if iWater is TRUE.
2388
2480
  * Do not use with vehicles. Only works in physics-enabled objects.
2389
2481
  */
2390
- export function GroundRepel(Height: number, Water: number, Tau: number): void
2482
+ export function GroundRepel(height: number, water: number, tau: number): void
2391
2483
 
2392
2484
  /**
2393
2485
  * Returns the ground slope below the object position + Offset.
2394
2486
  * Returns the ground slope at the object position + Offset.
2395
2487
  */
2396
- export function GroundSlope(Offset: vector): vector
2488
+ export function GroundSlope(offset: vector): vector
2397
2489
 
2398
2490
  /** Returns the base64-encoded hashed message authentication code (HMAC), of Message using PEM-formatted Key and digest Algorithm (md5, sha1, sha224, sha256, sha384, sha512). */
2399
- export function HMAC(Key: string, Message: string, Algorithm: string): string
2491
+ export function HMAC(key: string, message: string, algorithm: string): string
2400
2492
 
2401
2493
  /**
2402
2494
  * Sends an HTTP request to the specified URL with the Body of the request and Parameters.
2403
2495
  * Returns a key that is a handle identifying the HTTP request made.
2404
2496
  */
2405
- export function HTTPRequest(URL: string, Parameters: list, Body: string): uuid
2497
+ export function HTTPRequest(url: string, parameters: list, body: string): uuid
2406
2498
 
2407
2499
  /** 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. */
2408
- export function HTTPResponse(HTTPRequestID: uuid, Status: number, Body: string): void
2500
+ export function HTTPResponse(httpRequestId: uuid, status: number, body: string): void
2409
2501
 
2410
2502
  /** Calculates the 32bit hash value for the provided string. */
2411
2503
  export function Hash(value: string): number
@@ -2413,28 +2505,28 @@ declare namespace ll {
2413
2505
  /**
2414
2506
  * Inserts SourceVariable into TargetVariable at Position, and returns the result.
2415
2507
  * Inserts SourceVariable into TargetVariable at Position and returns the result. Note this does not alter TargetVariable.
2416
- * @indexArg Position
2508
+ * @indexArg position
2417
2509
  */
2418
2510
  export function InsertString(
2419
- TargetVariable: string,
2420
- Position: number,
2421
- SourceVariable: string,
2511
+ targetVariable: string,
2512
+ position: number,
2513
+ sourceVariable: string,
2422
2514
  ): string
2423
2515
 
2424
2516
  /**
2425
2517
  * IMs Text to the user identified.
2426
2518
  * Send Text to the user as an instant message.
2427
2519
  */
2428
- export function InstantMessage(AvatarID: uuid, Text: string): void
2520
+ export function InstantMessage(avatarId: uuid, text: string): void
2429
2521
 
2430
2522
  /**
2431
2523
  * Returns a string that is a Base64 big endian encode of Value.
2432
2524
  * Encodes the Value as an 8-character Base64 string.
2433
2525
  */
2434
- export function IntegerToBase64(Value: number): string
2526
+ export function IntegerToBase64(value: number): string
2435
2527
 
2436
2528
  /** Returns TRUE if avatar ID is a friend of the script owner. */
2437
- export function IsFriend(agent_id: uuid): number
2529
+ export function IsFriend(agentId: uuid): number
2438
2530
 
2439
2531
  /** Checks the face for a PBR render material. */
2440
2532
  export function IsLinkGLTFMaterial(link: number, face: number): number
@@ -2443,40 +2535,40 @@ declare namespace ll {
2443
2535
  * Converts the top level of the JSON string to a list.
2444
2536
  * @deprecated Use 'lljson.decode' instead.
2445
2537
  */
2446
- export function Json2List(JSON: string): list
2538
+ export function Json2List(json: string): list
2447
2539
 
2448
2540
  /**
2449
2541
  * Gets the value indicated by Specifiers from the JSON string.
2450
2542
  * @deprecated Use 'lljson.decode' instead. Also, the indices are zero-based.
2451
2543
  */
2452
- export function JsonGetValue(JSON: string, Specifiers: list): string
2544
+ export function JsonGetValue(json: string, specifiers: list): string
2453
2545
 
2454
2546
  /**
2455
2547
  * Returns a new JSON string that is the JSON given with the Value indicated by Specifiers set to Value.
2456
2548
  * @deprecated Use 'lljson.encode' instead. Also, the indices are zero-based.
2457
2549
  */
2458
- export function JsonSetValue(JSON: string, Specifiers: list, Value: string): string
2550
+ export function JsonSetValue(json: string, specifiers: list, value: string): string
2459
2551
 
2460
2552
  /**
2461
2553
  * Returns the type constant (JSON_*) for the value in JSON indicated by Specifiers.
2462
2554
  * @deprecated Use 'lljson.decode' and 'typeof' instead. Also, the indices are zero-based.
2463
2555
  */
2464
- export function JsonValueType(JSON: string, Specifiers: list): string
2556
+ export function JsonValueType(json: string, specifiers: list): string
2465
2557
 
2466
2558
  /**
2467
2559
  * 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.
2468
2560
  * For avatars, the returned name is the legacy name
2469
2561
  */
2470
- export function Key2Name(ID: uuid): string
2562
+ export function Key2Name(id: uuid): string
2471
2563
 
2472
2564
  /** 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. */
2473
2565
  export function KeyCountKeyValue(): uuid
2474
2566
 
2475
2567
  /**
2476
2568
  * 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.
2477
- * @indexArg First
2569
+ * @indexArg first
2478
2570
  */
2479
- export function KeysKeyValue(First: number, Count: number): uuid
2571
+ export function KeysKeyValue(first: number, count: number): uuid
2480
2572
 
2481
2573
  /** Converts a color from the linear colorspace to sRGB. */
2482
2574
  export function Linear2sRGB(color: vector): vector
@@ -2485,40 +2577,40 @@ declare namespace ll {
2485
2577
  * Adjusts the volume (0.0 - 1.0) of the currently playing sound attached to the link.
2486
2578
  * This function has no effect on sounds started with llTriggerSound.
2487
2579
  */
2488
- export function LinkAdjustSoundVolume(LinkNumber: number, Volume: number): void
2580
+ export function LinkAdjustSoundVolume(linkNumber: number, volume: number): void
2489
2581
 
2490
2582
  /**
2491
2583
  * Creates a particle system in prim LinkNumber based on Rules. An empty list removes a particle system from object.
2492
2584
  * List format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].
2493
2585
  * This is identical to llParticleSystem except that it applies to a specified linked prim and not just the prim the script is in.
2494
2586
  */
2495
- export function LinkParticleSystem(LinkNumber: number, Rules: list): void
2587
+ export function LinkParticleSystem(linkNumber: number, rules: list): void
2496
2588
 
2497
2589
  /**
2498
2590
  * Plays Sound, once or looping, at Volume (0.0 - 1.0). The sound may be attached to the link or triggered at its location.
2499
2591
  * Only 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.
2500
2592
  */
2501
2593
  export function LinkPlaySound(
2502
- LinkNumber: number,
2503
- Sound: string,
2504
- Volume: number,
2505
- Flags: number,
2594
+ linkNumber: number,
2595
+ sound: string,
2596
+ volume: number,
2597
+ flags: number,
2506
2598
  ): void
2507
2599
 
2508
2600
  /** Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius around the link. */
2509
- export function LinkSetSoundQueueing(LinkNumber: number, QueueEnable: number): void
2601
+ export function LinkSetSoundQueueing(linkNumber: number, queueEnable: number): void
2510
2602
 
2511
2603
  /** Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius around the link. */
2512
- export function LinkSetSoundRadius(LinkNumber: number, radius: number): void
2604
+ export function LinkSetSoundRadius(linkNumber: number, radius: number): void
2513
2605
 
2514
2606
  /**
2515
2607
  * Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it.
2516
2608
  * Set the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation.
2517
2609
  */
2518
- export function LinkSitTarget(LinkNumber: number, Offset: vector, Rotation: quaternion): void
2610
+ export function LinkSitTarget(linkNumber: number, offset: vector, rotation: quaternion): void
2519
2611
 
2520
2612
  /** Stops playback of the currently attached sound on a link. */
2521
- export function LinkStopSound(LinkNumber: number): void
2613
+ export function LinkStopSound(linkNumber: number): void
2522
2614
 
2523
2615
  /** Returns the number of bytes remaining in the linkset's datastore. */
2524
2616
  export function LinksetDataAvailable(): number
@@ -2569,166 +2661,172 @@ declare namespace ll {
2569
2661
  * Creates a string of comma separated values from the list.
2570
2662
  * Create a string of comma separated values from the specified list.
2571
2663
  */
2572
- export function List2CSV(ListVariable: list): string
2664
+ export function List2CSV(listVariable: list): string
2573
2665
 
2574
2666
  /**
2575
2667
  * Copies the float at Index in the list.
2576
2668
  * Returns 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.
2577
- * @indexArg Index
2669
+ * @deprecated Use '[]' and 'tonumber' instead.
2670
+ * @indexArg index
2578
2671
  */
2579
- export function List2Float(ListVariable: list, Index: number): number
2672
+ export function List2Float(listVariable: list, index: number): number
2580
2673
 
2581
2674
  /**
2582
2675
  * Copies the integer at Index in the list.
2583
2676
  * Returns 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.
2584
- * @indexArg Index
2677
+ * @deprecated Use '[]', 'tonumber', and 'math.modf' instead.
2678
+ * @indexArg index
2585
2679
  */
2586
- export function List2Integer(ListVariable: list, Index: number): number
2680
+ export function List2Integer(listVariable: list, index: number): number
2587
2681
 
2588
2682
  /**
2589
2683
  * Converts either a strided list of key:value pairs to a JSON_OBJECT, or a list of values to a JSON_ARRAY.
2590
2684
  * @deprecated Use 'lljson.encode' instead.
2591
2685
  */
2592
- export function List2Json(JsonType: string, Values: list): string
2686
+ export function List2Json(jsonType: string, values: list): string
2593
2687
 
2594
2688
  /**
2595
2689
  * Copies the key at Index in the list.
2596
2690
  * Returns 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.
2597
- * @indexArg Index
2691
+ * @deprecated Use '[]' and 'touuid' instead.
2692
+ * @indexArg index
2598
2693
  */
2599
- export function List2Key(ListVariable: list, Index: number): uuid
2694
+ export function List2Key(listVariable: list, index: number): uuid
2600
2695
 
2601
2696
  /**
2602
2697
  * Returns a subset of entries from ListVariable, in a range specified by the Start and End indicies (inclusive).
2603
2698
  * Using 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.
2604
2699
  * If Start is greater than End, the sub string is the exclusion of the entries.
2605
- * @indexArg Start
2606
- * @indexArg End
2700
+ * @indexArg start
2701
+ * @indexArg end
2607
2702
  */
2608
- export function List2List(ListVariable: T[], Start: number, End: number): T[]
2703
+ export function List2List(listVariable: T[], start: number, end: number): T[]
2609
2704
 
2610
2705
  /**
2611
2706
  * 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.
2612
2707
  * 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)
2613
2708
  * If slice_index is less than 0, it is counted backwards from the end of the stride.
2614
2709
  * 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)
2615
- * @indexArg Start
2616
- * @indexArg End
2617
- * @indexArg slice_index
2710
+ * @indexArg start
2711
+ * @indexArg end
2712
+ * @indexArg sliceIndex
2618
2713
  */
2619
2714
  export function List2ListSlice(
2620
- ListVariable: T[],
2621
- Start: number,
2622
- End: number,
2623
- Stride: number,
2624
- slice_index: number,
2715
+ listVariable: T[],
2716
+ start: number,
2717
+ end: number,
2718
+ stride: number,
2719
+ sliceIndex: number,
2625
2720
  ): T[]
2626
2721
 
2627
2722
  /**
2628
2723
  * Copies the strided slice of the list from Start to End.
2629
2724
  * Returns a copy of the strided slice of the specified list from Start to End.
2630
- * @indexArg Start
2631
- * @indexArg End
2725
+ * @indexArg start
2726
+ * @indexArg end
2632
2727
  */
2633
2728
  export function List2ListStrided(
2634
- ListVariable: T[],
2635
- Start: number,
2636
- End: number,
2637
- Stride: number,
2729
+ listVariable: T[],
2730
+ start: number,
2731
+ end: number,
2732
+ stride: number,
2638
2733
  ): T[]
2639
2734
 
2640
2735
  /**
2641
2736
  * Copies the rotation at Index in the list.
2642
2737
  * Returns 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.
2643
- * @indexArg Index
2738
+ * @deprecated Use '[]' instead.
2739
+ * @indexArg index
2644
2740
  */
2645
- export function List2Rot(ListVariable: list, Index: number): quaternion
2741
+ export function List2Rot(listVariable: list, index: number): quaternion
2646
2742
 
2647
2743
  /**
2648
2744
  * Copies the string at Index in the list.
2649
2745
  * Returns 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.
2650
- * @indexArg Index
2746
+ * @deprecated Use '[]' and 'tostring' instead.
2747
+ * @indexArg index
2651
2748
  */
2652
- export function List2String(ListVariable: list, Index: number): string
2749
+ export function List2String(listVariable: list, index: number): string
2653
2750
 
2654
2751
  /**
2655
2752
  * Copies the vector at Index in the list.
2656
2753
  * Returns 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.
2657
- * @indexArg Index
2754
+ * @deprecated Use '[]' instead.
2755
+ * @indexArg index
2658
2756
  */
2659
- export function List2Vector(ListVariable: list, Index: number): vector
2757
+ export function List2Vector(listVariable: list, index: number): vector
2660
2758
 
2661
2759
  /**
2662
2760
  * Returns the first index where Find appears in ListVariable. Returns -1 if not found.
2663
2761
  * @indexReturn
2664
2762
  */
2665
- export function ListFindList(ListVariable: list, Find: list): number | undefined
2763
+ export function ListFindList(listVariable: list, find: list): number | undefined
2666
2764
 
2667
2765
  /**
2668
2766
  * Returns the nth index where Find appears in ListVariable. Returns -1 if not found.
2669
- * @indexArg Instance
2767
+ * @indexArg instance
2670
2768
  * @indexReturn
2671
2769
  */
2672
2770
  export function ListFindListNext(
2673
- ListVariable: list,
2674
- Find: list,
2675
- Instance: number,
2771
+ listVariable: list,
2772
+ find: list,
2773
+ instance: number,
2676
2774
  ): number | undefined
2677
2775
 
2678
2776
  /**
2679
2777
  * Returns the first index (where Start <= index <= End) where Find appears in ListVariable. Steps through ListVariable by Stride. Returns -1 if not found.
2680
- * @indexArg Start
2681
- * @indexArg End
2778
+ * @indexArg start
2779
+ * @indexArg end
2682
2780
  * @indexReturn
2683
2781
  */
2684
2782
  export function ListFindStrided(
2685
- ListVariable: list,
2686
- Find: list,
2687
- Start: number,
2688
- End: number,
2689
- Stride: number,
2783
+ listVariable: list,
2784
+ find: list,
2785
+ start: number,
2786
+ end: number,
2787
+ stride: number,
2690
2788
  ): number | undefined
2691
2789
 
2692
2790
  /**
2693
2791
  * Returns a list that contains all the elements from Target but with the elements from ListVariable inserted at Position start.
2694
2792
  * Returns a new list, created by inserting ListVariable into the Target list at Position. Note this does not alter the Target.
2695
- * @indexArg Position
2793
+ * @indexArg position
2696
2794
  */
2697
- export function ListInsertList(Target: T[], ListVariable: T[], Position: number): T[]
2795
+ export function ListInsertList(target: T[], listVariable: T[], position: number): T[]
2698
2796
 
2699
2797
  /**
2700
2798
  * Returns a version of the input ListVariable which has been randomized by blocks of size Stride.
2701
2799
  * If the remainder from the length of the list, divided by the stride is non-zero, this function does not randomize the list.
2702
2800
  */
2703
- export function ListRandomize(ListVariable: T[], Stride: number): T[]
2801
+ export function ListRandomize(listVariable: T[], stride: number): T[]
2704
2802
 
2705
2803
  /**
2706
2804
  * Returns a list that is Target with Start through End removed and ListVariable inserted at Start.
2707
2805
  * Returns 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.
2708
- * @indexArg Start
2709
- * @indexArg End
2806
+ * @indexArg start
2807
+ * @indexArg end
2710
2808
  */
2711
- export function ListReplaceList(Target: T[], ListVariable: T[], Start: number, End: number): T[]
2809
+ export function ListReplaceList(target: T[], listVariable: T[], start: number, end: number): T[]
2712
2810
 
2713
2811
  /** 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. */
2714
- export function ListSort(ListVariable: T[], Stride: number, Ascending: number): T[]
2812
+ export function ListSort(listVariable: T[], stride: number, ascending: number): T[]
2715
2813
 
2716
2814
  /**
2717
2815
  * 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.
2718
- * @indexArg Sortkey
2816
+ * @indexArg sortkey
2719
2817
  */
2720
2818
  export function ListSortStrided(
2721
- ListVariable: T[],
2722
- Stride: number,
2723
- Sortkey: number,
2724
- Ascending: number,
2819
+ listVariable: T[],
2820
+ stride: number,
2821
+ sortkey: number,
2822
+ ascending: number,
2725
2823
  ): T[]
2726
2824
 
2727
2825
  /**
2728
2826
  * Performs a statistical aggregate function, specified by a LIST_STAT_* constant, on ListVariables.
2729
2827
  * This function allows a script to perform a statistical operation as defined by operation on a list composed of integers and floats.
2730
2828
  */
2731
- export function ListStatistics(Operation: number, ListVariable: list): number
2829
+ export function ListStatistics(operation: number, listVariable: list): number
2732
2830
 
2733
2831
  /**
2734
2832
  * 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.
@@ -2736,45 +2834,45 @@ declare namespace ll {
2736
2834
  * PUBLIC_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.
2737
2835
  */
2738
2836
  export function Listen(
2739
- Channel: number,
2740
- SpeakersName: string,
2741
- SpeakersID: uuid,
2742
- Text: string,
2837
+ channel: number,
2838
+ speakersName: string,
2839
+ speakersId: uuid,
2840
+ text: string,
2743
2841
  ): number
2744
2842
 
2745
2843
  /**
2746
2844
  * 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.
2747
2845
  * Use boolean values to specify Active
2748
2846
  */
2749
- export function ListenControl(ChannelHandle: number, Active: number): void
2847
+ export function ListenControl(channelHandle: number, active: number): void
2750
2848
 
2751
2849
  /** Removes a listen event callback. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener to remove. */
2752
- export function ListenRemove(ChannelHandle: number): void
2850
+ export function ListenRemove(channelHandle: number): void
2753
2851
 
2754
2852
  /**
2755
2853
  * Shows dialog to avatar AvatarID offering to load web page at URL. If user clicks yes, launches their web browser.
2756
2854
  * llLoadURL displays a dialogue box to the user, offering to load the specified web page using the default web browser.
2757
2855
  */
2758
- export function LoadURL(AvatarID: uuid, Text: string, URL: string): void
2856
+ export function LoadURL(avatarId: uuid, text: string, url: string): void
2759
2857
 
2760
2858
  /**
2761
2859
  * Returns the natural logarithm of Value. Returns zero if Value <= 0.
2762
2860
  * Returns the base e (natural) logarithm of the specified Value.
2763
2861
  */
2764
- export function Log(Value: number): number
2862
+ export function Log(value: number): number
2765
2863
 
2766
2864
  /**
2767
2865
  * Returns the base 10 logarithm of Value. Returns zero if Value <= 0.
2768
2866
  * Returns the base 10 (common) logarithm of the specified Value.
2769
2867
  */
2770
- export function Log10(Value: number): number
2868
+ export function Log10(value: number): number
2771
2869
 
2772
2870
  /**
2773
2871
  * Cause object name to point its forward axis towards Target, at a force controlled by Strength and Damping.
2774
2872
  * Good Strength values are around half the mass of the object and good Damping values are less than 1/10th of the Strength.
2775
2873
  * Asymmetrical shapes require smaller Damping. A Strength of 0.0 cancels the look at.
2776
2874
  */
2777
- export function LookAt(Target: vector, Strength: number, Damping: number): void
2875
+ export function LookAt(target: vector, strength: number, damping: number): void
2778
2876
 
2779
2877
  /**
2780
2878
  * Plays specified Sound, looping indefinitely, at Volume (0.0 - 1.0).
@@ -2783,14 +2881,14 @@ declare namespace ll {
2783
2881
  * Setting the volume to 0 is not the same as calling llStopSound; a sound with 0 volume will continue to loop.
2784
2882
  * To restart the sound from the beginning, call llStopSound before calling llLoopSound again.
2785
2883
  */
2786
- export function LoopSound(Sound: string, Volume: number): void
2884
+ export function LoopSound(sound: string, volume: number): void
2787
2885
 
2788
2886
  /**
2789
2887
  * Plays attached Sound, looping at volume (0.0 - 1.0), and declares it a sync master.
2790
2888
  * Behaviour 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.
2791
2889
  * The use of multiple masters within a small area is unlikely to produce the desired effect.
2792
2890
  */
2793
- export function LoopSoundMaster(Sound: string, Volume: number): void
2891
+ export function LoopSoundMaster(sound: string, volume: number): void
2794
2892
 
2795
2893
  /**
2796
2894
  * Plays attached sound looping at volume (0.0 - 1.0), synced to most audible sync master.
@@ -2798,70 +2896,74 @@ declare namespace ll {
2798
2896
  * If 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.
2799
2897
  * If a Sync Master is started when the Slave is already playing, the Slave will skip to the correct position to sync with the Master.
2800
2898
  */
2801
- export function LoopSoundSlave(Sound: string, Volume: number): void
2899
+ export function LoopSoundSlave(sound: string, volume: number): void
2802
2900
 
2803
2901
  /**
2804
2902
  * 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.
2805
2903
  * Returns a 32-character hex string. (128-bit in binary.)
2806
2904
  */
2807
- export function MD5String(Text: string, Nonce: number): string
2905
+ export function MD5String(text: string, nonce: number): string
2808
2906
 
2809
2907
  /**
2810
2908
  * Make a round explosion of particles. Deprecated: Use llParticleSystem instead.
2811
2909
  * Make a round explosion of particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.
2910
+ * @deprecated Use 'll.ParticleSystem' instead.
2812
2911
  */
2813
2912
  export function MakeExplosion(
2814
- Particles: number,
2815
- Scale: number,
2816
- Velocity: number,
2817
- Lifetime: number,
2818
- Arc: number,
2819
- Texture: string,
2820
- Offset: vector,
2913
+ particles: number,
2914
+ scale: number,
2915
+ velocity: number,
2916
+ lifetime: number,
2917
+ arc: number,
2918
+ texture: string,
2919
+ offset: vector,
2821
2920
  ): void
2822
2921
 
2823
2922
  /**
2824
2923
  * Make fire like particles. Deprecated: Use llParticleSystem instead.
2825
2924
  * Make fire particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.
2925
+ * @deprecated Use 'll.ParticleSystem' instead.
2826
2926
  */
2827
2927
  export function MakeFire(
2828
- Particles: number,
2829
- Scale: number,
2830
- Velocity: number,
2831
- Lifetime: number,
2832
- Arc: number,
2833
- Texture: string,
2834
- Offset: vector,
2928
+ particles: number,
2929
+ scale: number,
2930
+ velocity: number,
2931
+ lifetime: number,
2932
+ arc: number,
2933
+ texture: string,
2934
+ offset: vector,
2835
2935
  ): void
2836
2936
 
2837
2937
  /**
2838
2938
  * Make a fountain of particles. Deprecated: Use llParticleSystem instead.
2839
2939
  * Make a fountain of particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.
2940
+ * @deprecated Use 'll.ParticleSystem' instead.
2840
2941
  */
2841
2942
  export function MakeFountain(
2842
- Particles: number,
2843
- Scale: number,
2844
- Velocity: number,
2845
- Lifetime: number,
2846
- Arc: number,
2847
- Bounce: number,
2848
- Texture: string,
2849
- Offset: vector,
2850
- Bounce_Offset: number,
2943
+ particles: number,
2944
+ scale: number,
2945
+ velocity: number,
2946
+ lifetime: number,
2947
+ arc: number,
2948
+ bounce: number,
2949
+ texture: string,
2950
+ offset: vector,
2951
+ bounceOffset: number,
2851
2952
  ): void
2852
2953
 
2853
2954
  /**
2854
2955
  * Make smoke like particles. Deprecated: Use llParticleSystem instead.
2855
2956
  * Make smoky particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.
2957
+ * @deprecated Use 'll.ParticleSystem' instead.
2856
2958
  */
2857
2959
  export function MakeSmoke(
2858
- Particles: number,
2859
- Scale: number,
2860
- Velocity: number,
2861
- Lifetime: number,
2862
- Arc: number,
2863
- Texture: string,
2864
- Offset: vector,
2960
+ particles: number,
2961
+ scale: number,
2962
+ velocity: number,
2963
+ lifetime: number,
2964
+ arc: number,
2965
+ texture: string,
2966
+ offset: vector,
2865
2967
  ): void
2866
2968
 
2867
2969
  /**
@@ -2869,68 +2971,71 @@ declare namespace ll {
2869
2971
  * Returns 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.
2870
2972
  * The object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script.
2871
2973
  */
2872
- export function ManageEstateAccess(Action: number, AvatarID: uuid): number
2974
+ export function ManageEstateAccess(action: number, avatarId: uuid): number
2873
2975
 
2874
2976
  /** 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. */
2875
- export function MapBeacon(RegionName: string, Position: vector, Options: list): void
2977
+ export function MapBeacon(regionName: string, position: vector, options: list): void
2876
2978
 
2877
2979
  /**
2878
2980
  * 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.
2879
2981
  * Direction currently has no effect.
2880
2982
  */
2881
- export function MapDestination(RegionName: string, Position: vector, Direction: vector): void
2983
+ export function MapDestination(regionName: string, position: vector, direction: vector): void
2882
2984
 
2883
2985
  /**
2884
2986
  * Sends Number, Text, and ID to members of the link set identified by LinkNumber.
2885
2987
  * LinkNumber is either a linked number (available through llGetLinkNumber) or a LINK_* constant.
2886
2988
  */
2887
2989
  export function MessageLinked(
2888
- LinkNumber: number,
2889
- Number: number,
2890
- Text: string | uuid,
2891
- ID: string | uuid,
2990
+ linkNumber: number,
2991
+ number: number,
2992
+ text: string | uuid,
2993
+ id: string | uuid,
2892
2994
  ): void
2893
2995
 
2894
2996
  /** Set the minimum time between events being handled. */
2895
- export function MinEventDelay(Delay: number): void
2997
+ export function MinEventDelay(delay: number): void
2896
2998
 
2897
2999
  /**
2898
3000
  * Returns a Value raised to the Power, mod Modulus. ((a**b)%c) b is capped at 0xFFFF (16 bits).
2899
3001
  * Returns (Value ^ Power) % Modulus. (Value raised to the Power, Modulus). Value is capped at 0xFFFF (16 bits).
2900
3002
  */
2901
- export function ModPow(Value: number, Power: number, Modulus: number): number
3003
+ export function ModPow(value: number, power: number, modulus: number): number
2902
3004
 
2903
3005
  /** 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). */
2904
- export function ModifyLand(Action: number, Area: number): void
3006
+ export function ModifyLand(action: number, area: number): void
2905
3007
 
2906
3008
  /**
2907
3009
  * Critically damp to Target in Tau seconds (if the script is physical).
2908
3010
  * Critically 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.
2909
3011
  */
2910
- export function MoveToTarget(Target: vector, Tau: number): void
3012
+ export function MoveToTarget(target: vector, tau: number): void
2911
3013
 
2912
3014
  /** Look up Agent ID for the named agent in the region. */
2913
- export function Name2Key(Name: string): uuid
3015
+ export function Name2Key(name: string): uuid
2914
3016
 
2915
3017
  /**
2916
3018
  * Navigate to destination.
2917
3019
  * Directs an object to travel to a defined position in the region or adjacent regions.
2918
3020
  */
2919
- export function NavigateTo(Location: vector, Options: list): void
3021
+ export function NavigateTo(location: vector, options: list): void
2920
3022
 
2921
3023
  /**
2922
3024
  * Sets the texture S and T offsets for the chosen Face.
2923
3025
  * If Face is ALL_SIDES this function sets the texture offsets for all faces.
2924
3026
  */
2925
- export function OffsetTexture(OffsetS: number, OffsetT: number, Face: number): void
3027
+ export function OffsetTexture(offsetS: number, offsetT: number, face: number): void
2926
3028
 
2927
3029
  /**
2928
3030
  * Returns the value for header for request_id.
2929
3031
  * Returns a string that is the value of the Header for HTTPRequestID.
2930
3032
  */
2931
- export function OpenFloater(floater_name: string, url: string, params: list): number
3033
+ export function OpenFloater(floaterName: string, url: string, params: list): number
2932
3034
 
2933
- /** This function is deprecated. */
3035
+ /**
3036
+ * This function is deprecated.
3037
+ * @deprecated
3038
+ */
2934
3039
  export function OpenRemoteDataChannel(): void
2935
3040
 
2936
3041
  /**
@@ -2943,62 +3048,63 @@ declare namespace ll {
2943
3048
  * Returns TRUE if id ID over land owned by the script owner, otherwise FALSE.
2944
3049
  * Returns TRUE if key ID is over land owned by the object owner, FALSE otherwise.
2945
3050
  */
2946
- export function OverMyLand(ID: uuid): number
3051
+ export function OverMyLand(id: uuid): number
2947
3052
 
2948
3053
  /**
2949
3054
  * says Text to owner only (if owner is in region).
2950
3055
  * Says 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.
3056
+ * @deprecated Use 'print' instead.
2951
3057
  */
2952
- export function OwnerSay(Text: string): void
3058
+ export function OwnerSay(text: string): void
2953
3059
 
2954
3060
  /** Controls the playback of multimedia resources on a parcel or for an agent, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList. */
2955
- export function ParcelMediaCommandList(CommandList: list): void
3061
+ export function ParcelMediaCommandList(commandList: list): void
2956
3062
 
2957
3063
  /**
2958
3064
  * Queries the media properties of the parcel containing the script, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.
2959
3065
  * This 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).
2960
3066
  */
2961
- export function ParcelMediaQuery(QueryList: number[]): list
3067
+ export function ParcelMediaQuery(queryList: number[]): list
2962
3068
 
2963
3069
  /**
2964
3070
  * Converts Text into a list, discarding Separators, keeping Spacers (Separators and Spacers must be lists of strings, maximum of 8 each).
2965
3071
  * Separators and Spacers are lists of strings with a maximum of 8 entries each.
2966
3072
  */
2967
- export function ParseString2List(Text: string, Separators: string[], Spacers: string[]): string[]
3073
+ export function ParseString2List(text: string, separators: string[], spacers: string[]): string[]
2968
3074
 
2969
3075
  /**
2970
3076
  * 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).
2971
3077
  * llParseStringKeepNulls 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.
2972
3078
  */
2973
3079
  export function ParseStringKeepNulls(
2974
- Text: string,
2975
- Separators: string[],
2976
- Spacers: string[],
3080
+ text: string,
3081
+ separators: string[],
3082
+ spacers: string[],
2977
3083
  ): string[]
2978
3084
 
2979
3085
  /**
2980
3086
  * Creates a particle system in the prim the script is attached to, based on Parameters. An empty list removes a particle system from object.
2981
3087
  * List format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].
2982
3088
  */
2983
- export function ParticleSystem(Parameters: list): void
3089
+ export function ParticleSystem(parameters: list): void
2984
3090
 
2985
3091
  /**
2986
3092
  * Configures how collision events are passed to scripts in the linkset.
2987
3093
  * If 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.
2988
3094
  */
2989
- export function PassCollisions(Pass: number): void
3095
+ export function PassCollisions(pass: number): void
2990
3096
 
2991
3097
  /**
2992
3098
  * Configures how touch events are passed to scripts in the linkset.
2993
3099
  * If 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.
2994
3100
  */
2995
- export function PassTouches(Pass: number): void
3101
+ export function PassTouches(pass: number): void
2996
3102
 
2997
3103
  /**
2998
3104
  * Patrol a list of points.
2999
3105
  * Sets the points for a character (llCreateCharacter) to patrol along.
3000
3106
  */
3001
- export function PatrolPoints(Points: vector[], Options: list): void
3107
+ export function PatrolPoints(points: vector[], options: list): void
3002
3108
 
3003
3109
  /**
3004
3110
  * Plays Sound once, at Volume (0.0 - 1.0) and attached to the object.
@@ -3006,66 +3112,71 @@ declare namespace ll {
3006
3112
  * A 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.
3007
3113
  * To restart the sound from the beginning, call llStopSound before calling llPlaySound again.
3008
3114
  */
3009
- export function PlaySound(Sound: string, Volume: number): void
3115
+ export function PlaySound(sound: string, volume: number): void
3010
3116
 
3011
3117
  /**
3012
3118
  * Plays attached Sound once, at Volume (0.0 - 1.0), synced to next loop of most audible sync master.
3013
3119
  * Behaviour 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.
3014
3120
  * llPlaySoundSlave 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.
3015
3121
  */
3016
- export function PlaySoundSlave(Sound: string, Volume: number): void
3122
+ export function PlaySoundSlave(sound: string, volume: number): void
3017
3123
 
3018
- export function PointAt(Point: vector): void
3124
+ /** @deprecated */
3125
+ export function PointAt(point: vector): void
3019
3126
 
3020
3127
  /**
3021
3128
  * Returns the Value raised to the power Exponent, or returns 0 and triggers Math Error for imaginary results.
3022
3129
  * Returns the Value raised to the Exponent.
3023
3130
  */
3024
- export function Pow(Value: number, Exponent: number): number
3131
+ export function Pow(value: number, exponent: number): number
3025
3132
 
3026
3133
  /**
3027
3134
  * Causes nearby viewers to preload the Sound from the object's inventory.
3028
3135
  * This is intended to prevent delays in starting new sounds when called upon.
3029
3136
  */
3030
- export function PreloadSound(Sound: string): void
3137
+ export function PreloadSound(sound: string): void
3031
3138
 
3032
3139
  /**
3033
3140
  * Chase after a target.
3034
3141
  * Causes the character (llCharacter) to pursue the target defined by TargetID.
3035
3142
  */
3036
- export function Pursue(TargetID: uuid, Options: list): void
3143
+ export function Pursue(targetId: uuid, options: list): void
3037
3144
 
3038
3145
  /**
3039
3146
  * Applies Impulse and AngularImpulse to ObjectID.
3040
3147
  * Applies the supplied impulse and angular impulse to the object specified.
3041
3148
  */
3042
3149
  export function PushObject(
3043
- ObjectID: uuid,
3044
- Impulse: vector,
3045
- AngularImpulse: vector,
3046
- Local: number,
3150
+ objectId: uuid,
3151
+ impulse: vector,
3152
+ angularImpulse: vector,
3153
+ local: number,
3047
3154
  ): void
3048
3155
 
3049
3156
  /** 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. */
3050
- export function ReadKeyValue(Key: string): uuid
3157
+ export function ReadKeyValue(key: string): uuid
3051
3158
 
3052
- /** Reloads the web page shown on the sides of the object. */
3159
+ /**
3160
+ * Reloads the web page shown on the sides of the object.
3161
+ * @deprecated Use 'll.SetPrimMediaParams' instead.
3162
+ */
3053
3163
  export function RefreshPrimURL(): void
3054
3164
 
3055
3165
  /** Broadcasts Text to entire region on Channel (except for channel 0). */
3056
- export function RegionSay(Channel: number, Text: string): void
3166
+ export function RegionSay(channel: number, text: string): void
3057
3167
 
3058
3168
  /**
3059
3169
  * Says Text, on Channel, to avatar or object indicated by TargetID (if within region).
3060
3170
  * If TargetID is an avatar and Channel is nonzero, Text can be heard by any attachment on the avatar.
3061
3171
  */
3062
- export function RegionSayTo(TargetID: uuid, Channel: number, Text: string): void
3172
+ export function RegionSayTo(targetId: uuid, channel: number, text: string): void
3063
3173
 
3064
3174
  /**
3065
3175
  * Return camera to agent.
3066
3176
  * Deprecated: Use llClearCameraParams instead.
3177
+ * @deprecated Use 'll.ClearCameraParams' instead.
3067
3178
  */
3068
- export function ReleaseCamera(AvatarID: uuid): void
3179
+ export function ReleaseCamera(avatarId: uuid): void
3069
3180
 
3070
3181
  /**
3071
3182
  * Stop taking inputs.
@@ -3074,62 +3185,69 @@ declare namespace ll {
3074
3185
  export function ReleaseControls(): void
3075
3186
 
3076
3187
  /** Releases the specified URL, which was previously obtained using llRequestURL. Once released, the URL will no longer be usable. */
3077
- export function ReleaseURL(URL: string): void
3188
+ export function ReleaseURL(url: string): void
3078
3189
 
3079
- /** This function is deprecated. */
3190
+ /**
3191
+ * This function is deprecated.
3192
+ * @deprecated
3193
+ */
3080
3194
  export function RemoteDataReply(
3081
- ChannelID: uuid,
3082
- MessageID: uuid,
3195
+ channelId: uuid,
3196
+ messageId: uuid,
3083
3197
  sData: string,
3084
3198
  iData: number,
3085
3199
  ): void
3086
3200
 
3087
- /** This function is deprecated. */
3201
+ /**
3202
+ * This function is deprecated.
3203
+ * @deprecated
3204
+ */
3088
3205
  export function RemoteDataSetRegion(): void
3089
3206
 
3207
+ /** @deprecated */
3090
3208
  export function RemoteLoadScript(
3091
- Target: uuid,
3092
- ScriptName: string,
3093
- Unknown1: number,
3094
- Unknown2: number,
3209
+ target: uuid,
3210
+ scriptName: string,
3211
+ unknown1: number,
3212
+ unknown2: number,
3095
3213
  ): void
3096
3214
 
3097
3215
  /** 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. */
3098
3216
  export function RemoteLoadScriptPin(
3099
- ObjectID: uuid,
3100
- ScriptName: string,
3101
- PIN: number,
3102
- Running: number,
3103
- StartParameter: number,
3217
+ objectId: uuid,
3218
+ scriptName: string,
3219
+ pin: number,
3220
+ running: number,
3221
+ startParameter: number,
3104
3222
  ): void
3105
3223
 
3106
3224
  /**
3107
3225
  * Remove avatar from the land ban list.
3108
3226
  * Remove specified avatar from the land parcel ban list.
3109
3227
  */
3110
- export function RemoveFromLandBanList(AvatarID: uuid): void
3228
+ export function RemoveFromLandBanList(avatarId: uuid): void
3111
3229
 
3112
3230
  /**
3113
3231
  * Remove avatar from the land pass list.
3114
3232
  * Remove specified avatar from the land parcel pass list.
3115
3233
  */
3116
- export function RemoveFromLandPassList(AvatarID: uuid): void
3234
+ export function RemoveFromLandPassList(avatarId: uuid): void
3117
3235
 
3118
3236
  /**
3119
3237
  * Remove the named inventory item.
3120
3238
  * Remove the named inventory item from the object inventory.
3121
3239
  */
3122
- export function RemoveInventory(InventoryItem: string): void
3240
+ export function RemoveInventory(inventoryItem: string): void
3123
3241
 
3124
3242
  /**
3125
3243
  * Removes the enabled bits in 'flags'.
3126
3244
  * Sets the vehicle flags to FALSE. Valid parameters can be found in the vehicle flags constants section.
3127
3245
  */
3128
- export function RemoveVehicleFlags(Vehiclelags: number): void
3246
+ export function RemoveVehicleFlags(vehiclelags: number): void
3129
3247
 
3130
3248
  /** Replaces the entire environment for an agent. Must be used as part of an experience. */
3131
3249
  export function ReplaceAgentEnvironment(
3132
- agent_id: uuid,
3250
+ agentId: uuid,
3133
3251
  transition: number,
3134
3252
  environment: string,
3135
3253
  ): number
@@ -3138,47 +3256,47 @@ declare namespace ll {
3138
3256
  export function ReplaceEnvironment(
3139
3257
  position: vector,
3140
3258
  environment: string,
3141
- track_no: number,
3142
- day_length: number,
3143
- day_offset: number,
3259
+ trackNo: number,
3260
+ dayLength: number,
3261
+ dayOffset: number,
3144
3262
  ): number
3145
3263
 
3146
3264
  /** 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. */
3147
3265
  export function ReplaceSubString(
3148
- InitialString: string,
3149
- SubString: string,
3150
- NewSubString: string,
3151
- Count: number,
3266
+ initialString: string,
3267
+ subString: string,
3268
+ newSubString: string,
3269
+ count: number,
3152
3270
  ): string
3153
3271
 
3154
3272
  /**
3155
3273
  * Requests data about AvatarID. When data is available the dataserver event will be raised.
3156
3274
  * This 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.
3157
3275
  */
3158
- export function RequestAgentData(AvatarID: uuid, Data: number): uuid
3276
+ export function RequestAgentData(avatarId: uuid, data: number): uuid
3159
3277
 
3160
3278
  /**
3161
3279
  * Requests the display name of the agent. When the display name is available the dataserver event will be raised.
3162
3280
  * The avatar identified does not need to be in the same region or online at the time of the request.
3163
3281
  * Returns a key that is used to identify the dataserver event when it is raised.
3164
3282
  */
3165
- export function RequestDisplayName(AvatarID: uuid): uuid
3283
+ export function RequestDisplayName(avatarId: uuid): uuid
3166
3284
 
3167
3285
  /** 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. */
3168
- export function RequestExperiencePermissions(AgentID: uuid, unused: string): void
3286
+ export function RequestExperiencePermissions(agentId: uuid, unused: string): void
3169
3287
 
3170
3288
  /**
3171
3289
  * Requests data for the named InventoryItem.
3172
3290
  * When data is available, the dataserver event will be raised with the key returned from this function in the requested parameter.
3173
3291
  * The only request currently implemented is to request data from landmarks, where the data returned is in the form "<float, float, float>" which can be cast to a vector. This position is in region local coordinates.
3174
3292
  */
3175
- export function RequestInventoryData(InventoryItem: string): uuid
3293
+ export function RequestInventoryData(inventoryItem: string): uuid
3176
3294
 
3177
3295
  /**
3178
3296
  * 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.
3179
3297
  * This call will not stop script execution. If the avatar grants the requested permissions, the run_time_permissions event will be called.
3180
3298
  */
3181
- export function RequestPermissions(AvatarID: uuid, PermissionMask: number): void
3299
+ export function RequestPermissions(avatarId: uuid, permissionMask: number): void
3182
3300
 
3183
3301
  /**
3184
3302
  * Requests one HTTPS:// (SSL) URL for use by this object. The http_request event is triggered with results.
@@ -3191,7 +3309,7 @@ declare namespace ll {
3191
3309
  * Data should use one of the DATA_SIM_* constants.
3192
3310
  * Returns a dataserver query ID and triggers the dataserver event when data is found.
3193
3311
  */
3194
- export function RequestSimulatorData(RegionName: string, Data: number): uuid
3312
+ export function RequestSimulatorData(regionName: string, data: number): uuid
3195
3313
 
3196
3314
  /**
3197
3315
  * Requests one HTTP:// URL for use by this script. The http_request event is triggered with the result of the request.
@@ -3200,7 +3318,7 @@ declare namespace ll {
3200
3318
  export function RequestURL(): uuid
3201
3319
 
3202
3320
  /** Look up Agent ID for the named agent using a historical name. */
3203
- export function RequestUserKey(Name: string): uuid
3321
+ export function RequestUserKey(name: string): uuid
3204
3322
 
3205
3323
  /**
3206
3324
  * Requests single-word user-name of an avatar. When data is available the dataserver event will be raised.
@@ -3208,14 +3326,14 @@ declare namespace ll {
3208
3326
  * The agent identified does not need to be in the same region or online at the time of the request.
3209
3327
  * Returns a key that is used to identify the dataserver event when it is raised.
3210
3328
  */
3211
- export function RequestUsername(AvatarID: uuid): uuid
3329
+ export function RequestUsername(avatarId: uuid): uuid
3212
3330
 
3213
3331
  /**
3214
3332
  * Resets the animation of the specified animation state to the default value.
3215
3333
  * If animation state equals "ALL", then all animation states are reset.
3216
3334
  * Requires the PERMISSION_OVERRIDE_ANIMATIONS permission (automatically granted to attached objects).
3217
3335
  */
3218
- export function ResetAnimationOverride(AnimationState: string): void
3336
+ export function ResetAnimationOverride(animationState: string): void
3219
3337
 
3220
3338
  /** Removes all residents from the land ban list. */
3221
3339
  export function ResetLandBanList(): void
@@ -3224,7 +3342,7 @@ declare namespace ll {
3224
3342
  export function ResetLandPassList(): void
3225
3343
 
3226
3344
  /** Resets the named script. */
3227
- export function ResetOtherScript(ScriptName: string): void
3345
+ export function ResetOtherScript(scriptName: string): void
3228
3346
 
3229
3347
  /** Resets the script. */
3230
3348
  export function ResetScript(): void
@@ -3233,24 +3351,24 @@ declare namespace ll {
3233
3351
  * Return objects using their UUIDs.
3234
3352
  * Requires 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.
3235
3353
  */
3236
- export function ReturnObjectsByID(ObjectIDs: uuid[]): number
3354
+ export function ReturnObjectsByID(objectIDs: uuid[]): number
3237
3355
 
3238
3356
  /**
3239
3357
  * Return objects based upon their owner and a scope of parcel, parcel owner, or region.
3240
3358
  * Requires 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.
3241
3359
  */
3242
- export function ReturnObjectsByOwner(ID: uuid, Scope: number): number
3360
+ export function ReturnObjectsByOwner(id: uuid, scope: number): number
3243
3361
 
3244
3362
  /**
3245
3363
  * Instantiate owner's InventoryItem at Position with Velocity, Rotation and with StartParameter. The last selected root object's location will be set to Position.
3246
3364
  * Creates object's inventory item at the given Position, with Velocity, Rotation, and StartParameter.
3247
3365
  */
3248
3366
  export function RezAtRoot(
3249
- InventoryItem: string,
3250
- Position: vector,
3251
- Velocity: vector,
3252
- Rotation: quaternion,
3253
- StartParameter: number,
3367
+ inventoryItem: string,
3368
+ position: vector,
3369
+ velocity: vector,
3370
+ rotation: quaternion,
3371
+ startParameter: number,
3254
3372
  ): void
3255
3373
 
3256
3374
  /**
@@ -3259,91 +3377,91 @@ declare namespace ll {
3259
3377
  * The Velocity parameter is ignored if the rezzed object is not physical.
3260
3378
  */
3261
3379
  export function RezObject(
3262
- InventoryItem: string,
3263
- Position: vector,
3264
- Velocity: vector,
3265
- Rotation: quaternion,
3266
- StartParameter: number,
3380
+ inventoryItem: string,
3381
+ position: vector,
3382
+ velocity: vector,
3383
+ rotation: quaternion,
3384
+ startParameter: number,
3267
3385
  ): void
3268
3386
 
3269
3387
  /** Instantiate owner's InventoryItem with the given parameters. */
3270
- export function RezObjectWithParams(InventoryItem: string, Params: list): uuid
3388
+ export function RezObjectWithParams(inventoryItem: string, params: list): uuid
3271
3389
 
3272
3390
  /**
3273
3391
  * Returns the rotation angle represented by Rotation.
3274
3392
  * Returns the angle represented by the Rotation.
3275
3393
  */
3276
- export function Rot2Angle(Rotation: quaternion): number
3394
+ export function Rot2Angle(rotation: quaternion): number
3277
3395
 
3278
3396
  /**
3279
3397
  * Returns the rotation axis represented by Rotation.
3280
3398
  * Returns the axis represented by the Rotation.
3281
3399
  */
3282
- export function Rot2Axis(Rotation: quaternion): vector
3400
+ export function Rot2Axis(rotation: quaternion): vector
3283
3401
 
3284
3402
  /**
3285
3403
  * Returns the Euler representation (roll, pitch, yaw) of Rotation.
3286
3404
  * Returns the Euler Angle representation of the Rotation.
3287
3405
  */
3288
- export function Rot2Euler(Rotation: quaternion): vector
3406
+ export function Rot2Euler(rotation: quaternion): vector
3289
3407
 
3290
3408
  /**
3291
3409
  * Returns the forward vector defined by Rotation.
3292
3410
  * Returns the forward axis represented by the Rotation.
3293
3411
  */
3294
- export function Rot2Fwd(Rotation: quaternion): vector
3412
+ export function Rot2Fwd(rotation: quaternion): vector
3295
3413
 
3296
3414
  /**
3297
3415
  * Returns the left vector defined by Rotation.
3298
3416
  * Returns the left axis represented by the Rotation.
3299
3417
  */
3300
- export function Rot2Left(Rotation: quaternion): vector
3418
+ export function Rot2Left(rotation: quaternion): vector
3301
3419
 
3302
3420
  /**
3303
3421
  * Returns the up vector defined by Rotation.
3304
3422
  * Returns the up axis represented by the Rotation.
3305
3423
  */
3306
- export function Rot2Up(Rotation: quaternion): vector
3424
+ export function Rot2Up(rotation: quaternion): vector
3307
3425
 
3308
3426
  /**
3309
3427
  * Returns the rotation to rotate Vector1 to Vector2.
3310
3428
  * Returns the rotation needed to rotate Vector1 to Vector2.
3311
3429
  */
3312
- export function RotBetween(Vector1: vector, Vector2: vector): quaternion
3430
+ export function RotBetween(vector1: vector, vector2: vector): quaternion
3313
3431
 
3314
3432
  /**
3315
3433
  * 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.
3316
3434
  * Asymmetrical shapes require smaller damping.
3317
3435
  * A strength of 0.0 cancels the look at.
3318
3436
  */
3319
- export function RotLookAt(Rotation: quaternion, Strength: number, Damping: number): void
3437
+ export function RotLookAt(rotation: quaternion, strength: number, damping: number): void
3320
3438
 
3321
3439
  /**
3322
3440
  * Set rotations with error of LeeWay radians as a rotational target, and return an ID for the rotational target.
3323
3441
  * The returned number is a handle that can be used in at_rot_target and llRotTargetRemove.
3324
3442
  */
3325
- export function RotTarget(Rotation: quaternion, LeeWay: number): number
3443
+ export function RotTarget(rotation: quaternion, leeWay: number): number
3326
3444
 
3327
3445
  /**
3328
3446
  * Removes rotational target number.
3329
3447
  * Remove rotational target indicated by the handle.
3330
3448
  */
3331
- export function RotTargetRemove(Handle: number): void
3449
+ export function RotTargetRemove(handle: number): void
3332
3450
 
3333
3451
  /**
3334
3452
  * Sets the texture rotation for the specified Face to angle Radians.
3335
3453
  * If Face is ALL_SIDES, rotates the texture of all sides.
3336
3454
  */
3337
- export function RotateTexture(Radians: number, Face: number): void
3455
+ export function RotateTexture(radians: number, face: number): void
3338
3456
 
3339
3457
  /**
3340
3458
  * Returns Value rounded to the nearest integer.
3341
3459
  * Returns the Value rounded to the nearest integer.
3342
3460
  */
3343
- export function Round(Value: number): number
3461
+ export function Round(value: number): number
3344
3462
 
3345
3463
  /** Returns a string of 40 hex characters that is the SHA1 security hash of text. */
3346
- export function SHA1String(Text: string): string
3464
+ export function SHA1String(text: string): string
3347
3465
 
3348
3466
  /** Returns a string of 64 hex characters that is the SHA256 security hash of text. */
3349
3467
  export function SHA256String(text: string): string
@@ -3352,14 +3470,14 @@ declare namespace ll {
3352
3470
  * Returns TRUE if avatar ID is in the same region and has the same active group, otherwise FALSE.
3353
3471
  * Returns TRUE if the object or agent identified is in the same simulator and has the same active group as this object. Otherwise, returns FALSE.
3354
3472
  */
3355
- export function SameGroup(ID: uuid): number
3473
+ export function SameGroup(id: uuid): number
3356
3474
 
3357
3475
  /**
3358
3476
  * Says Text on Channel.
3359
3477
  * This chat method has a range of 20m radius.
3360
3478
  * PUBLIC_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.
3361
3479
  */
3362
- export function Say(Channel: number, Text: string): void
3480
+ export function Say(channel: number, text: string): void
3363
3481
 
3364
3482
  /**
3365
3483
  * Attempts to resize the entire object by ScalingFactor, maintaining the size-position ratios of the prims.
@@ -3367,33 +3485,36 @@ declare namespace ll {
3367
3485
  * Resizing 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.
3368
3486
  * Returns a boolean (an integer) TRUE if it succeeds, FALSE if it fails.
3369
3487
  */
3370
- export function ScaleByFactor(ScalingFactor: number): number
3488
+ export function ScaleByFactor(scalingFactor: number): number
3371
3489
 
3372
3490
  /**
3373
3491
  * Sets the diffuse texture Horizontal and Vertical repeats on Face of the prim the script is attached to.
3374
3492
  * If Face == ALL_SIDES, all sides are set in one call.
3375
3493
  * Negative values for horizontal and vertical will flip the texture.
3376
3494
  */
3377
- export function ScaleTexture(Horizontal: number, Vertical: number, Face: number): void
3495
+ export function ScaleTexture(horizontal: number, vertical: number, face: number): void
3378
3496
 
3379
3497
  /**
3380
3498
  * 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.
3381
3499
  * Returns 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.
3382
3500
  */
3383
- export function ScriptDanger(Position: vector): number
3501
+ export function ScriptDanger(position: vector): number
3384
3502
 
3385
3503
  /**
3386
3504
  * Enables or disables script profiling options. Currently only supports PROFILE_SCRIPT_MEMORY (Mono only) and PROFILE_NONE.
3387
3505
  * May significantly reduce script performance.
3388
3506
  */
3389
- export function ScriptProfiler(State: number): void
3507
+ export function ScriptProfiler(state: number): void
3390
3508
 
3391
- /** This function is deprecated. */
3509
+ /**
3510
+ * This function is deprecated.
3511
+ * @deprecated
3512
+ */
3392
3513
  export function SendRemoteData(
3393
- ChannelID: uuid,
3394
- Destination: string,
3395
- Value: number,
3396
- Text: string,
3514
+ channelId: uuid,
3515
+ destination: string,
3516
+ value: number,
3517
+ text: string,
3397
3518
  ): uuid
3398
3519
 
3399
3520
  /**
@@ -3401,7 +3522,7 @@ declare namespace ll {
3401
3522
  * Specifying 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.
3402
3523
  * Results are returned in the sensor and no_sensor events.
3403
3524
  */
3404
- export function Sensor(Name: string, ID: uuid, Type: number, Range: number, Arc: number): void
3525
+ export function Sensor(name: string, id: uuid, type: number, range: number, arc: number): void
3405
3526
 
3406
3527
  /**
3407
3528
  * removes sensor.
@@ -3415,16 +3536,16 @@ declare namespace ll {
3415
3536
  * Results are returned in the sensor and no_sensor events.
3416
3537
  */
3417
3538
  export function SensorRepeat(
3418
- Name: string,
3419
- ID: uuid,
3420
- Type: number,
3421
- Range: number,
3422
- Arc: number,
3423
- Rate: number,
3539
+ name: string,
3540
+ id: uuid,
3541
+ type: number,
3542
+ range: number,
3543
+ arc: number,
3544
+ rate: number,
3424
3545
  ): void
3425
3546
 
3426
3547
  /** Sets an agent's environmental values to the specified values. Must be used as part of an experience. */
3427
- export function SetAgentEnvironment(agent_id: uuid, transition: number, Settings: list): number
3548
+ export function SetAgentEnvironment(agentId: uuid, transition: number, settings: list): number
3428
3549
 
3429
3550
  /** Sets the avatar rotation to the given value. */
3430
3551
  export function SetAgentRot(rot: quaternion, flags: number): void
@@ -3433,93 +3554,94 @@ declare namespace ll {
3433
3554
  * Sets the alpha (opacity) of Face.
3434
3555
  * Sets 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.
3435
3556
  */
3436
- export function SetAlpha(Opacity: number, Face: number): void
3557
+ export function SetAlpha(opacity: number, face: number): void
3437
3558
 
3438
3559
  /**
3439
3560
  * Sets an object's angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical).
3440
3561
  * Has no effect on non-physical objects.
3441
3562
  */
3442
- export function SetAngularVelocity(AngVel: vector, Local: number): void
3563
+ export function SetAngularVelocity(angVel: vector, local: number): void
3443
3564
 
3444
3565
  /**
3445
3566
  * Sets the animation (in object inventory) that will play for the given animation state.
3446
3567
  * To use this function the script must obtain the PERMISSION_OVERRIDE_ANIMATIONS permission.
3447
3568
  */
3448
- export function SetAnimationOverride(AnimationState: string, AnimationName: string): void
3569
+ export function SetAnimationOverride(animationState: string, animationName: string): void
3449
3570
 
3450
3571
  /**
3451
3572
  * Set the tasks buoyancy (0 is none, < 1.0 sinks, 1.0 floats, > 1.0 rises).
3452
3573
  * Set the object buoyancy. A value of 0 is none, less than 1.0 sinks, 1.0 floats, and greater than 1.0 rises.
3453
3574
  */
3454
- export function SetBuoyancy(Buoyancy: number): void
3575
+ export function SetBuoyancy(buoyancy: number): void
3455
3576
 
3456
3577
  /**
3457
3578
  * Sets the camera used in this object, at offset, if an avatar sits on it.
3458
3579
  * Sets the offset that an avatar's camera will be moved to if the avatar sits on the object.
3459
3580
  */
3460
- export function SetCameraAtOffset(Offset: vector): void
3581
+ export function SetCameraAtOffset(offset: vector): void
3461
3582
 
3462
3583
  /** Sets the camera eye offset used in this object if an avatar sits on it. */
3463
- export function SetCameraEyeOffset(Offset: vector): void
3584
+ export function SetCameraEyeOffset(offset: vector): void
3464
3585
 
3465
3586
  /**
3466
3587
  * Sets multiple camera parameters at once. List format is [ rule-1, data-1, rule-2, data-2 . . . rule-n, data-n ].
3467
3588
  * Requires the PERMISSION_CONTROL_CAMERA runtime permission (automatically granted to attached or sat on objects).
3468
3589
  */
3469
- export function SetCameraParams(Parameters: list): void
3590
+ export function SetCameraParams(parameters: list): void
3470
3591
 
3471
3592
  /** Sets the action performed when a prim is clicked upon. */
3472
- export function SetClickAction(Action: number): void
3593
+ export function SetClickAction(action: number): void
3473
3594
 
3474
3595
  /**
3475
3596
  * Sets the color, for the face.
3476
3597
  * Sets the color of the side specified. If Face is ALL_SIDES, sets the color on all faces.
3477
3598
  */
3478
- export function SetColor(Color: vector, Face: number): void
3599
+ export function SetColor(color: vector, face: number): void
3479
3600
 
3480
3601
  /**
3481
3602
  * Set the media type of an LSL HTTP server response to ContentType.
3482
3603
  * HTTPRequestID must be a valid http_request ID. ContentType must be one of the CONTENT_TYPE_* constants.
3483
3604
  */
3484
- export function SetContentType(HTTPRequestID: uuid, ContentType: number): void
3605
+ export function SetContentType(httpRequestId: uuid, contentType: number): void
3485
3606
 
3486
3607
  /**
3487
3608
  * Sets the amount of damage that will be done to an avatar that this task hits. Task will be killed.
3488
3609
  * Sets 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.
3489
3610
  */
3490
- export function SetDamage(Damage: number): void
3611
+ export function SetDamage(damage: number): void
3491
3612
 
3492
3613
  /** Returns a string with the requested data about the region. */
3493
- export function SetEnvironment(Position: vector, EnvParams: list): number
3614
+ export function SetEnvironment(position: vector, envParams: list): number
3494
3615
 
3495
- export function SetExperienceKey(ExperienceID: uuid): number
3616
+ /** @deprecated */
3617
+ export function SetExperienceKey(experienceId: uuid): number
3496
3618
 
3497
3619
  /**
3498
3620
  * Sets Force on object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).
3499
3621
  * Only works on physical objects.
3500
3622
  */
3501
- export function SetForce(Force: vector, Local: number): void
3623
+ export function SetForce(force: vector, local: number): void
3502
3624
 
3503
3625
  /**
3504
3626
  * Sets the Force and Torque of object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).
3505
3627
  * Only works on physical objects.
3506
3628
  */
3507
- export function SetForceAndTorque(Force: vector, Torque: vector, Local: number): void
3629
+ export function SetForceAndTorque(force: vector, torque: vector, local: number): void
3508
3630
 
3509
3631
  /** Changes terrain texture properties in the region. */
3510
- export function SetGroundTexture(Changes: list): number
3632
+ export function SetGroundTexture(changes: list): number
3511
3633
 
3512
3634
  /**
3513
3635
  * Critically damps a physical object to a Height (either above ground level or above the higher of land and water if water == TRUE).
3514
3636
  * Do not use with vehicles. Use llStopHover to stop hovering.
3515
3637
  */
3516
- export function SetHoverHeight(Height: number, Water: number, Tau: number): void
3638
+ export function SetHoverHeight(height: number, water: number, tau: number): void
3517
3639
 
3518
3640
  /** Sets the given permission mask to the new value on the inventory item. */
3519
3641
  export function SetInventoryPermMask(
3520
- InventoryItem: string,
3521
- PermissionFlag: number,
3522
- PermissionMask: number,
3642
+ inventoryItem: string,
3643
+ permissionFlag: number,
3644
+ permissionMask: number,
3523
3645
  ): void
3524
3646
 
3525
3647
  /**
@@ -3527,22 +3649,22 @@ declare namespace ll {
3527
3649
  * Specify 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.
3528
3650
  * Keyframes 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).
3529
3651
  */
3530
- export function SetKeyframedMotion(Keyframes: list, Options: list): void
3652
+ export function SetKeyframedMotion(keyframes: list, options: list): void
3531
3653
 
3532
3654
  /**
3533
3655
  * If a prim exists in the link chain at LinkNumber, set Face to Opacity.
3534
3656
  * Sets the Face, on the linked prim specified, to the Opacity.
3535
3657
  */
3536
- export function SetLinkAlpha(LinkNumber: number, Opacity: number, Face: number): void
3658
+ export function SetLinkAlpha(linkNumber: number, opacity: number, face: number): void
3537
3659
 
3538
3660
  /** Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim. */
3539
- export function SetLinkCamera(LinkNumber: number, EyeOffset: vector, LookOffset: vector): void
3661
+ export function SetLinkCamera(linkNumber: number, eyeOffset: vector, lookOffset: vector): void
3540
3662
 
3541
3663
  /**
3542
3664
  * If a task exists in the link chain at LinkNumber, set the Face to color.
3543
3665
  * Sets the color of the linked child's side, specified by LinkNumber.
3544
3666
  */
3545
- export function SetLinkColor(LinkNumber: number, Color: vector, Face: number): void
3667
+ export function SetLinkColor(linkNumber: number, color: vector, face: number): void
3546
3668
 
3547
3669
  /** Sets or changes GLTF Overrides set on the selected faces. */
3548
3670
  export function SetLinkGLTFOverrides(link: number, face: number, options: list): void
@@ -3551,29 +3673,32 @@ declare namespace ll {
3551
3673
  * 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).
3552
3674
  * MediaParameters 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.
3553
3675
  */
3554
- export function SetLinkMedia(Link: number, Face: number, Parameters: list): number
3676
+ export function SetLinkMedia(link: number, face: number, parameters: list): number
3555
3677
 
3556
- /** Deprecated: Use llSetLinkPrimitiveParamsFast instead. */
3557
- export function SetLinkPrimitiveParams(LinkNumber: number, Parameters: list): void
3678
+ /**
3679
+ * Deprecated: Use llSetLinkPrimitiveParamsFast instead.
3680
+ * @deprecated Use 'll.SetLinkPrimitiveParamsFast' instead.
3681
+ */
3682
+ export function SetLinkPrimitiveParams(linkNumber: number, parameters: list): void
3558
3683
 
3559
3684
  /**
3560
3685
  * Set primitive parameters for LinkNumber based on Parameters, without a delay.
3561
3686
  * Set 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.
3562
3687
  */
3563
- export function SetLinkPrimitiveParamsFast(LinkNumber: number, Parameters: list): void
3688
+ export function SetLinkPrimitiveParamsFast(linkNumber: number, parameters: list): void
3564
3689
 
3565
3690
  /** 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. */
3566
3691
  export function SetLinkRenderMaterial(
3567
- LinkNumber: number,
3568
- RenderMaterial: string,
3569
- Face: number,
3692
+ linkNumber: number,
3693
+ renderMaterial: string,
3694
+ face: number,
3570
3695
  ): void
3571
3696
 
3572
3697
  /** Sets the sit flags for the specified prim in a linkset. */
3573
- export function SetLinkSitFlags(LinkNumber: number, Flags: number): void
3698
+ export function SetLinkSitFlags(linkNumber: number, flags: number): void
3574
3699
 
3575
3700
  /** 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. */
3576
- export function SetLinkTexture(LinkNumber: number, Texture: string, Face: number): void
3701
+ export function SetLinkTexture(linkNumber: number, texture: string, face: number): void
3577
3702
 
3578
3703
  /**
3579
3704
  * Animates a texture on the prim specified by LinkNumber, by setting the texture scale and offset.
@@ -3584,30 +3709,30 @@ declare namespace ll {
3584
3709
  * Rate specifies the animation playback rate.
3585
3710
  */
3586
3711
  export function SetLinkTextureAnim(
3587
- LinkNumber: number,
3588
- Mode: number,
3589
- Face: number,
3590
- SizeX: number,
3591
- SizeY: number,
3592
- Start: number,
3593
- Length: number,
3594
- Rate: number,
3712
+ linkNumber: number,
3713
+ mode: number,
3714
+ face: number,
3715
+ sizeX: number,
3716
+ sizeY: number,
3717
+ start: number,
3718
+ length: number,
3719
+ rate: number,
3595
3720
  ): void
3596
3721
 
3597
3722
  /** Sets the rotation of a child prim relative to the root prim. */
3598
- export function SetLocalRot(Rotation: quaternion): void
3723
+ export function SetLocalRot(rotation: quaternion): void
3599
3724
 
3600
3725
  /**
3601
3726
  * Sets the description of the prim to Description.
3602
3727
  * The description field is limited to 127 characters.
3603
3728
  */
3604
- export function SetObjectDesc(Description: string): void
3729
+ export function SetObjectDesc(description: string): void
3605
3730
 
3606
3731
  /** Sets the prim's name to Name. */
3607
- export function SetObjectName(Name: string): void
3732
+ export function SetObjectName(name: string): void
3608
3733
 
3609
3734
  /** Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to. */
3610
- export function SetObjectPermMask(PermissionFlag: number, PermissionMask: number): void
3735
+ export function SetObjectPermMask(permissionFlag: number, permissionMask: number): void
3611
3736
 
3612
3737
  /**
3613
3738
  * Sets the parcel the object is on for sale.
@@ -3615,31 +3740,31 @@ declare namespace ll {
3615
3740
  * Setting ForSale to FALSE will remove the parcel from sale and clear any options that were set.
3616
3741
  * Requires the PERMISSION_PRIVILEGED_LAND_ACCESS permission.
3617
3742
  */
3618
- export function SetParcelForSale(ForSale: number, Options: list): number
3743
+ export function SetParcelForSale(forSale: number, options: list): number
3619
3744
 
3620
3745
  /**
3621
3746
  * Sets the streaming audio URL for the parcel the object is on.
3622
3747
  * The object must be owned by the owner of the parcel; if the parcel is group owned the object must be owned by that group.
3623
3748
  */
3624
- export function SetParcelMusicURL(URL: string): void
3749
+ export function SetParcelMusicURL(url: string): void
3625
3750
 
3626
3751
  /**
3627
3752
  * Sets the default amount when someone chooses to pay this object.
3628
3753
  * Price is the default price shown in the text input field. QuickButtons specifies the 4 payment values shown in the payment dialog's buttons.
3629
3754
  * Input field and buttons may be hidden with PAY_HIDE constant, and may be set to their default values using PAY_DEFAULT.
3630
3755
  */
3631
- export function SetPayPrice(Price: number, QuickButtons: number[]): void
3756
+ export function SetPayPrice(price: number, quickButtons: number[]): void
3632
3757
 
3633
3758
  /**
3634
3759
  * Sets the selected parameters of the object's physics behavior.
3635
3760
  * MaterialBits 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.
3636
3761
  */
3637
3762
  export function SetPhysicsMaterial(
3638
- MaterialBits: number,
3639
- GravityMultiplier: number,
3640
- Restitution: number,
3641
- Friction: number,
3642
- Density: number,
3763
+ materialBits: number,
3764
+ gravityMultiplier: number,
3765
+ restitution: number,
3766
+ friction: number,
3767
+ density: number,
3643
3768
  ): void
3644
3769
 
3645
3770
  /**
@@ -3647,19 +3772,25 @@ declare namespace ll {
3647
3772
  * If the script is in a child prim, Position is treated as root relative and the link-set is adjusted.
3648
3773
  * If the prim is the root prim, the entire object is moved (up to 10m) to Position in region coordinates.
3649
3774
  */
3650
- export function SetPos(Position: vector): void
3775
+ export function SetPos(position: vector): void
3651
3776
 
3652
3777
  /**
3653
3778
  * 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).
3654
3779
  * MediaParameters 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.
3655
3780
  */
3656
- export function SetPrimMediaParams(Face: number, MediaParameters: list): number
3781
+ export function SetPrimMediaParams(face: number, mediaParameters: list): number
3657
3782
 
3658
- /** Deprecated: Use llSetPrimMediaParams instead. */
3659
- export function SetPrimURL(URL: string): void
3783
+ /**
3784
+ * Deprecated: Use llSetPrimMediaParams instead.
3785
+ * @deprecated Use 'll.SetPrimMediaParams' instead.
3786
+ */
3787
+ export function SetPrimURL(url: string): void
3660
3788
 
3661
- /** Deprecated: Use llSetLinkPrimitiveParamsFast instead. */
3662
- export function SetPrimitiveParams(Parameters: list): void
3789
+ /**
3790
+ * Deprecated: Use llSetLinkPrimitiveParamsFast instead.
3791
+ * @deprecated Use 'll.SetLinkPrimitiveParamsFast' instead.
3792
+ */
3793
+ export function SetPrimitiveParams(parameters: list): void
3663
3794
 
3664
3795
  /**
3665
3796
  * Attempts to move the object so that the root prim is within 0.1m of Position.
@@ -3667,58 +3798,58 @@ declare namespace ll {
3667
3798
  * Position may be any location within the region or up to 10m across a region border.
3668
3799
  * If the position is below ground, it will be set to the ground level at that x,y location.
3669
3800
  */
3670
- export function SetRegionPos(Position: vector): number
3801
+ export function SetRegionPos(position: vector): number
3671
3802
 
3672
3803
  /** 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. */
3673
- export function SetRemoteScriptAccessPin(PIN: number): void
3804
+ export function SetRemoteScriptAccessPin(pin: number): void
3674
3805
 
3675
3806
  /**
3676
3807
  * Applies Render Material to Face of prim.
3677
3808
  * Render Material may be a UUID or name of a material in prim inventory.
3678
3809
  * If Face is ALL_SIDES, set the render material on all faces.
3679
3810
  */
3680
- export function SetRenderMaterial(Material: string, Face: number): void
3811
+ export function SetRenderMaterial(material: string, face: number): void
3681
3812
 
3682
3813
  /**
3683
3814
  * If the object is not physical, this function sets the rotation of the prim.
3684
3815
  * If the script is in a child prim, Rotation is treated as root relative and the link-set is adjusted.
3685
3816
  * If the prim is the root prim, the entire object is rotated to Rotation in the global reference frame.
3686
3817
  */
3687
- export function SetRot(Rotation: quaternion): void
3818
+ export function SetRot(rotation: quaternion): void
3688
3819
 
3689
3820
  /** Sets the prim's scale (size) to Scale. */
3690
- export function SetScale(Scale: vector): void
3821
+ export function SetScale(scale: vector): void
3691
3822
 
3692
3823
  /** Enable or disable the script Running state of Script in the prim. */
3693
- export function SetScriptState(ScriptName: string, Running: number): void
3824
+ export function SetScriptState(scriptName: string, running: number): void
3694
3825
 
3695
3826
  /** Displays Text rather than 'Sit' in the viewer's context menu. */
3696
- export function SetSitText(Text: string): void
3827
+ export function SetSitText(text: string): void
3697
3828
 
3698
3829
  /**
3699
3830
  * Sets whether successive calls to llPlaySound, llLoopSound, etc., (attached sounds) interrupt the currently playing sound.
3700
3831
  * The 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.
3701
3832
  */
3702
- export function SetSoundQueueing(QueueEnable: number): void
3833
+ export function SetSoundQueueing(queueEnable: number): void
3703
3834
 
3704
3835
  /** Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius. */
3705
- export function SetSoundRadius(Radius: number): void
3836
+ export function SetSoundRadius(radius: number): void
3706
3837
 
3707
3838
  /**
3708
3839
  * Sets object status specified in Status bitmask (e.g. STATUS_PHYSICS|STATUS_PHANTOM) to boolean Value.
3709
3840
  * For a full list of STATUS_* constants, see wiki documentation.
3710
3841
  */
3711
- export function SetStatus(Status: number, Value: number): void
3842
+ export function SetStatus(status: number, value: number): void
3712
3843
 
3713
3844
  /** Causes Text to float above the prim, using the specified Color and Opacity. */
3714
- export function SetText(Text: string, Color: vector, Opacity: number): void
3845
+ export function SetText(text: string, color: vector, opacity: number): void
3715
3846
 
3716
3847
  /**
3717
3848
  * Applies Texture to Face of prim.
3718
3849
  * Texture may be a UUID or name of a texture in prim inventory.
3719
3850
  * If Face is ALL_SIDES, set the texture on all faces.
3720
3851
  */
3721
- export function SetTexture(Texture: string, Face: number): void
3852
+ export function SetTexture(texture: string, face: number): void
3722
3853
 
3723
3854
  /**
3724
3855
  * Animates a texture by setting the texture scale and offset.
@@ -3729,119 +3860,121 @@ declare namespace ll {
3729
3860
  * Rate specifies the animation playback rate.
3730
3861
  */
3731
3862
  export function SetTextureAnim(
3732
- Mode: number,
3733
- Face: number,
3734
- SizeX: number,
3735
- SizeY: number,
3736
- Start: number,
3737
- Length: number,
3738
- Rate: number,
3863
+ mode: number,
3864
+ face: number,
3865
+ sizeX: number,
3866
+ sizeY: number,
3867
+ start: number,
3868
+ length: number,
3869
+ rate: number,
3739
3870
  ): void
3740
3871
 
3741
3872
  /**
3742
3873
  * Sets the Torque acting on the script's object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).
3743
3874
  * Only works on physical objects.
3744
3875
  */
3745
- export function SetTorque(Torque: vector, Local: number): void
3876
+ export function SetTorque(torque: vector, local: number): void
3746
3877
 
3747
3878
  /** Displays Text in the viewer context menu that acts on a touch. */
3748
- export function SetTouchText(Text: string): void
3879
+ export function SetTouchText(text: string): void
3749
3880
 
3750
3881
  /**
3751
3882
  * Enables the vehicle flags specified in the Flags bitmask.
3752
3883
  * Valid parameters can be found in the wiki documentation.
3753
3884
  */
3754
- export function SetVehicleFlags(Flags: number): void
3885
+ export function SetVehicleFlags(flags: number): void
3755
3886
 
3756
3887
  /**
3757
3888
  * Sets a vehicle float parameter.
3758
3889
  * Valid parameters can be found in the wiki documentation.
3759
3890
  */
3760
- export function SetVehicleFloatParam(ParameterName: number, ParameterValue: number): void
3891
+ export function SetVehicleFloatParam(parameterName: number, parameterValue: number): void
3761
3892
 
3762
3893
  /**
3763
3894
  * Sets a vehicle rotation parameter.
3764
3895
  * Valid parameters can be found in the wiki documentation.
3765
3896
  */
3766
- export function SetVehicleRotationParam(ParameterName: number, ParameterValue: quaternion): void
3897
+ export function SetVehicleRotationParam(parameterName: number, parameterValue: quaternion): void
3767
3898
 
3768
3899
  /**
3769
3900
  * Activates the vehicle action on the object with vehicle preset Type.
3770
3901
  * Valid Types and an explanation of their characteristics can be found in wiki documentation.
3771
3902
  */
3772
- export function SetVehicleType(Type: number): void
3903
+ export function SetVehicleType(type: number): void
3773
3904
 
3774
3905
  /**
3775
3906
  * Sets a vehicle vector parameter.
3776
3907
  * Valid parameters can be found in the wiki documentation.
3777
3908
  */
3778
- export function SetVehicleVectorParam(ParameterName: number, ParameterValue: vector): void
3909
+ export function SetVehicleVectorParam(parameterName: number, parameterValue: vector): void
3779
3910
 
3780
3911
  /**
3781
3912
  * If the object is physics-enabled, sets the object's linear velocity to Velocity.
3782
3913
  * If Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global directional vector.
3783
3914
  */
3784
- export function SetVelocity(Velocity: vector, Local: number): void
3915
+ export function SetVelocity(velocity: vector, local: number): void
3785
3916
 
3786
3917
  /**
3787
3918
  * Shouts Text on Channel.
3788
3919
  * This chat method has a range of 100m radius.
3789
3920
  * PUBLIC_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.
3790
3921
  */
3791
- export function Shout(Channel: number, Text: string): void
3922
+ export function Shout(channel: number, text: string): void
3792
3923
 
3793
3924
  /** Returns the base64-encoded RSA signature of Message using PEM-formatted PrivateKey and digest Algorithm (sha1, sha224, sha256, sha384, sha512). */
3794
- export function SignRSA(PrivateKey: string, Message: string, Algorithm: string): string
3925
+ export function SignRSA(privateKey: string, message: string, algorithm: string): string
3795
3926
 
3796
3927
  /** Returns the sine of Theta (Theta in radians). */
3797
- export function Sin(Theta: number): number
3928
+ export function Sin(theta: number): number
3798
3929
 
3799
3930
  /** If agent identified by AvatarID is participating in the experience, sit them on the specified link's sit target. */
3800
- export function SitOnLink(AvatarID: uuid, LinkID: number): number
3931
+ export function SitOnLink(avatarId: uuid, linkId: number): number
3801
3932
 
3802
3933
  /** Set the sit location for this object. If offset == ZERO_VECTOR, clears the sit target. */
3803
- export function SitTarget(Offset: vector, Rotation: quaternion): void
3934
+ export function SitTarget(offset: vector, rotation: quaternion): void
3804
3935
 
3805
3936
  /** Put script to sleep for Time seconds. */
3806
- export function Sleep(Time: number): void
3937
+ export function Sleep(time: number): void
3807
3938
 
3808
3939
  /**
3809
3940
  * Deprecated: Use llPlaySound instead.
3810
3941
  * Plays Sound at Volume and specifies whether the sound should loop and/or be enqueued.
3942
+ * @deprecated Use 'll.PlaySound' instead.
3811
3943
  */
3812
- export function Sound(Sound: string, Volume: number, Queue: number, Loop: number): void
3944
+ export function Sound(sound: string, volume: number, queue: number, loop: number): void
3813
3945
 
3814
3946
  /**
3815
3947
  * Deprecated: Use llPreloadSound instead.
3816
3948
  * Preloads a sound on viewers within range.
3949
+ * @deprecated Use 'll.PreloadSound' instead.
3817
3950
  */
3818
- export function SoundPreload(Sound: string): void
3951
+ export function SoundPreload(sound: string): void
3819
3952
 
3820
3953
  /**
3821
3954
  * Returns the square root of Value.
3822
3955
  * Triggers a math runtime error for imaginary results (if Value < 0.0).
3823
3956
  */
3824
- export function Sqrt(Value: number): number
3957
+ export function Sqrt(value: number): number
3825
3958
 
3826
3959
  /**
3827
3960
  * This function plays the specified animation from playing on the avatar who received the script's most recent permissions request.
3828
3961
  * Animation may be an animation in task inventory or a built-in animation.
3829
3962
  * Requires the PERMISSION_TRIGGER_ANIMATION runtime permission (automatically granted to attached or sat on objects).
3830
3963
  */
3831
- export function StartAnimation(Animation: string): void
3964
+ export function StartAnimation(animation: string): void
3832
3965
 
3833
3966
  /**
3834
3967
  * This function plays the specified animation on the rigged mesh object associated with the current script.
3835
3968
  * Animation may be an animation in task inventory or a built-in animation.
3836
3969
  */
3837
- export function StartObjectAnimation(Animation: string): void
3970
+ export function StartObjectAnimation(animation: string): void
3838
3971
 
3839
3972
  /**
3840
3973
  * This function stops the specified animation on the avatar who received the script's most recent permissions request.
3841
3974
  * Animation may be an animation in task inventory, a built-in animation, or the uuid of an animation.
3842
3975
  * Requires the PERMISSION_TRIGGER_ANIMATION runtime permission (automatically granted to attached or sat on objects).
3843
3976
  */
3844
- export function StopAnimation(Animation: string): void
3977
+ export function StopAnimation(animation: string): void
3845
3978
 
3846
3979
  /** Stop hovering to a height (due to llSetHoverHeight()). */
3847
3980
  export function StopHover(): void
@@ -3856,18 +3989,25 @@ declare namespace ll {
3856
3989
  * This function stops the specified animation on the rigged mesh object associated with the current script.
3857
3990
  * Animation may be an animation in task inventory, a built-in animation, or the uuid of an animation.
3858
3991
  */
3859
- export function StopObjectAnimation(Animation: string): void
3992
+ export function StopObjectAnimation(animation: string): void
3860
3993
 
3994
+ /** @deprecated */
3861
3995
  export function StopPointAt(): void
3862
3996
 
3863
3997
  /** Stops playback of the currently attached sound. */
3864
3998
  export function StopSound(): void
3865
3999
 
3866
- /** Returns an integer that is the number of characters in Text (not counting the null). */
3867
- export function StringLength(Text: string): number
4000
+ /**
4001
+ * Returns an integer that is the number of characters in Text (not counting the null).
4002
+ * @deprecated Use 'utf8.len' or '#' or 'string.len' instead.
4003
+ */
4004
+ export function StringLength(text: string): number
3868
4005
 
3869
- /** Returns the string Base64 representation of the input string. */
3870
- export function StringToBase64(Text: string): string
4006
+ /**
4007
+ * Returns the string Base64 representation of the input string.
4008
+ * @deprecated Use 'llbase64.encode' instead.
4009
+ */
4010
+ export function StringToBase64(text: string): string
3871
4011
 
3872
4012
  /**
3873
4013
  * Outputs a string, eliminating white-space from the start and/or end of the input string Text.
@@ -3876,44 +4016,47 @@ declare namespace ll {
3876
4016
  * STRING_TRIM_TAIL: trim all trailing spaces in Text
3877
4017
  * STRING_TRIM: trim all leading and trailing spaces in Text.
3878
4018
  */
3879
- export function StringTrim(Text: string, TrimType: number): string
4019
+ export function StringTrim(text: string, trimType: number): string
3880
4020
 
3881
4021
  /**
3882
4022
  * Returns the first index where Sequence appears in Text. Returns -1 if not found.
3883
4023
  * @indexReturn
3884
4024
  */
3885
- export function SubStringIndex(Text: string, Sequence: string): number | undefined
4025
+ export function SubStringIndex(text: string, sequence: string): number | undefined
3886
4026
 
3887
- /** Deprecated: Use llSetCameraParams instead. */
3888
- export function TakeCamera(AvatarID: uuid): void
4027
+ /**
4028
+ * Deprecated: Use llSetCameraParams instead.
4029
+ * @deprecated Use 'll.SetCameraParams' instead.
4030
+ */
4031
+ export function TakeCamera(avatarId: uuid): void
3889
4032
 
3890
4033
  /**
3891
4034
  * Take controls from the agent the script has permissions for.
3892
4035
  * If (Accept == (Controls & input)), send input to the script. PassOn determines whether Controls also perform their normal functions.
3893
4036
  * Requires the PERMISSION_TAKE_CONTROLS runtime permission (automatically granted to attached or sat on objects).
3894
4037
  */
3895
- export function TakeControls(Controls: number, Accept: number, PassOn: number): void
4038
+ export function TakeControls(controls: number, accept: number, passOn: number): void
3896
4039
 
3897
4040
  /** Returns the tangent of Theta (Theta in radians). */
3898
- export function Tan(Theta: number): number
4041
+ export function Tan(theta: number): number
3899
4042
 
3900
4043
  /**
3901
4044
  * This function is to have the script know when it has reached a position.
3902
4045
  * It registers a Position with a Range that triggers at_target and not_at_target events continuously until unregistered.
3903
4046
  */
3904
- export function Target(Position: vector, Range: number): number
4047
+ export function Target(position: vector, range: number): number
3905
4048
 
3906
4049
  /**
3907
4050
  * Attempt to spin at SpinRate with strength Gain on Axis.
3908
4051
  * A spin rate of 0.0 cancels the spin. This function always works in object-local coordinates.
3909
4052
  */
3910
- export function TargetOmega(Axis: vector, SpinRate: number, Gain: number): void
4053
+ export function TargetOmega(axis: vector, spinRate: number, gain: number): void
3911
4054
 
3912
4055
  /** Removes positional target Handle registered with llTarget. */
3913
- export function TargetRemove(Target: number): void
4056
+ export function TargetRemove(target: number): void
3914
4057
 
3915
4058
  /** Sends an email with Subject and Message to the owner or creator of an object. */
3916
- export function TargetedEmail(Target: number, Subject: string, Text: string): void
4059
+ export function TargetedEmail(target: number, subject: string, text: string): void
3917
4060
 
3918
4061
  /**
3919
4062
  * 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.
@@ -3921,10 +4064,10 @@ declare namespace ll {
3921
4064
  * This function can only teleport the owner of the object.
3922
4065
  */
3923
4066
  export function TeleportAgent(
3924
- AvatarID: uuid,
3925
- LandmarkName: string,
3926
- Position: vector,
3927
- LookAtPoint: vector,
4067
+ avatarId: uuid,
4068
+ landmarkName: string,
4069
+ position: vector,
4070
+ lookAtPoint: vector,
3928
4071
  ): void
3929
4072
 
3930
4073
  /**
@@ -3933,80 +4076,80 @@ declare namespace ll {
3933
4076
  * This function can only teleport the owner of the object.
3934
4077
  */
3935
4078
  export function TeleportAgentGlobalCoords(
3936
- AvatarID: uuid,
3937
- GlobalPosition: vector,
3938
- RegionPosition: vector,
3939
- LookAtPoint: vector,
4079
+ avatarId: uuid,
4080
+ globalPosition: vector,
4081
+ regionPosition: vector,
4082
+ lookAtPoint: vector,
3940
4083
  ): void
3941
4084
 
3942
4085
  /** Teleport agent over the owner's land to agent's home location. */
3943
- export function TeleportAgentHome(AvatarID: uuid): void
4086
+ export function TeleportAgentHome(avatarId: uuid): void
3944
4087
 
3945
4088
  /** 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. */
3946
- export function TextBox(AvatarID: uuid, Text: string, Channel: number): void
4089
+ export function TextBox(avatarId: uuid, text: string, channel: number): void
3947
4090
 
3948
4091
  /** Returns a string that is Text with all lower-case characters. */
3949
- export function ToLower(Text: string): string
4092
+ export function ToLower(text: string): string
3950
4093
 
3951
4094
  /** Returns a string that is Text with all upper-case characters. */
3952
- export function ToUpper(Text: string): string
4095
+ export function ToUpper(text: string): string
3953
4096
 
3954
4097
  /**
3955
4098
  * 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.
3956
4099
  * Attempts 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.
3957
4100
  */
3958
- export function TransferLindenDollars(AvatarID: uuid, Amount: number): uuid
4101
+ export function TransferLindenDollars(avatarId: uuid, amount: number): uuid
3959
4102
 
3960
4103
  /** Transfers ownership of an object, or a copy of the object to a new agent. */
3961
- export function TransferOwnership(AgentID: uuid, Flags: number, Params: list): number
4104
+ export function TransferOwnership(agentId: uuid, flags: number, params: list): number
3962
4105
 
3963
4106
  /**
3964
4107
  * Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object.
3965
4108
  * There 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.
3966
4109
  */
3967
- export function TriggerSound(Sound: string, Volume: number): void
4110
+ export function TriggerSound(sound: string, volume: number): void
3968
4111
 
3969
4112
  /**
3970
4113
  * 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).
3971
4114
  * There 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.
3972
4115
  */
3973
- export function TriggerSoundLimited(Sound: string, Volume: number, TNE: vector, BSW: vector): void
4116
+ export function TriggerSoundLimited(sound: string, volume: number, tne: vector, bsw: vector): void
3974
4117
 
3975
4118
  /** 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. */
3976
- export function UnSit(AvatarID: uuid): void
4119
+ export function UnSit(avatarId: uuid): void
3977
4120
 
3978
4121
  /**
3979
4122
  * Returns the string that is the URL unescaped, replacing "%20" with spaces, etc., version of URL.
3980
4123
  * This function can output raw UTF-8 strings.
3981
4124
  */
3982
- export function UnescapeURL(URL: string): string
4125
+ export function UnescapeURL(url: string): string
3983
4126
 
3984
4127
  /** Updates settings for a pathfinding character. */
3985
- export function UpdateCharacter(Options: list): void
4128
+ export function UpdateCharacter(options: list): void
3986
4129
 
3987
4130
  /** 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. */
3988
4131
  export function UpdateKeyValue(
3989
- Key: string,
3990
- Value: string,
3991
- Checked: number,
3992
- OriginalValue: string,
4132
+ key: string,
4133
+ value: string,
4134
+ checked: number,
4135
+ originalValue: string,
3993
4136
  ): uuid
3994
4137
 
3995
4138
  /** Returns the distance between Location1 and Location2. */
3996
- export function VecDist(Location1: vector, Location2: vector): number
4139
+ export function VecDist(location1: vector, location2: vector): number
3997
4140
 
3998
4141
  /** Returns the magnitude of the vector. */
3999
- export function VecMag(Vector: vector): number
4142
+ export function VecMag(vector: vector): number
4000
4143
 
4001
4144
  /** Returns normalized vector. */
4002
- export function VecNorm(Vector: vector): vector
4145
+ export function VecNorm(vector: vector): vector
4003
4146
 
4004
4147
  /** Returns TRUE if PublicKey, Message, and Algorithm produce the same base64-formatted Signature. */
4005
4148
  export function VerifyRSA(
4006
- PublicKey: string,
4007
- Message: string,
4008
- Signature: string,
4009
- Algorithm: string,
4149
+ publicKey: string,
4150
+ message: string,
4151
+ signature: string,
4152
+ algorithm: string,
4010
4153
  ): number
4011
4154
 
4012
4155
  /**
@@ -4014,46 +4157,48 @@ declare namespace ll {
4014
4157
  * If another object (including avatars) interpenetrates it, it will get a collision_start event.
4015
4158
  * When an object stops interpenetrating, a collision_end event is generated. While the other is inter-penetrating, collision events are NOT generated.
4016
4159
  */
4017
- export function VolumeDetect(DetectEnabled: number): void
4160
+ export function VolumeDetect(detectEnabled: number): void
4018
4161
 
4019
4162
  /**
4020
4163
  * Wander within a specified volume.
4021
4164
  * Sets a character to wander about a central spot within a specified area.
4022
4165
  */
4023
- export function WanderWithin(Origin: vector, Area: vector, Options: list): void
4166
+ export function WanderWithin(origin: vector, area: vector, options: list): void
4024
4167
 
4025
4168
  /** Returns the water height below the object position + Offset. */
4026
- export function Water(Offset: vector): number
4169
+ export function Water(offset: vector): number
4027
4170
 
4028
4171
  /**
4029
4172
  * Whispers Text on Channel.
4030
4173
  * This chat method has a range of 10m radius.
4031
4174
  * PUBLIC_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.
4032
4175
  */
4033
- export function Whisper(Channel: number, Text: string): void
4176
+ export function Whisper(channel: number, text: string): void
4034
4177
 
4035
4178
  /** Returns the wind velocity at the object position + Offset. */
4036
- export function Wind(Offset: vector): vector
4179
+ export function Wind(offset: vector): vector
4037
4180
 
4038
4181
  /** 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). */
4039
- export function WorldPosToHUD(world_pos: vector): vector
4182
+ export function WorldPosToHUD(worldPos: vector): vector
4040
4183
 
4041
4184
  /** Performs an exclusive OR on two Base64 strings and returns a Base64 string. Text2 repeats if it is shorter than Text1. */
4042
- export function XorBase64(Text1: string, Text2: string): string
4185
+ export function XorBase64(text1: string, text2: string): string
4043
4186
 
4044
4187
  /**
4045
4188
  * Deprecated: Please use llXorBase64 instead.
4046
4189
  * Incorrectly performs an exclusive OR on two Base64 strings and returns a Base64 string. Text2 repeats if it is shorter than Text1.
4047
4190
  * Retained for backwards compatibility.
4191
+ * @deprecated Use 'll.XorBase64' instead.
4048
4192
  */
4049
- export function XorBase64Strings(Text1: string, Text2: string): string
4193
+ export function XorBase64Strings(text1: string, text2: string): string
4050
4194
 
4051
4195
  /**
4052
4196
  * Deprecated: Please use llXorBase64 instead.
4053
4197
  * Correctly (unless nulls are present) performs an exclusive OR on two Base64 strings and returns a Base64 string.
4054
4198
  * Text2 repeats if it is shorter than Text1.
4199
+ * @deprecated Use 'll.XorBase64' instead.
4055
4200
  */
4056
- export function XorBase64StringsCorrect(Text1: string, Text2: string): string
4201
+ export function XorBase64StringsCorrect(text1: string, text2: string): string
4057
4202
 
4058
4203
  /** Converts a color from the sRGB to the linear colorspace. */
4059
4204
  export function sRGB2Linear(srgb: vector): vector
@@ -4153,7 +4298,10 @@ declare const ATTACH_LHIP: number
4153
4298
  declare const ATTACH_LLARM: number
4154
4299
  /** Attach to the avatar's lower left leg. */
4155
4300
  declare const ATTACH_LLLEG: number
4156
- /** Attach to the avatar's right pectoral. (Deprecated, use ATTACH_RIGHT_PEC) */
4301
+ /**
4302
+ * Attach to the avatar's right pectoral. (Deprecated, use ATTACH_RIGHT_PEC)
4303
+ * @deprecated Use 'ATTACH_RIGHT_PEC' instead.
4304
+ */
4157
4305
  declare const ATTACH_LPEC: number
4158
4306
  /** Attach to the avatar's left shoulder. */
4159
4307
  declare const ATTACH_LSHOULDER: number
@@ -4189,7 +4337,10 @@ declare const ATTACH_RIGHT_PEC: number
4189
4337
  declare const ATTACH_RLARM: number
4190
4338
  /** Attach to the avatar's right lower leg. */
4191
4339
  declare const ATTACH_RLLEG: number
4192
- /** Attach to the avatar's left pectoral. (deprecated, use ATTACH_LEFT_PEC) */
4340
+ /**
4341
+ * Attach to the avatar's left pectoral. (deprecated, use ATTACH_LEFT_PEC)
4342
+ * @deprecated Use 'ATTACH_LEFT_PEC' instead.
4343
+ */
4193
4344
  declare const ATTACH_RPEC: number
4194
4345
  /** Attach to the avatar's right shoulder. */
4195
4346
  declare const ATTACH_RSHOULDER: number
@@ -5009,6 +5160,7 @@ declare const PRIM_BUMP_SUCTION: number
5009
5160
  declare const PRIM_BUMP_TILE: number
5010
5161
  declare const PRIM_BUMP_WEAVE: number
5011
5162
  declare const PRIM_BUMP_WOOD: number
5163
+ /** @deprecated Not implemented. */
5012
5164
  declare const PRIM_CAST_SHADOWS: number
5013
5165
  /** [PRIM_CLICK_ACTION, integer CLICK_ACTION_*] */
5014
5166
  declare const PRIM_CLICK_ACTION: number
@@ -5349,8 +5501,11 @@ declare const REGION_FLAG_DISABLE_PHYSICS: number
5349
5501
  declare const REGION_FLAG_FIXED_SUN: number
5350
5502
  declare const REGION_FLAG_RESTRICT_PUSHOBJECT: number
5351
5503
  declare const REGION_FLAG_SANDBOX: number
5504
+ /** @deprecated */
5352
5505
  declare const REMOTE_DATA_CHANNEL: number
5506
+ /** @deprecated */
5353
5507
  declare const REMOTE_DATA_REPLY: number
5508
+ /** @deprecated */
5354
5509
  declare const REMOTE_DATA_REQUEST: number
5355
5510
  /** Define whether the character needs a line-of-sight to give chase. */
5356
5511
  declare const REQUIRE_LINE_OF_SIGHT: number
@@ -5670,19 +5825,40 @@ declare const TRAVERSAL_TYPE_NONE: number
5670
5825
  declare const TRAVERSAL_TYPE_SLOW: number
5671
5826
  /** 6.28318530 - The radians of a circle. */
5672
5827
  declare const TWO_PI: number
5673
- /** The list entry is a float. */
5828
+ /**
5829
+ * The list entry is a float.
5830
+ * @deprecated Use '"number"' instead.
5831
+ */
5674
5832
  declare const TYPE_FLOAT: number
5675
- /** The list entry is an integer. */
5833
+ /**
5834
+ * The list entry is an integer.
5835
+ * @deprecated Use '"number"' instead.
5836
+ */
5676
5837
  declare const TYPE_INTEGER: number
5677
- /** The list entry is invalid. */
5838
+ /**
5839
+ * The list entry is invalid.
5840
+ * @deprecated Use 'nil' instead.
5841
+ */
5678
5842
  declare const TYPE_INVALID: number
5679
- /** The list entry is a key. */
5843
+ /**
5844
+ * The list entry is a key.
5845
+ * @deprecated Use '"uuid"' instead.
5846
+ */
5680
5847
  declare const TYPE_KEY: number
5681
- /** The list entry is a rotation. */
5848
+ /**
5849
+ * The list entry is a rotation.
5850
+ * @deprecated Use '"quaternion"' instead.
5851
+ */
5682
5852
  declare const TYPE_ROTATION: number
5683
- /** The list entry is a string. */
5853
+ /**
5854
+ * The list entry is a string.
5855
+ * @deprecated Use '"string"' instead.
5856
+ */
5684
5857
  declare const TYPE_STRING: number
5685
- /** The list entry is a vector. */
5858
+ /**
5859
+ * The list entry is a vector.
5860
+ * @deprecated Use '"vector"' instead.
5861
+ */
5686
5862
  declare const TYPE_VECTOR: number
5687
5863
  declare const URL_REQUEST_DENIED: string
5688
5864
  declare const URL_REQUEST_GRANTED: string
@@ -5725,7 +5901,10 @@ declare const VEHICLE_FLAG_MOUSELOOK_BANK: number
5725
5901
  declare const VEHICLE_FLAG_MOUSELOOK_STEER: number
5726
5902
  /** This flag prevents linear deflection parallel to world z-axis. This is useful for preventing ground vehicles with large linear deflection, like bumper cars, from climbing their linear deflection into the sky. */
5727
5903
  declare const VEHICLE_FLAG_NO_DEFLECTION_UP: number
5728
- /** Old, changed to VEHICLE_FLAG_NO_DEFLECTION_UP */
5904
+ /**
5905
+ * Old, changed to VEHICLE_FLAG_NO_DEFLECTION_UP
5906
+ * @deprecated Use 'VEHICLE_FLAG_NO_DEFLECTION_UP' instead.
5907
+ */
5729
5908
  declare const VEHICLE_FLAG_NO_FLY_UP: number
5730
5909
  /** A slider between minimum (0.0 = bouncy) and maximum (1.0 = fast as possible) damped motion of the hover behavior. */
5731
5910
  declare const VEHICLE_HOVER_EFFICIENCY: number