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