-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathfndata.txt
1962 lines (1411 loc) · 42.3 KB
/
fndata.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Function properties table
#
# Copyright © 2015-2024 Sei Lisa. All rights reserved.
#
# This file is part of LSL PyOptimizer.
#
# LSL PyOptimizer is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# LSL PyOptimizer is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LSL PyOptimizer. If not, see <http://www.gnu.org/licenses/>.
# This file provides information to the optimizer about the behaviour of
# functions and events. This knowledge can help perform a better job at
# optimizing. All functions and events present in builtins.txt must be here
# and vice versa.
# Flags are entered with a dash at the beginning of the line, then a space,
# then the flag. Flags apply to the function they are under. There can be none
# before the first function.
#
# Available flags:
#
# stable:
# Two successive calls with the same parameters are assumed to return
# the same results in most reasonable cases. When it's stable and SEF
# it's posible to simplify two identical calls into one. Example:
# llGetPermissions(). Counterexample: llFrand(). This is the default;
# unstable functions must be marked as such. Does not apply to void
# functions. This flag is not implemented; 'unstable' is.
#
# unstable:
# Not stable. This flag IS implemented.
#
# strlen:
# Marks the function as accepting one unique parameter of type string,
# and returning 0 is equivalent to the parameter being an empty string.
#
# detect:
# Marks the function/event as being a detection one.
#
# touch:
# Marks the event as being a touch event.
#
# grab:
# Marks the event as enabling grab detection.
#
# delay <value>:
# Function has a delay.
#
# SEF [if <condition>]:
# Side-effect free. The function has no side effects when executed,
# which means that when used in a situation where it does nothing,
# it can be removed without affecting execution. Example:
# llGetNumberOfPrims(). All functions with delay have a side effect
# (the delay itself).
#
# With if <condition>, the function is SEF if the parameters are
# found to meet the condition. Syntax of <condition> is explained below.
#
# min:
# Applied to functions that return integer or float. Specifies the
# minimum value it may return. If not present, assume the minimum
# possible (-inf for floats, -2147483648 for integers). Use like this:
#
# - min <min value>
#
# max:
# Like min, but for the maximum value.
#
# listto:
# Identifies the function as a list-extracting function, for use with
# lazy lists. It needs an LSL type as a parameter.
#
# return <value> [if <condition>]:
# Self-explanatory. There can be several; they are evaluated in order.
# <value> can be a parameter or a LSL constant. <condition> is explaned
# below.
#
# <condition>
# Subset of LSL expressions using only (, ), ==, !=, <, <=, >, >=,
# &&, ||, constants, function parameters and one function. As an extension,
# Python-like operator chaining works, e.g. a < b < c or a == b == c.
# && has more priority than ||.
# The type of comparisons is bool and can't be used as integer.
# Lists are compared for equal. Elements in lists, vectors and
# rotations must be constants.
#
# ['<' and '>' need spaces around them when they are comparisons;
# vectors need to have no space after '<' or before '>'.] -> Let's not,
# and see what happens.
#
# Strings are automatically type cast to key when necessary, and integers
# to floats, but not vice versa. Function bool nulluuid(key k) is allowed.
#
# There's a pseudo-parameter of type string that is always available:
# event (the event where the function is called, if known; else "")
# A comment like this:
#
# physics caveat
#
# means that tests show it's apparently stable because physics are
# recomputed every frame, and the frame doesn't change that often.
integer llAbs(integer val)
- SEF
- min 0
float llAcos(float val)
- SEF
- min -3.1415927
- max 3.1415927
void llAddToLandBanList(key avatar, float hours)
- delay 0.1
void llAddToLandPassList(key avatar, float hours)
- delay 0.1
void llAdjustSoundVolume(float volume)
- delay 0.1
integer llAgentInExperience(key agent)
- SEF
- min 0
- max 1
void llAllowInventoryDrop(integer add)
float llAngleBetween(rotation a, rotation b)
- SEF
- min 0
- max 3.1415927
void llApplyImpulse(vector force, integer local)
void llApplyRotationalImpulse(vector force, integer local)
float llAsin(float val)
- SEF
- min -1.5707964
- max 1.5707964
float llAtan2(float y, float x)
- SEF
- min -3.1415927
- max 3.1415927
void llAttachToAvatar(integer attach_point)
void llAttachToAvatarTemp(integer attach_point)
key llAvatarOnLinkSitTarget(integer link)
- SEF
- return "00000000-0000-0000-0000-000000000000" if link < -2147483647 || link > 256
key llAvatarOnSitTarget()
- SEF
rotation llAxes2Rot(vector fwd, vector left, vector up)
- SEF
rotation llAxisAngle2Rot(vector axis, float angle)
- SEF
integer llBase64ToInteger(string str)
# While it's unstable for some strings, we ignore that part.
- SEF
string llBase64ToString(string str)
- SEF
void llBreakAllLinks()
void llBreakLink(integer linknum)
- SEF if linknum > 256
list llCSV2List(string src)
- SEF
list llCastRay(vector start, vector end, list params)
- SEF
integer llCeil(float val)
- SEF
void llClearCameraParams()
void llClearExperiencePermissions(key agent)
integer llClearLinkMedia(integer link, integer face)
- min 0
- max 2001
- SEF if link > 256 || link < -2147483647
- return 0 if link < -2147483647 || link > 256
integer llClearPrimMedia(integer face)
- delay 1.0
- min 0
- max 2001
void llCloseRemoteDataChannel(key channel)
- delay 1.0
float llCloud(vector offset)
- SEF
- min 0
- max 0
- return 0
void llCollisionFilter(string name, key id, integer accept)
void llCollisionSound(string impact_sound, float impact_volume)
void llCollisionSprite(string impact_sprite)
- SEF
float llCos(float theta)
- SEF
- min -1
- max 1
void llCreateCharacter(list options)
key llCreateKeyValue(string k, string v)
- unstable
void llCreateLink(key target, integer parent)
- delay 1.0
key llDataSizeKeyValue()
- unstable
void llDeleteCharacter()
key llDeleteKeyValue(string k)
- unstable
list llDeleteSubList(list src, integer start, integer end)
- SEF
string llDeleteSubString(string src, integer start, integer end)
- SEF
void llDetachFromAvatar()
vector llDetectedGrab(integer number)
- detect
- SEF
# llDetectedGrab() only works for touch(), not for touch_start() etc.
- return <0,0,0> if event != "" && event != "touch" || number < 0 || number > 15
integer llDetectedGroup(integer number)
- detect
- SEF
- min 0
- max 1
- return 0 if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
key llDetectedKey(integer number)
- detect
- SEF
- return "00000000-0000-0000-0000-000000000000" if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
integer llDetectedLinkNumber(integer number)
- detect
- SEF
- min 0
- max 256
- return 0 if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
string llDetectedName(integer number)
- detect
- SEF
- return "00000000-0000-0000-0000-000000000000" if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
key llDetectedOwner(integer number)
- detect
- SEF
- return "00000000-0000-0000-0000-000000000000" if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
vector llDetectedPos(integer number)
- detect
- SEF
- return <0,0,0> if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
rotation llDetectedRot(integer number)
- detect
- SEF
- return <0,0,0,1> if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
vector llDetectedTouchBinormal(integer number)
- detect
- SEF
- return <0,0,0> if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" || number < 0 || number > 15
integer llDetectedTouchFace(integer number)
- detect
- SEF
- min -1
- max 8
- return <0,0,0> if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" || number < 0 || number > 15
vector llDetectedTouchNormal(integer number)
- detect
- SEF
- return <0,0,0> if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" || number < 0 || number > 15
vector llDetectedTouchPos(integer number)
- detect
- SEF
- return <0,0,0> if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" || number < 0 || number > 15
vector llDetectedTouchST(integer number)
- detect
- SEF
- return <0,0,0> if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
- return <-1,-1,0> if (event == "collision" || event == "collision_start" || event == "collision_end" || event == "sensor") && number == 0
vector llDetectedTouchUV(integer number)
- detect
- SEF
- return <0,0,0> if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
- return <-1,-1,0> if (event == "collision" || event == "collision_start" || event == "collision_end" || event == "sensor") && number == 0
integer llDetectedType(integer number)
- detect
- SEF
- min 0
- max 15
- return 0 if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
vector llDetectedVel(integer number)
- detect
- SEF
- return <0,0,0> if event != "" && event != "touch" && event != "touch_start" && event != "touch_end" && event != "collision" && event != "collision_start" && event != "collision_end" && event != "sensor" || number < 0 || number > 15
void llDialog(key avatar, string message, list buttons, integer chat_channel)
- delay 1.0
void llDie()
string llDumpList2String(list src, string separator)
- SEF
integer llEdgeOfWorld(vector pos, vector dir)
- SEF
- min 0
- max 1
void llEjectFromLand(key avatar)
void llEmail(string address, string subject, string message)
- delay 20.0
string llEscapeURL(string url)
- SEF
rotation llEuler2Rot(vector v)
- SEF
void llEvade(key target, list options)
void llExecCharacterCmd(integer cmd, list options)
float llFabs(float val)
- SEF
- min 0
void llFleeFrom(vector source, float radius, list options)
integer llFloor(float val)
- SEF
void llForceMouselook(integer mouselook)
float llFrand(float mag)
- unstable
- SEF
# It's not really SEF, in that it supposedly updates the internal state,
# but assuming it's actually SEF is safe because the seed is unknown.
key llGenerateKey()
- unstable
- SEF
vector llGetAccel()
# physics caveat
#- unstable
- SEF
integer llGetAgentInfo(key id)
- SEF
- min 0
- return 0 if nulluuid(id)
string llGetAgentLanguage(key avatar)
- SEF
- return "" if nulluuid(id)
list llGetAgentList(integer scope, list options)
- SEF
- return "INVALID_SCOPE" if scope != 1 && scope != 2 && scope != 4
vector llGetAgentSize(key id)
- SEF
- return <0,0,0> if nulluuid(id)
float llGetAlpha(integer face)
- SEF
- min 0
- max 1
- return 1 if face > 8
float llGetAndResetTime()
- unstable
- min 0
string llGetAnimation(key id)
- SEF
- return "" if nulluuid(id)
list llGetAnimationList(key id)
- SEF
- return "" if nulluuid(id)
string llGetAnimationOverride(string anim_state)
# may err, therefore not SEF
integer llGetAttached()
- SEF
- min 0
- max 55
list llGetAttachedList(key agent)
- SEF
- return ["NOT FOUND"] if nulluuid(agent)
list llGetBoundingBox(key object)
- SEF
- return [] if nulluuid(object)
vector llGetCameraPos()
# it errs therefore not SEF
rotation llGetCameraRot()
# it errs therefore not SEF
vector llGetCenterOfMass()
- SEF
list llGetClosestNavPoint(vector point, list options)
# Claimed to have a delay, but such delay is 1 frame (?)
- SEF
vector llGetColor(integer face)
- SEF
- return <1,1,1> if face > 8
key llGetCreator()
- SEF
string llGetDate()
- SEF
integer llGetDayLength()
- SEF
- min 0
integer llGetDayOffset()
- SEF
string llGetDisplayName(key id)
- SEF
- return "" if nulluuid(id)
float llGetEnergy()
# physics caveat
#- unstable
- SEF
- min 0
- max 1
string llGetEnv(string name)
- SEF
- return "" if name == ""
list llGetEnvironment(vector pos, list params)
# presumed:
- SEF
# TODO: not used yet, check if it has more properties.
# Possibly a candidate for lslfuncopt.py (check).
list llGetExperienceDetails(key experience_id)
- SEF
string llGetExperienceErrorMessage(integer value)
- SEF
- return "no error" if value == 0
- return "exceeded throttle" if value == 1
- return "experiences are disabled" if value == 2
- return "invalid parameters" if value == 3
- return "operation not permitted" if value == 4
- return "script not associated with an experience" if value == 5
- return "not found" if value == 6
- return "invalid experience" if value == 7
- return "experience is disabled" if value == 8
- return "experience is suspended" if value == 9
- return "unknown error" if value == 10
- return "experience data quota exceeded" if value == 11
- return "key-value store is disabled" if value == 12
- return "key-value store communication failed" if value == 13
- return "key doesn't exist" if value == 14
- return "retry update" if value == 15
- return "experience content rating too high" if value == 16
- return "not allowed to run in current location" if value == 17
- return "experience permissions request timed out" if value == 18
- return "unknown error id"
list llGetExperienceList(key agent)
- SEF
- return []
vector llGetForce()
- SEF
integer llGetFreeMemory()
- SEF
- min 0
- max 65536
integer llGetFreeURLs()
- SEF
- min 0
- max 65536
float llGetGMTclock()
- SEF
- min 0
- max 86399
vector llGetGeometricCenter()
- SEF
string llGetHTTPHeader(key request_id, string header)
- SEF
- return "" if nulluuid(request_id)
key llGetInventoryCreator(string item)
- SEF
key llGetInventoryKey(string name)
- SEF
- return "00000000-0000-0000-0000-000000000000" if name == ""
string llGetInventoryName(integer type, integer number)
- SEF
- return "" if type != -1 && type != 0 && type != 1 && type != 3 && type != 5 && type != 6 && type != 7 && type != 10 && type != 13 && type != 20 && type != 21 || number < 0
integer llGetInventoryNumber(integer type)
- SEF
- min 0
- return 0 if type != -1 && type != 0 && type != 1 && type != 3 && type != 5 && type != 6 && type != 7 && type != 10 && type != 13 && type != 20 && type != 21
integer llGetInventoryPermMask(string item, integer mask)
- SEF
- min 0
- return 0 if mask < 0 || mask > 4 || item == ""
# we've completed up to here
integer llGetInventoryType(string name)
- SEF
- min -1
- max 57
key llGetKey()
- SEF
key llGetLandOwnerAt(vector pos)
- SEF
key llGetLinkKey(integer linknumber)
- SEF
list llGetLinkMedia(integer link, integer face, list params)
- SEF
string llGetLinkName(integer linknumber)
- SEF
integer llGetLinkNumber()
- SEF
- min 0
- max 256
integer llGetLinkNumberOfSides(integer link)
- SEF
- min 1
- max 9
list llGetLinkPrimitiveParams(integer linknumber, list rules)
- SEF
integer llGetListEntryType(list src, integer index)
- SEF
- min 0
- max 6
integer llGetListLength(list src)
- SEF
- min 0
vector llGetLocalPos()
# physics caveat
#- unstable
- SEF
rotation llGetLocalRot()
# physics caveat
#- unstable
- SEF
float llGetMass()
- SEF
- min 0
float llGetMassMKS()
- SEF
- min 0
float llGetMaxScaleFactor()
- SEF
- min 0
integer llGetMemoryLimit()
- SEF
- min 0
float llGetMinScaleFactor()
- SEF
- min 0
vector llGetMoonDirection()
- SEF
rotation llGetMoonRotation()
- SEF
void llGetNextEmail(string address, string subject)
key llGetNotecardLine(string name, integer line)
- unstable
- delay 0.1
key llGetNumberOfNotecardLines(string name)
- unstable
- delay 0.1
integer llGetNumberOfPrims()
- SEF
- min 1
integer llGetNumberOfSides()
- SEF
- min 1
- max 9
list llGetObjectAnimationNames()
- SEF
string llGetObjectDesc()
- SEF
list llGetObjectDetails(key id, list params)
# physics caveat
#- unstable
- SEF
key llGetObjectLinkKey(key id, integer link)
- SEF
float llGetObjectMass(key id)
- SEF
- min 0
string llGetObjectName()
- SEF
integer llGetObjectPermMask(integer mask)
- SEF
- min 0
integer llGetObjectPrimCount(key object_id)
- SEF
- min 0
- max 256
- return 0 if nulluuid(object_id)
vector llGetOmega()
# physics caveat
#- unstable
- SEF
key llGetOwner()
- SEF
key llGetOwnerKey(key id)
- SEF
- return "00000000-0000-0000-0000-000000000000" if nulluuid(id)
list llGetParcelDetails(vector pos, list params)
- SEF
integer llGetParcelFlags(vector pos)
- SEF
# bit 31 can be set hence no limits
integer llGetParcelMaxPrims(vector pos, integer sim_wide)
- SEF
- min 0
string llGetParcelMusicURL()
- SEF
integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide)
- SEF
- min 0
list llGetParcelPrimOwners(vector pos)
- delay 2.0
integer llGetPermissions()
- SEF
- min 0
key llGetPermissionsKey()
- SEF
list llGetPhysicsMaterial()
- SEF
vector llGetPos()
# physics caveat
#- unstable
- SEF
list llGetPrimMediaParams(integer face, list params)
- delay 1.0
list llGetPrimitiveParams(list params)
- delay 0.2
integer llGetRegionAgentCount()
- SEF
- min 0
vector llGetRegionCorner()
- SEF
integer llGetRegionDayLength()
- SEF
- min 0
integer llGetRegionDayOffset()
- SEF
float llGetRegionFPS()
- SEF
- min 0
- max 45
integer llGetRegionFlags()
- SEF
# bit 31 can be set hence no limits
vector llGetRegionMoonDirection()
- SEF
rotation llGetRegionMoonRotation()
- SEF
string llGetRegionName()
- SEF
vector llGetRegionSunDirection()
- SEF
rotation llGetRegionSunRotation()
- SEF
float llGetRegionTimeDilation()
- SEF
- min 0
- max 1
vector llGetRootPosition()
# physics caveat
#- unstable
- SEF
rotation llGetRootRotation()
# physics caveat
#- unstable
- SEF
rotation llGetRot()
# physics caveat
#- unstable
- SEF
integer llGetSPMaxMemory()
- SEF
- min 0
vector llGetScale()
- SEF
string llGetScriptName()
- SEF
integer llGetScriptState(string name)
- SEF
- min 0
- max 1
float llGetSimStats(integer stat_type)
- SEF
- min 0
string llGetSimulatorHostname()
- delay 10.0
integer llGetStartParameter()
- SEF
list llGetStaticPath(vector start, vector end, float radius, list params)
# believed to be side-effect free
- SEF
integer llGetStatus(integer status)
- SEF
- min 0
- max 1
string llGetSubString(string src, integer start, integer end)
- SEF
vector llGetSunDirection()
- SEF
rotation llGetSunRotation()
- SEF
string llGetTexture(integer face)
- SEF
- return "00000000-0000-0000-0000-000000000000" if face > 8
vector llGetTextureOffset(integer face)
- SEF
- return <0,0,0> if face > 8
float llGetTextureRot(integer side)
- SEF
- return 0 if side > 8
vector llGetTextureScale(integer side)
- SEF
- return <0,0,0> if side > 8
float llGetTime()
- SEF
# It's stable within the same frame.
- min 0
float llGetTimeOfDay()
- unstable
- SEF
- min 0
- max 86399.9921875
string llGetTimestamp()
- unstable
- SEF
vector llGetTorque()
- SEF
integer llGetUnixTime()
- unstable
- SEF
integer llGetUsedMemory()
- unstable
- SEF
- min 0
string llGetUsername(key id)
- SEF
vector llGetVel()
# physics caveat
#- unstable
- SEF
list llGetVisualParams(key id, list params)
- SEF
float llGetWallclock()
- SEF
- min 0
- max 86399
void llGiveInventory(key destination, string inventory)
# delay only applies if giving to avatars
# (delay is not important because it's not applied when SEF)
#- delay 2.0
- SEF if nulluuid(destination)
void llGiveInventoryList(key target, string folder, list inventory)
- delay 3.0
integer llGiveMoney(key destination, integer amount)
- min 0
- max 0
void llGodLikeRezObject(key inventory, vector pos)
float llGround(vector offset)
- SEF
- min 0
- max 65536
vector llGroundContour(vector offset)
- SEF
vector llGroundNormal(vector offset)
- SEF
void llGroundRepel(float height, integer water, float tau)
vector llGroundSlope(vector offset)
- SEF
key llHTTPRequest(string url, list parameters, string body)
- unstable
void llHTTPResponse(key request_id, integer status, string body)
string llInsertString(string dst, integer position, string src)
- SEF
void llInstantMessage(key user, string message)
- delay 2.0
string llIntegerToBase64(integer number)
- SEF
list llJson2List(string json)
- SEF
string llJsonGetValue(string json, list specifiers)
- SEF
string llJsonSetValue(string json, list specifiers, string value)
- SEF
string llJsonValueType(string json, list specifiers)
- SEF
string llKey2Name(key id)
- SEF
key llKeyCountKeyValue()
- unstable
key llKeysKeyValue(integer start, integer count)
- unstable
vector llLinear2sRGB(vector color)
- SEF
void llLinkParticleSystem(integer linknumber, list rules)
- SEF if linknumber > 256
void llLinkSitTarget(integer link, vector offset, rotation rot)
- SEF if link > 256
integer llLinksetDataAvailable()
- SEF
- min 0