@@ -2287,35 +2287,47 @@ constants:
2287
2287
type : integer
2288
2288
value : 24
2289
2289
PRIM_CLICK_ACTION :
2290
- tooltip : ' '
2290
+ tooltip : ' [PRIM_CLICK_ACTION, integer CLICK_ACTION_*] '
2291
2291
type : integer
2292
2292
value : 43
2293
2293
PRIM_COLLISION_SOUND :
2294
2294
tooltip : Collision sound uuid and volume for this prim
2295
2295
type : integer
2296
2296
value : 53
2297
2297
PRIM_COLOR :
2298
- tooltip : ' '
2298
+ tooltip : ' [PRIM_COLOR, integer face, vector color, float alpha]
2299
+
2300
+ integer face – face number or ALL_SIDES
2301
+ vector color – color in RGB <R, G, B> (<0.0, 0.0, 0.0> = black, <1.0, 1.0, 1.0> = white)
2302
+ float alpha – from 0.0 (clear) to 1.0 (solid) (0.0 <= alpha <= 1.0)'
2299
2303
type : integer
2300
2304
value : 18
2301
2305
PRIM_DAMAGE :
2302
2306
tooltip : Damage and damage type assigned to this prim.
2303
2307
type : integer
2304
2308
value : 51
2305
2309
PRIM_DESC :
2306
- tooltip : ' '
2310
+ tooltip : ' [PRIM_DESC, string description] '
2307
2311
type : integer
2308
2312
value : 28
2309
2313
PRIM_FLEXIBLE :
2310
- tooltip : ' '
2314
+ tooltip : ' [ PRIM_FLEXIBLE, integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]
2315
+ +
2316
+ +integer boolean – TRUE enables, FALSE disables
2317
+ +integer softness – ranges from 0 to 3
2318
+ +float gravity – ranges from -10.0 to 10.0
2319
+ +float friction – ranges from 0.0 to 10.0
2320
+ +float wind – ranges from 0.0 to 10.0
2321
+ +float tension – ranges from 0.0 to 10.0
2322
+ +vector force'
2311
2323
type : integer
2312
2324
value : 21
2313
2325
PRIM_FULLBRIGHT :
2314
- tooltip : ' '
2326
+ tooltip : ' [ PRIM_FULLBRIGHT, integer face, integer boolean ] '
2315
2327
type : integer
2316
2328
value : 20
2317
2329
PRIM_GLOW :
2318
- tooltip : PRIM_GLOW is used to get or set the glow status of the face.
2330
+ tooltip : ' PRIM_GLOW is used to get or set the glow status of the face.\n[ PRIM_GLOW, integer face, float intensity ] '
2319
2331
type : integer
2320
2332
value : 25
2321
2333
PRIM_GLTF_ALPHA_MODE_BLEND :
@@ -2374,11 +2386,13 @@ constants:
2374
2386
type : integer
2375
2387
value : ' 0x30'
2376
2388
PRIM_LINK_TARGET :
2377
- tooltip : ' '
2389
+ tooltip : ' [ PRIM_LINK_TARGET, integer link_target ]
2390
+
2391
+ Used to get or set multiple links with a single PrimParameters call.'
2378
2392
type : integer
2379
2393
value : 34
2380
2394
PRIM_MATERIAL :
2381
- tooltip : ' '
2395
+ tooltip : ' [ PRIM_MATERIAL, integer PRIM_MATERIAL_* ] '
2382
2396
type : integer
2383
2397
value : 2
2384
2398
PRIM_MATERIAL_DENSITY :
@@ -2555,7 +2569,7 @@ constants:
2555
2569
type : integer
2556
2570
value : 9
2557
2571
PRIM_NAME :
2558
- tooltip : ' '
2572
+ tooltip : ' [ PRIM_NAME, string name ] '
2559
2573
type : integer
2560
2574
value : 27
2561
2575
PRIM_NORMAL :
@@ -2564,15 +2578,19 @@ constants:
2564
2578
type : integer
2565
2579
value : 37
2566
2580
PRIM_OMEGA :
2567
- tooltip : ' '
2581
+ tooltip : ' [ PRIM_OMEGA, vector axis, float spinrate, float gain ]
2582
+
2583
+ vector axis – arbitrary axis to rotate the object around
2584
+ float spinrate – rate of rotation in radians per second
2585
+ float gain – also modulates the final spinrate and disables the rotation behavior if zero'
2568
2586
type : integer
2569
2587
value : 32
2570
2588
PRIM_PHANTOM :
2571
- tooltip : ' '
2589
+ tooltip : ' [ PRIM_PHANTOM, integer boolean ] '
2572
2590
type : integer
2573
2591
value : 5
2574
2592
PRIM_PHYSICS :
2575
- tooltip : ' '
2593
+ tooltip : ' [ PRIM_PHYSICS, integer boolean ] '
2576
2594
type : integer
2577
2595
value : 3
2578
2596
PRIM_PHYSICS_SHAPE_CONVEX :
@@ -2596,19 +2614,29 @@ constants:
2596
2614
type : integer
2597
2615
value : 30
2598
2616
PRIM_POINT_LIGHT :
2599
- tooltip : ' '
2617
+ tooltip : ' [ PRIM_POINT_LIGHT, integer boolean, vector linear_color, float intensity, float radius, float falloff ]
2618
+
2619
+ integer boolean – TRUE enables, FALSE disables
2620
+ vector linear_color – linear color in RGB <R, G, B&> (<0.0, 0.0, 0.0> = black, <1.0, 1.0, 1.0> = white)
2621
+ float intensity – ranges from 0.0 to 1.0
2622
+ float radius – ranges from 0.1 to 20.0
2623
+ float falloff – ranges from 0.01 to 2.0'
2600
2624
type : integer
2601
2625
value : 23
2602
2626
PRIM_POSITION :
2603
- tooltip : ' '
2627
+ tooltip : ' [ PRIM_POSITION, vector position ]
2628
+
2629
+ vector position – position in region or local coordinates depending upon the situation'
2604
2630
type : integer
2605
2631
value : 6
2606
2632
PRIM_POS_LOCAL :
2607
- tooltip : ' '
2633
+ tooltip : ' PRIM_POS_LOCAL, vector position ]
2634
+
2635
+ vector position - position in local coordinates'
2608
2636
type : integer
2609
2637
value : 33
2610
2638
PRIM_PROJECTOR :
2611
- tooltip : ' '
2639
+ tooltip : ' [ PRIM_PROJECTOR, string texture, float fov, float focus, float ambiance ] '
2612
2640
type : integer
2613
2641
value : 42
2614
2642
PRIM_REFLECTION_PROBE :
@@ -2636,15 +2664,15 @@ constants:
2636
2664
type : integer
2637
2665
value : 4
2638
2666
PRIM_RENDER_MATERIAL :
2639
- tooltip : ' '
2667
+ tooltip : ' [ PRIM_RENDER_MATERIAL, integer face, string material ] '
2640
2668
type : integer
2641
2669
value : 49
2642
2670
PRIM_ROTATION :
2643
- tooltip : ' '
2671
+ tooltip : ' [ PRIM_ROT_LOCAL, rotation global_rot ] '
2644
2672
type : integer
2645
2673
value : 8
2646
2674
PRIM_ROT_LOCAL :
2647
- tooltip : ' '
2675
+ tooltip : ' [ PRIM_ROT_LOCAL, rotation local_rot ] '
2648
2676
type : integer
2649
2677
value : 29
2650
2678
PRIM_SCRIPTED_SIT_ONLY :
@@ -2709,15 +2737,15 @@ constants:
2709
2737
type : integer
2710
2738
value : 50
2711
2739
PRIM_SIT_TARGET :
2712
- tooltip : ' '
2740
+ tooltip : ' [ PRIM_SIT_TARGET, integer boolean, vector offset, rotation rot ] '
2713
2741
type : integer
2714
2742
value : 41
2715
2743
PRIM_SIZE :
2716
- tooltip : ' '
2744
+ tooltip : ' [ PRIM_SIZE, vector size ] '
2717
2745
type : integer
2718
2746
value : 7
2719
2747
PRIM_SLICE :
2720
- tooltip : ' '
2748
+ tooltip : ' [ PRIM_SLICE, vector slice ] '
2721
2749
type : integer
2722
2750
value : 35
2723
2751
PRIM_SPECULAR :
@@ -2731,7 +2759,7 @@ constants:
2731
2759
type : integer
2732
2760
value : 4
2733
2761
PRIM_TEXGEN :
2734
- tooltip : ' '
2762
+ tooltip : ' [ PRIM_TEXGEN, integer face, PRIM_TEXGEN_* ] '
2735
2763
type : integer
2736
2764
value : 22
2737
2765
PRIM_TEXGEN_DEFAULT :
@@ -2743,11 +2771,11 @@ constants:
2743
2771
type : integer
2744
2772
value : 1
2745
2773
PRIM_TEXT :
2746
- tooltip : ' '
2774
+ tooltip : ' [ PRIM_TEXT, string text, vector color, float alpha ] '
2747
2775
type : integer
2748
2776
value : 26
2749
2777
PRIM_TEXTURE :
2750
- tooltip : ' '
2778
+ tooltip : ' [ PRIM_TEXTURE, integer face, string texture, vector repeats, vector offsets, float rotation_in_radians ] '
2751
2779
type : integer
2752
2780
value : 17
2753
2781
PRIM_TYPE :
@@ -5437,6 +5465,7 @@ functions:
5437
5465
energy : 10.0
5438
5466
func-id : 39
5439
5467
return : integer
5468
+ bool_semantics : true
5440
5469
sleep : 0.0
5441
5470
tooltip : Returns TRUE if detected object or agent Number has the same user group
5442
5471
active as this object.\nIt will return FALSE if the object or agent is in the
@@ -7231,6 +7260,7 @@ functions:
7231
7260
type : integer
7232
7261
energy : 10.0
7233
7262
func-id : 46
7263
+ bool_semantics : true
7234
7264
return : integer
7235
7265
sleep : 0.0
7236
7266
tooltip : Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of
@@ -7622,6 +7652,7 @@ functions:
7622
7652
tooltip : ' '
7623
7653
type : string
7624
7654
- Position :
7655
+ index_semantics : true
7625
7656
tooltip : ' '
7626
7657
type : integer
7627
7658
- SourceVariable :
@@ -7683,6 +7714,7 @@ functions:
7683
7714
energy : 10.0
7684
7715
func-id : 559
7685
7716
return : integer
7717
+ bool_semantics : true
7686
7718
sleep : 0.0
7687
7719
tooltip : Checks the face for a PBR render material.
7688
7720
llJson2List :
@@ -7997,6 +8029,7 @@ functions:
7997
8029
- start :
7998
8030
tooltip : First entry to return. 0 for start of list.
7999
8031
type : integer
8032
+ index_semantics : true
8000
8033
- count :
8001
8034
tooltip : Number of entries to return. Less than 1 for all keys.
8002
8035
type : integer
@@ -8011,6 +8044,7 @@ functions:
8011
8044
- start :
8012
8045
tooltip : First entry to return. 0 for start of list.
8013
8046
type : integer
8047
+ index_semantics : true
8014
8048
- count :
8015
8049
tooltip : Number of entries to return. Less than 1 for all keys.
8016
8050
type : integer
@@ -8363,6 +8397,7 @@ functions:
8363
8397
tooltip : ' '
8364
8398
type : list
8365
8399
- Position :
8400
+ index_semantics : true
8366
8401
tooltip : ' '
8367
8402
type : integer
8368
8403
energy : 10.0
@@ -8401,9 +8436,11 @@ functions:
8401
8436
- Start :
8402
8437
tooltip : ' '
8403
8438
type : integer
8439
+ index_semantics : true
8404
8440
- End :
8405
8441
tooltip : ' '
8406
8442
type : integer
8443
+ index_semantics : true
8407
8444
energy : 10.0
8408
8445
func-id : 296
8409
8446
native : true
@@ -8445,6 +8482,7 @@ functions:
8445
8482
- Sortkey :
8446
8483
tooltip : The zero based element within the stride to use as the sort key
8447
8484
type : integer
8485
+ index_semantics : true
8448
8486
- Ascending :
8449
8487
tooltip : Boolean. TRUE = result in ascending order, FALSE = result in descending
8450
8488
order.
@@ -8799,6 +8837,7 @@ functions:
8799
8837
energy : 10.0
8800
8838
func-id : 393
8801
8839
return : integer
8840
+ bool_semantics : true
8802
8841
sleep : 0.0
8803
8842
tooltip : Adds or removes agents from the estate's agent access or ban lists, or
8804
8843
groups to the estate's group access list. Action is one of the ESTATE_ACCESS_ALLOWED_*
@@ -8998,9 +9037,9 @@ functions:
8998
9037
tooltip : The string to convert to Unicode.
8999
9038
type : string
9000
9039
- index :
9001
- # note: This does _not_ have index semantics, this is a Unicode codepoint!
9002
9040
tooltip : Index of character to convert to unicode.
9003
9041
type : integer
9042
+ index_semantics : true
9004
9043
energy : 10.0
9005
9044
func-id : 527
9006
9045
pure : true
@@ -10036,6 +10075,7 @@ functions:
10036
10075
energy : 10.0
10037
10076
func-id : 592
10038
10077
return : integer
10078
+ bool_semantics : true
10039
10079
sleep : 0.0
10040
10080
tooltip : Attempts to resize the entire object by ScalingFactor, maintaining the
10041
10081
size-position ratios of the prims.\n\nResizing is subject to prim scale limits
@@ -10855,6 +10895,7 @@ functions:
10855
10895
energy : 10.0
10856
10896
func-id : 397
10857
10897
return : integer
10898
+ bool_semantics : true
10858
10899
sleep : 0.0
10859
10900
tooltip : Attempts to move the object so that the root prim is within 0.1m of Position.\nReturns
10860
10901
an integer boolean, TRUE if the object is successfully placed within 0.1 m of
0 commit comments