diff options
Diffstat (limited to 'LuaSL/src')
-rw-r--r-- | LuaSL/src/constants.lsl | 53 |
1 files changed, 49 insertions, 4 deletions
diff --git a/LuaSL/src/constants.lsl b/LuaSL/src/constants.lsl index 2c17940..4a086ab 100644 --- a/LuaSL/src/constants.lsl +++ b/LuaSL/src/constants.lsl | |||
@@ -12,6 +12,19 @@ integer LINK_ALL_OTHERS = -2; | |||
12 | integer LINK_ALL_CHILDREN = -3; | 12 | integer LINK_ALL_CHILDREN = -3; |
13 | integer LINK_THIS = -4; | 13 | integer LINK_THIS = -4; |
14 | 14 | ||
15 | integer INVENTORY_ALL = -1; | ||
16 | integer INVENTORY_NONE = -1; | ||
17 | integer INVENTORY_TEXTURE = 0; | ||
18 | integer INVENTORY_SOUND = 1; | ||
19 | integer INVENTORY_LANDMARK = 3; | ||
20 | integer INVENTORY_CLOTHING = 5; | ||
21 | integer INVENTORY_OBJECT = 6; | ||
22 | integer INVENTORY_NOTECARD = 7; | ||
23 | integer INVENTORY_SCRIPT = 10; | ||
24 | integer INVENTORY_BODYPART = 13; | ||
25 | integer INVENTORY_ANIMATION = 20; | ||
26 | integer INVENTORY_GESTURE = 21; | ||
27 | |||
15 | integer TRUE = 1; | 28 | integer TRUE = 1; |
16 | integer FALSE = 0; | 29 | integer FALSE = 0; |
17 | 30 | ||
@@ -23,25 +36,57 @@ vector ZERO_VECTOR = <0.0, 0.0, 0.0>; | |||
23 | 36 | ||
24 | // Functions. | 37 | // Functions. |
25 | 38 | ||
26 | vector llGetPos(){} | 39 | float llPow(float number, float places){} |
27 | rotation llGetRot(){} | 40 | integer llRound(float number){} |
41 | |||
42 | |||
28 | string llGetObjectDesc(){} | 43 | string llGetObjectDesc(){} |
29 | llSetObjectDesc(string text){} | 44 | llSetObjectDesc(string text){} |
45 | string llGetObjectName(){} | ||
46 | llSetObjectName(string text){} | ||
30 | 47 | ||
31 | rotation llEuler2Rot(vector vec){} | 48 | string llGetInventoryName(integer type, integer index){} |
49 | integer llGetInventoryNumber(integer type){} | ||
50 | integer llGetInventoryType(string name){} | ||
51 | key llGetNotecardLine(string name, integer index){} | ||
52 | |||
53 | integer llGetFreeMemory(){} | ||
54 | string llGetScriptName(){} | ||
55 | llResetOtherScript(string name){} | ||
56 | llResetScript(){} | ||
57 | llSetScriptState(string name, integer running){} | ||
58 | |||
59 | vector llGetPos(){} | ||
60 | rotation llGetRot(){} | ||
32 | 61 | ||
62 | rotation llEuler2Rot(vector vec){} | ||
63 | vector llRot2Euler(rotation rot){} | ||
33 | 64 | ||
34 | string llGetSubString(string text, integer start, integer end){} | 65 | string llGetSubString(string text, integer start, integer end){} |
66 | integer llSubStringIndex(string text, string sub){} | ||
35 | list llParseString2List(string in, list l, list l1){} | 67 | list llParseString2List(string in, list l, list l1){} |
36 | 68 | ||
69 | float llList2Float(list l, integer index){} | ||
37 | integer llList2Integer(list l, integer index){} | 70 | integer llList2Integer(list l, integer index){} |
71 | key llList2Key(list l, integer index){} | ||
38 | string llList2String(list l, integer index){} | 72 | string llList2String(list l, integer index){} |
73 | rotation llList2Rotation(list l, integer index){} | ||
74 | vector llList2Vector(list l, integer index){} | ||
39 | list llCSV2List(string text){} | 75 | list llCSV2List(string text){} |
76 | integer llGetListLength(list l){} | ||
77 | list llListReplaceList(list l, list part, integer start, integer end){} | ||
78 | list llListSort(list l, integer stride, integer ascending){} | ||
40 | 79 | ||
41 | key llGetKey(){} | 80 | key llGetKey(){} |
81 | llSleep(float seconds){} | ||
42 | 82 | ||
43 | llSay(integer channel, string text){} | ||
44 | llOwnerSay(string text){} | 83 | llOwnerSay(string text){} |
84 | llSay(integer channel, string text){} | ||
85 | llShout(integer channel, string text){} | ||
86 | llWhisper(integer channel, string text){} | ||
45 | 87 | ||
46 | llMessageLinked(integer link, integer num, string text, key aKey){} | 88 | llMessageLinked(integer link, integer num, string text, key aKey){} |
47 | 89 | ||
90 | |||
91 | |||
92 | |||