@gwigz/slua-types 1.1.1 → 1.1.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.
- package/index.d.ts +47 -47
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -262,7 +262,7 @@ declare interface LLEventMap {
|
|
|
262
262
|
/** 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. */
|
|
263
263
|
touch_start: (detected: DetectedEvent[]) => void
|
|
264
264
|
/** Triggered by llTransferLindenDollars() function. */
|
|
265
|
-
transaction_result: (requestId: UUID, success:
|
|
265
|
+
transaction_result: (requestId: UUID, success: boolean, message: string) => void
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
/** 'rotation' is an alias for 'quaternion' */
|
|
@@ -1253,10 +1253,10 @@ declare namespace ll {
|
|
|
1253
1253
|
export function AdjustSoundVolume(volume: number): void
|
|
1254
1254
|
|
|
1255
1255
|
/** Returns TRUE if the agent is in the Experience and the Experience can run in the current location. */
|
|
1256
|
-
export function AgentInExperience(agentId: UUID):
|
|
1256
|
+
export function AgentInExperience(agentId: UUID): boolean
|
|
1257
1257
|
|
|
1258
1258
|
/** If Flag == TRUE, users without object modify permissions can still drop inventory items into the object. */
|
|
1259
|
-
export function AllowInventoryDrop(flag:
|
|
1259
|
+
export function AllowInventoryDrop(flag: boolean): void
|
|
1260
1260
|
|
|
1261
1261
|
/** Returns the angle, in radians, between rotations Rot1 and Rot2. */
|
|
1262
1262
|
export function AngleBetween(rot1: Quaternion, rot2: Quaternion): number
|
|
@@ -1266,14 +1266,14 @@ declare namespace ll {
|
|
|
1266
1266
|
* If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.
|
|
1267
1267
|
* This function only works on physical objects.
|
|
1268
1268
|
*/
|
|
1269
|
-
export function ApplyImpulse(force: Vector, local:
|
|
1269
|
+
export function ApplyImpulse(force: Vector, local: boolean): void
|
|
1270
1270
|
|
|
1271
1271
|
/**
|
|
1272
1272
|
* Applies rotational impulse to the object.
|
|
1273
1273
|
* If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.
|
|
1274
1274
|
* This function only works on physical objects.
|
|
1275
1275
|
*/
|
|
1276
|
-
export function ApplyRotationalImpulse(force: Vector, local:
|
|
1276
|
+
export function ApplyRotationalImpulse(force: Vector, local: boolean): void
|
|
1277
1277
|
|
|
1278
1278
|
/**
|
|
1279
1279
|
* Returns the arc-sine, in radians, of Value.
|
|
@@ -1399,7 +1399,7 @@ declare namespace ll {
|
|
|
1399
1399
|
export function Cloud(offset: Vector): number
|
|
1400
1400
|
|
|
1401
1401
|
/** Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter. */
|
|
1402
|
-
export function CollisionFilter(objectName: string, objectId: UUID, accept:
|
|
1402
|
+
export function CollisionFilter(objectName: string, objectId: UUID, accept: boolean): void
|
|
1403
1403
|
|
|
1404
1404
|
/**
|
|
1405
1405
|
* Suppress default collision sounds, replace default impact sounds with ImpactSound.
|
|
@@ -1437,7 +1437,7 @@ declare namespace ll {
|
|
|
1437
1437
|
* Attempt to link the object the script is in, to target.
|
|
1438
1438
|
* Requires the PERMISSION_CHANGE_LINKS runtime permission.
|
|
1439
1439
|
*/
|
|
1440
|
-
export function CreateLink(targetPrim: UUID, parent:
|
|
1440
|
+
export function CreateLink(targetPrim: UUID, parent: boolean): void
|
|
1441
1441
|
|
|
1442
1442
|
/** Generates a damage event on the targeted agent or task. */
|
|
1443
1443
|
export function Damage(target: UUID, damage: number, type: number): void
|
|
@@ -1475,7 +1475,7 @@ declare namespace ll {
|
|
|
1475
1475
|
export function DeleteSubString(source: string, start: number, end: number): string
|
|
1476
1476
|
|
|
1477
1477
|
/** Derezzes an object previously rezzed by a script in this region. Returns TRUE on success or FALSE if the object could not be derezzed. */
|
|
1478
|
-
export function DerezObject(id: UUID, flags: number):
|
|
1478
|
+
export function DerezObject(id: UUID, flags: number): boolean
|
|
1479
1479
|
|
|
1480
1480
|
/**
|
|
1481
1481
|
* Remove the object containing the script from the avatar.
|
|
@@ -1501,7 +1501,7 @@ declare namespace ll {
|
|
|
1501
1501
|
* It will return FALSE if the object or agent is in the group, but the group is not active.
|
|
1502
1502
|
* @indexArg number
|
|
1503
1503
|
*/
|
|
1504
|
-
export function DetectedGroup(number: number):
|
|
1504
|
+
export function DetectedGroup(number: number): boolean
|
|
1505
1505
|
|
|
1506
1506
|
/**
|
|
1507
1507
|
* Returns the key of detected object or avatar number.
|
|
@@ -1643,7 +1643,7 @@ declare namespace ll {
|
|
|
1643
1643
|
* Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).
|
|
1644
1644
|
* 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.
|
|
1645
1645
|
*/
|
|
1646
|
-
export function EdgeOfWorld(position: Vector, direction: Vector):
|
|
1646
|
+
export function EdgeOfWorld(position: Vector, direction: Vector): boolean
|
|
1647
1647
|
|
|
1648
1648
|
/**
|
|
1649
1649
|
* Ejects AvatarID from land that you own.
|
|
@@ -1723,7 +1723,7 @@ declare namespace ll {
|
|
|
1723
1723
|
* After calling this function with Enable set to TRUE, any agent sitting down on the prim will be forced into mouse-look.
|
|
1724
1724
|
* 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.
|
|
1725
1725
|
*/
|
|
1726
|
-
export function ForceMouselook(enable:
|
|
1726
|
+
export function ForceMouselook(enable: boolean): void
|
|
1727
1727
|
|
|
1728
1728
|
/**
|
|
1729
1729
|
* Returns a pseudo random number in the range [0, Magnitude] or [Magnitude, 0].
|
|
@@ -2177,7 +2177,7 @@ declare namespace ll {
|
|
|
2177
2177
|
* Returns the maximum number of prims allowed on the parcel at Position for a given scope.
|
|
2178
2178
|
* The scope may be set to an individual parcel or the combined resources of all parcels with the same ownership in the region.
|
|
2179
2179
|
*/
|
|
2180
|
-
export function GetParcelMaxPrims(position: Vector, simWide:
|
|
2180
|
+
export function GetParcelMaxPrims(position: Vector, simWide: boolean): number
|
|
2181
2181
|
|
|
2182
2182
|
/**
|
|
2183
2183
|
* Gets the streaming audio URL for the parcel object is on.
|
|
@@ -2192,7 +2192,7 @@ declare namespace ll {
|
|
|
2192
2192
|
* If SimWide is TRUE, it returns the total number of objects for all parcels with matching ownership in the category specified.
|
|
2193
2193
|
* If SimWide is FALSE, it returns the number of objects on this specific parcel in the category specified
|
|
2194
2194
|
*/
|
|
2195
|
-
export function GetParcelPrimCount(position: Vector, category: number, simWide:
|
|
2195
|
+
export function GetParcelPrimCount(position: Vector, category: number, simWide: boolean): number
|
|
2196
2196
|
|
|
2197
2197
|
/**
|
|
2198
2198
|
* Returns a list of up to 100 residents who own objects on the parcel at Position, with per-owner land impact totals.
|
|
@@ -2332,7 +2332,7 @@ declare namespace ll {
|
|
|
2332
2332
|
* Returns TRUE if the script named is running.
|
|
2333
2333
|
* Returns TRUE if ScriptName is running.
|
|
2334
2334
|
*/
|
|
2335
|
-
export function GetScriptState(scriptName: string):
|
|
2335
|
+
export function GetScriptState(scriptName: string): boolean
|
|
2336
2336
|
|
|
2337
2337
|
/** Returns a float that is the requested statistic. */
|
|
2338
2338
|
export function GetSimStats(statType: number): number
|
|
@@ -2358,7 +2358,7 @@ declare namespace ll {
|
|
|
2358
2358
|
export function GetStaticPath(start: Vector, end: Vector, radius: number, parameters: list): list
|
|
2359
2359
|
|
|
2360
2360
|
/** Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to. */
|
|
2361
|
-
export function GetStatus(statusFlag: number):
|
|
2361
|
+
export function GetStatus(statusFlag: number): boolean
|
|
2362
2362
|
|
|
2363
2363
|
/**
|
|
2364
2364
|
* Returns a sub-string from String, in a range specified by the Start and End indices (inclusive).
|
|
@@ -2495,7 +2495,7 @@ declare namespace ll {
|
|
|
2495
2495
|
* The height is above ground level if iWater is FALSE or above the higher of land and water if iWater is TRUE.
|
|
2496
2496
|
* Do not use with vehicles. Only works in physics-enabled objects.
|
|
2497
2497
|
*/
|
|
2498
|
-
export function GroundRepel(height: number, water:
|
|
2498
|
+
export function GroundRepel(height: number, water: boolean, tau: number): void
|
|
2499
2499
|
|
|
2500
2500
|
/**
|
|
2501
2501
|
* Returns the ground slope below the object position + Offset.
|
|
@@ -2542,10 +2542,10 @@ declare namespace ll {
|
|
|
2542
2542
|
export function IntegerToBase64(value: number): string
|
|
2543
2543
|
|
|
2544
2544
|
/** Returns TRUE if avatar ID is a friend of the script owner. */
|
|
2545
|
-
export function IsFriend(agentId: UUID):
|
|
2545
|
+
export function IsFriend(agentId: UUID): boolean
|
|
2546
2546
|
|
|
2547
2547
|
/** Checks the face for a PBR render material. */
|
|
2548
|
-
export function IsLinkGLTFMaterial(link: number, face: number):
|
|
2548
|
+
export function IsLinkGLTFMaterial(link: number, face: number): boolean
|
|
2549
2549
|
|
|
2550
2550
|
/**
|
|
2551
2551
|
* Converts the top level of the JSON string to a list.
|
|
@@ -2614,7 +2614,7 @@ declare namespace ll {
|
|
|
2614
2614
|
): void
|
|
2615
2615
|
|
|
2616
2616
|
/** Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius around the link. */
|
|
2617
|
-
export function LinkSetSoundQueueing(linkNumber: number, queueEnable:
|
|
2617
|
+
export function LinkSetSoundQueueing(linkNumber: number, queueEnable: boolean): void
|
|
2618
2618
|
|
|
2619
2619
|
/** Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius around the link. */
|
|
2620
2620
|
export function LinkSetSoundRadius(linkNumber: number, radius: number): void
|
|
@@ -2825,7 +2825,7 @@ declare namespace ll {
|
|
|
2825
2825
|
export function ListReplaceList(target: T[], listVariable: T[], start: number, end: number): T[]
|
|
2826
2826
|
|
|
2827
2827
|
/** 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. */
|
|
2828
|
-
export function ListSort(listVariable: T[], stride: number, ascending:
|
|
2828
|
+
export function ListSort(listVariable: T[], stride: number, ascending: boolean): T[]
|
|
2829
2829
|
|
|
2830
2830
|
/**
|
|
2831
2831
|
* 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.
|
|
@@ -2835,7 +2835,7 @@ declare namespace ll {
|
|
|
2835
2835
|
listVariable: T[],
|
|
2836
2836
|
stride: number,
|
|
2837
2837
|
sortkey: number,
|
|
2838
|
-
ascending:
|
|
2838
|
+
ascending: boolean,
|
|
2839
2839
|
): T[]
|
|
2840
2840
|
|
|
2841
2841
|
/**
|
|
@@ -2860,7 +2860,7 @@ declare namespace ll {
|
|
|
2860
2860
|
* 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.
|
|
2861
2861
|
* Use boolean values to specify Active
|
|
2862
2862
|
*/
|
|
2863
|
-
export function ListenControl(channelHandle: number, active:
|
|
2863
|
+
export function ListenControl(channelHandle: number, active: boolean): void
|
|
2864
2864
|
|
|
2865
2865
|
/** Removes a listen event callback. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener to remove. */
|
|
2866
2866
|
export function ListenRemove(channelHandle: number): void
|
|
@@ -2989,7 +2989,7 @@ declare namespace ll {
|
|
|
2989
2989
|
* 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.
|
|
2990
2990
|
* The object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script.
|
|
2991
2991
|
*/
|
|
2992
|
-
export function ManageEstateAccess(action: number, avatarId: UUID):
|
|
2992
|
+
export function ManageEstateAccess(action: number, avatarId: UUID): boolean
|
|
2993
2993
|
|
|
2994
2994
|
/** 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. */
|
|
2995
2995
|
export function MapBeacon(regionName: string, position: Vector, options: list): void
|
|
@@ -3066,7 +3066,7 @@ declare namespace ll {
|
|
|
3066
3066
|
* Returns TRUE if id ID over land owned by the script owner, otherwise FALSE.
|
|
3067
3067
|
* Returns TRUE if key ID is over land owned by the object owner, FALSE otherwise.
|
|
3068
3068
|
*/
|
|
3069
|
-
export function OverMyLand(id: UUID):
|
|
3069
|
+
export function OverMyLand(id: UUID): boolean
|
|
3070
3070
|
|
|
3071
3071
|
/**
|
|
3072
3072
|
* says Text to owner only (if owner is in region).
|
|
@@ -3110,13 +3110,13 @@ declare namespace ll {
|
|
|
3110
3110
|
* Configures how collision events are passed to scripts in the linkset.
|
|
3111
3111
|
* 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.
|
|
3112
3112
|
*/
|
|
3113
|
-
export function PassCollisions(pass:
|
|
3113
|
+
export function PassCollisions(pass: boolean): void
|
|
3114
3114
|
|
|
3115
3115
|
/**
|
|
3116
3116
|
* Configures how touch events are passed to scripts in the linkset.
|
|
3117
3117
|
* 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.
|
|
3118
3118
|
*/
|
|
3119
|
-
export function PassTouches(pass:
|
|
3119
|
+
export function PassTouches(pass: boolean): void
|
|
3120
3120
|
|
|
3121
3121
|
/**
|
|
3122
3122
|
* Patrol a list of points.
|
|
@@ -3169,7 +3169,7 @@ declare namespace ll {
|
|
|
3169
3169
|
objectId: UUID,
|
|
3170
3170
|
impulse: Vector,
|
|
3171
3171
|
angularImpulse: Vector,
|
|
3172
|
-
local:
|
|
3172
|
+
local: boolean,
|
|
3173
3173
|
): void
|
|
3174
3174
|
|
|
3175
3175
|
/** 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. */
|
|
@@ -3236,7 +3236,7 @@ declare namespace ll {
|
|
|
3236
3236
|
objectId: UUID,
|
|
3237
3237
|
scriptName: string,
|
|
3238
3238
|
pin: number,
|
|
3239
|
-
running:
|
|
3239
|
+
running: boolean,
|
|
3240
3240
|
startParameter: number,
|
|
3241
3241
|
): void
|
|
3242
3242
|
|
|
@@ -3490,7 +3490,7 @@ declare namespace ll {
|
|
|
3490
3490
|
* Returns TRUE if avatar ID is in the same region and has the same active group, otherwise FALSE.
|
|
3491
3491
|
* 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.
|
|
3492
3492
|
*/
|
|
3493
|
-
export function SameGroup(id: UUID):
|
|
3493
|
+
export function SameGroup(id: UUID): boolean
|
|
3494
3494
|
|
|
3495
3495
|
/**
|
|
3496
3496
|
* Says Text on Channel.
|
|
@@ -3505,7 +3505,7 @@ declare namespace ll {
|
|
|
3505
3505
|
* 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.
|
|
3506
3506
|
* Returns a boolean (an integer) TRUE if it succeeds, FALSE if it fails.
|
|
3507
3507
|
*/
|
|
3508
|
-
export function ScaleByFactor(scalingFactor: number):
|
|
3508
|
+
export function ScaleByFactor(scalingFactor: number): boolean
|
|
3509
3509
|
|
|
3510
3510
|
/**
|
|
3511
3511
|
* Sets the diffuse texture Horizontal and Vertical repeats on Face of the prim the script is attached to.
|
|
@@ -3518,7 +3518,7 @@ declare namespace ll {
|
|
|
3518
3518
|
* 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.
|
|
3519
3519
|
* 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.
|
|
3520
3520
|
*/
|
|
3521
|
-
export function ScriptDanger(position: Vector):
|
|
3521
|
+
export function ScriptDanger(position: Vector): boolean
|
|
3522
3522
|
|
|
3523
3523
|
/**
|
|
3524
3524
|
* Enables or disables script profiling options. Currently only supports PROFILE_SCRIPT_MEMORY (Mono only) and PROFILE_NONE.
|
|
@@ -3580,7 +3580,7 @@ declare namespace ll {
|
|
|
3580
3580
|
* Sets an object's angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical).
|
|
3581
3581
|
* Has no effect on non-physical objects.
|
|
3582
3582
|
*/
|
|
3583
|
-
export function SetAngularVelocity(angVel: Vector, local:
|
|
3583
|
+
export function SetAngularVelocity(angVel: Vector, local: boolean): void
|
|
3584
3584
|
|
|
3585
3585
|
/**
|
|
3586
3586
|
* Sets the animation (in object inventory) that will play for the given animation state.
|
|
@@ -3640,13 +3640,13 @@ declare namespace ll {
|
|
|
3640
3640
|
* Sets Force on object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).
|
|
3641
3641
|
* Only works on physical objects.
|
|
3642
3642
|
*/
|
|
3643
|
-
export function SetForce(force: Vector, local:
|
|
3643
|
+
export function SetForce(force: Vector, local: boolean): void
|
|
3644
3644
|
|
|
3645
3645
|
/**
|
|
3646
3646
|
* Sets the Force and Torque of object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).
|
|
3647
3647
|
* Only works on physical objects.
|
|
3648
3648
|
*/
|
|
3649
|
-
export function SetForceAndTorque(force: Vector, torque: Vector, local:
|
|
3649
|
+
export function SetForceAndTorque(force: Vector, torque: Vector, local: boolean): void
|
|
3650
3650
|
|
|
3651
3651
|
/** Changes terrain texture properties in the region. */
|
|
3652
3652
|
export function SetGroundTexture(changes: list): number
|
|
@@ -3655,7 +3655,7 @@ declare namespace ll {
|
|
|
3655
3655
|
* Critically damps a physical object to a Height (either above ground level or above the higher of land and water if water == TRUE).
|
|
3656
3656
|
* Do not use with vehicles. Use llStopHover to stop hovering.
|
|
3657
3657
|
*/
|
|
3658
|
-
export function SetHoverHeight(height: number, water:
|
|
3658
|
+
export function SetHoverHeight(height: number, water: boolean, tau: number): void
|
|
3659
3659
|
|
|
3660
3660
|
/** Sets the given permission mask to the new value on the inventory item. */
|
|
3661
3661
|
export function SetInventoryPermMask(
|
|
@@ -3760,7 +3760,7 @@ declare namespace ll {
|
|
|
3760
3760
|
* Setting ForSale to FALSE will remove the parcel from sale and clear any options that were set.
|
|
3761
3761
|
* Requires the PERMISSION_PRIVILEGED_LAND_ACCESS permission.
|
|
3762
3762
|
*/
|
|
3763
|
-
export function SetParcelForSale(forSale:
|
|
3763
|
+
export function SetParcelForSale(forSale: boolean, options: list): number
|
|
3764
3764
|
|
|
3765
3765
|
/**
|
|
3766
3766
|
* Sets the streaming audio URL for the parcel the object is on.
|
|
@@ -3818,7 +3818,7 @@ declare namespace ll {
|
|
|
3818
3818
|
* Position may be any location within the region or up to 10m across a region border.
|
|
3819
3819
|
* If the position is below ground, it will be set to the ground level at that x,y location.
|
|
3820
3820
|
*/
|
|
3821
|
-
export function SetRegionPos(position: Vector):
|
|
3821
|
+
export function SetRegionPos(position: Vector): boolean
|
|
3822
3822
|
|
|
3823
3823
|
/** 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. */
|
|
3824
3824
|
export function SetRemoteScriptAccessPin(pin: number): void
|
|
@@ -3841,7 +3841,7 @@ declare namespace ll {
|
|
|
3841
3841
|
export function SetScale(scale: Vector): void
|
|
3842
3842
|
|
|
3843
3843
|
/** Enable or disable the script Running state of Script in the prim. */
|
|
3844
|
-
export function SetScriptState(scriptName: string, running:
|
|
3844
|
+
export function SetScriptState(scriptName: string, running: boolean): void
|
|
3845
3845
|
|
|
3846
3846
|
/** Displays Text rather than 'Sit' in the viewer's context menu. */
|
|
3847
3847
|
export function SetSitText(text: string): void
|
|
@@ -3850,7 +3850,7 @@ declare namespace ll {
|
|
|
3850
3850
|
* Sets whether successive calls to llPlaySound, llLoopSound, etc., (attached sounds) interrupt the currently playing sound.
|
|
3851
3851
|
* 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.
|
|
3852
3852
|
*/
|
|
3853
|
-
export function SetSoundQueueing(queueEnable:
|
|
3853
|
+
export function SetSoundQueueing(queueEnable: boolean): void
|
|
3854
3854
|
|
|
3855
3855
|
/** Limits radius for audibility of scripted sounds (both attached and triggered) to distance Radius. */
|
|
3856
3856
|
export function SetSoundRadius(radius: number): void
|
|
@@ -3859,7 +3859,7 @@ declare namespace ll {
|
|
|
3859
3859
|
* Sets object status specified in Status bitmask (e.g. STATUS_PHYSICS|STATUS_PHANTOM) to boolean Value.
|
|
3860
3860
|
* For a full list of STATUS_* constants, see wiki documentation.
|
|
3861
3861
|
*/
|
|
3862
|
-
export function SetStatus(status: number, value:
|
|
3862
|
+
export function SetStatus(status: number, value: boolean): void
|
|
3863
3863
|
|
|
3864
3864
|
/** Causes Text to float above the prim, using the specified Color and Opacity. */
|
|
3865
3865
|
export function SetText(text: string, color: Vector, opacity: number): void
|
|
@@ -3893,7 +3893,7 @@ declare namespace ll {
|
|
|
3893
3893
|
* Sets the Torque acting on the script's object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).
|
|
3894
3894
|
* Only works on physical objects.
|
|
3895
3895
|
*/
|
|
3896
|
-
export function SetTorque(torque: Vector, local:
|
|
3896
|
+
export function SetTorque(torque: Vector, local: boolean): void
|
|
3897
3897
|
|
|
3898
3898
|
/** Displays Text in the viewer context menu that acts on a touch. */
|
|
3899
3899
|
export function SetTouchText(text: string): void
|
|
@@ -3932,7 +3932,7 @@ declare namespace ll {
|
|
|
3932
3932
|
* If the object is physics-enabled, sets the object's linear velocity to Velocity.
|
|
3933
3933
|
* If Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global directional vector.
|
|
3934
3934
|
*/
|
|
3935
|
-
export function SetVelocity(velocity: Vector, local:
|
|
3935
|
+
export function SetVelocity(velocity: Vector, local: boolean): void
|
|
3936
3936
|
|
|
3937
3937
|
/**
|
|
3938
3938
|
* Shouts Text on Channel.
|
|
@@ -3964,7 +3964,7 @@ declare namespace ll {
|
|
|
3964
3964
|
* Plays Sound at Volume and specifies whether the sound should loop and/or be enqueued.
|
|
3965
3965
|
* @deprecated Use 'll.PlaySound' instead.
|
|
3966
3966
|
*/
|
|
3967
|
-
export function Sound(sound: string, volume: number, queue:
|
|
3967
|
+
export function Sound(sound: string, volume: number, queue: boolean, loop: boolean): void
|
|
3968
3968
|
|
|
3969
3969
|
/**
|
|
3970
3970
|
* Deprecated: Use llPreloadSound instead.
|
|
@@ -4059,7 +4059,7 @@ declare namespace ll {
|
|
|
4059
4059
|
* If (Accept == (Controls & input)), send input to the script. PassOn determines whether Controls also perform their normal functions.
|
|
4060
4060
|
* Requires the PERMISSION_TAKE_CONTROLS runtime permission (automatically granted to attached or sat on objects).
|
|
4061
4061
|
*/
|
|
4062
|
-
export function TakeControls(controls: number, accept:
|
|
4062
|
+
export function TakeControls(controls: number, accept: boolean, passOn: boolean): void
|
|
4063
4063
|
|
|
4064
4064
|
/**
|
|
4065
4065
|
* Returns the tangent of Theta (Theta in radians).
|
|
@@ -4158,7 +4158,7 @@ declare namespace ll {
|
|
|
4158
4158
|
export function UpdateKeyValue(
|
|
4159
4159
|
key: string,
|
|
4160
4160
|
value: string,
|
|
4161
|
-
checked:
|
|
4161
|
+
checked: boolean,
|
|
4162
4162
|
originalValue: string,
|
|
4163
4163
|
): UUID
|
|
4164
4164
|
|
|
@@ -4177,14 +4177,14 @@ declare namespace ll {
|
|
|
4177
4177
|
message: string,
|
|
4178
4178
|
signature: string,
|
|
4179
4179
|
algorithm: string,
|
|
4180
|
-
):
|
|
4180
|
+
): boolean
|
|
4181
4181
|
|
|
4182
4182
|
/**
|
|
4183
4183
|
* If DetectEnabled = TRUE, object becomes phantom but triggers collision_start and collision_end events when other objects start and stop interpenetrating.
|
|
4184
4184
|
* If another object (including avatars) interpenetrates it, it will get a collision_start event.
|
|
4185
4185
|
* When an object stops interpenetrating, a collision_end event is generated. While the other is inter-penetrating, collision events are NOT generated.
|
|
4186
4186
|
*/
|
|
4187
|
-
export function VolumeDetect(detectEnabled:
|
|
4187
|
+
export function VolumeDetect(detectEnabled: boolean): void
|
|
4188
4188
|
|
|
4189
4189
|
/**
|
|
4190
4190
|
* Wander within a specified volume.
|