375
RETURNTYPE CODE PAG E(S)
-- (Decrement) 22
- (Subtract) 11, 22,
117
! (Not) 21, 22
!= (Comparison not equal) 22
% (Modulus, Cross Product) 11, 22
%= (Assignment) 22
& (Bitwise AND) 22, 63,
173, 314
&& (Comparison AND) 22, 314
* (Multiply, Dot Product, Add) 11, 22, 117
*= (Assignment) 22
. (Dot) 22
/ (Divide, Subtract) 22, 117
// (Comment) 7
/= (Assignment) 22
\" (Quoted Quotation mark) 14, 74
\\ (Quoted Backslash) 14, 74
\n (Quoted Newline) 14, 74
\t (Quoted Tab) 14, 74
^ (Bitwise XOR) 22
| (Bitwise OR) 22, 59,
128, 129,
132, 213,
314
|| (Comparison OR) 22, 314
~ (Bitwise complement) 21, 22, 173
+ (Add, Concatenate) 11, 16,
21-22,
117
++ (Increment) 22
+= (Assignment) 16, 22
< (Less than) 22
<< (Left Shift) 22
<= (Less than or equal to) 22
= (Assignment) 22, 76
-= (Assignment) 22, 314
== (Comparison equal) 22, 314,
316
> (Greater than) 22
>= (Greater than or equal to) 22
>> (Right Shift) 22
ACTIVE (0x2)
53, 126,
129, 132,
133
AGENT (0x1)
53, 126
AGENT_ALWAYS_RUN (0x1000)
63
AGENT_ATTACHMENTS (0x0002)
63
AGENT_AWAY (0x0040)
63
AGENT_BUSY (0x0800)
63
AGENT_CROUCHING (0x0400)
63
AGENT_FLYING (0x0001)
63, 171
AGENT_IN_AIR (0x0100)
63
AGENT_MOUSELOOK (0x0008)
63
AGENT_ON_OBJECT (0x0020)
63
AGENT_SCRIPTED (0x0004)
63
AGENT_SITTING (0x0010)
63
RETURNTYPE CODE PAG E(S)
AGENT_TYPING (0x0200)
62, 63
AGENT_WALKING (0x0080)
63
ALL_SIDES (-1)
49, 62,
213, 214-
217, 221,
234, 271
ANIM_ON (0x1)
213, 214,
215-217,
221
at_rot_target() event 164,
at_target() event 25, 164,
209
attach() event 55, 170,
171
ATTACH_BACK (9)
53
ATTACH_BELLY (28)
53
ATTACH_CHEST (1)
53
ATTACH_CHIN (12)
53, 54
ATTACH_HEAD (2)
53
ATTACH_HUD_BOTTOM (37)
53
ATTACH_HUD_BOTTOM_LEFT (36)
53
ATTACH_HUD_BOTTOM_RIGHT (38)
53
ATTACH_HUD_CENTER_1 (35)
53
ATTACH_HUD_CENTER_2 (31)
53
ATTACH_HUD_TOP_CENTER (33)
53
ATTACH_HUD_TOP_LEFT (34)
53
ATTACH_HUD_TOP_RIGHT (32)
53
ATTACH_LEAR (13)
53
ATTACH_LEYE (15)
53
ATTACH_LFOOT (7)
53
ATTACH_LHAND (5)
53
ATTACH_LHIP (25)
53
ATTACH_LLARM (21)
53
ATTACH_LLLEG (27)
53
ATTACH_LPEC (30)
53
ATTACH_LSHOULDER (3)
53
ATTACH_LUARM (20)
53
ATTACH_LULEG (26)
53
ATTACH_MOUTH (11)
53
ATTACH_NOSE (17)
53
ATTACH_PELVIS (10)
53
ATTACH_REAR (14)
53
ATTACH_REYE (16)
53
ATTACH_RFOOT (8)
53
ATTACH_RHAND (6)
53
ATTACH_RHIP (22)
53
ATTACH_RLARM (19)
53
ATTACH_RLLEG (24)
53
ATTACH_RPEC (29)
53
ATTACH_RSHOULDER (4)
53
ATTACH_RUARM (18)
53
ATTACH_RULEG (23)
53
CAMERA_ACTIVE (12)
184
CAMERA_BEHINDNESS_ANGLE (8)
184
CAMERA_BEHINDNESS_LAG (9)
184
CAMERA_DISTANCE (7)
184
CAMERA_FOCUS (17)
184
INDEX B: COMPLETE LISTING OF LSL CODE
376
Re t u R n ty p e Co d e pa g e (s)
CAMERA_FOCUS_LAG (6)
184
CAMERA_FOCUS_LOCKED (22)
184
CAMERA_FOCUS_OFFSET (1)
184
CAMERA_FOCUS_THRESHOLD (11)
184
CAMERA_PITCH (0)
184
CAMERA_POSITION (13)
184
CAMERA_POSITION_LAG (5)
184
CAMERA_POSITION_LOCKED (21)
184
CAMERA_POSITION_THRESHOLD (10)
184
changed() event 42, 104,
177, 178,
182, 194,
195
CHANGED_ALLOWED_DROP (0x40)
194-195
CHANGED_COLOR (0x2)
CHANGED_INVENTORY (0x1)
194-195
CHANGED_LINK (0x20)
42
CHANGED_OWNER (0x80)
CHANGED_REGION (0x100)
CHANGED_SCALE (0x8)
CHANGED_SHAPE (0x4)
CHANGED_TELEPORT (0x200)
CHANGED_TEXTURE (0x10)
CLICK_ACTION_BUY (2)
284
CLICK_ACTION_NONE (0)
284
CLICK_ACTION_OPEN (4)
284
CLICK_ACTION_OPEN_MEDIA (6)
284
CLICK_ACTION_PAY (3)
284
CLICK_ACTION_PLAY (5)
284
CLICK_ACTION_SIT (1)
284
CLICK_ACTION_TOUCH (0)
284
collision() event 135, 136,
160, 168
collision_end() event 135
collision_start() event 135, 136
control() event 59, 60,
172, 173,
176, 177,
178, 183
CONTROL_BACK (0x2)
172
CONTROL_DOWN (0x20)
172, 174
CONTROL_FWD (0x1)
172
CONTROL_LBUTTON (0x10000000)
172
CONTROL_LEFT (0x4)
172
CONTROL_ML_LBUTTON (0x40000000)
172
CONTROL_RIGHT (0x8)
172
CONTROL_ROT_LEFT (0x100)
172
CONTROL_ROT_RIGHT (0x200)
172
CONTROL_UP (0x10)
172, 174
DATA_BORN (3)
92, 294
DATA_NAME (2)
92
DATA_ONLINE (1)
92
DATA_PAYINFO (8)
92
DATA_RATING (4)
92
DATA_SIM_POS (5)
DATA_SIM_RATING (7)
DATA_SIM_STATUS (6)
dataserver() event 91, 92, 93,
150, 294,
298, 299
DEBUG_CHANNEL (2147483647)
68, 320,
321
default state 5, 19, 23,
26, 28, 31,
75, 92,
170, 291,
297, 298
Re t u R n ty p e Co d e pa g e (s)
DEG_TO_RAD (0.0174532925199
43295769236907684886)
12-13, 115
do...while
20-21, 271
email() event 95
EOF (\n\n\n)
149-150
Events
at_rot_target()
164
at_target()
25, 164,
209
attach()
55, 170,
171
changed()
42, 104,
177, 178,
182, 194,
195
collision()
135, 136,
160, 168
collision_end()
135
collision_start()
135, 136
control()
59, 60,
172, 173,
176, 177,
178, 183
dataserver()
91, 92, 93,
150, 294,
298, 299
email()
95
http_response()
25, 262,
264, 265,
266, 268,
269, 270,
290
land_collision()
135, 168,
169
land_collision_end()
169
land_collision_start()
169
link_message()
85, 86,
208, 232,
271, 298
listen()
7, 23, 25,
48, 50, 69,
70, 71, 72,
73, 76, 77,
79, 81, 82,
93, 102,
294
money()
25, 281,
282, 283,
286, 287,
292, 295,
299, 303
moving_end()
112, 164
moving_start()
112, 164
no_sensor()
127, 129,
288
not_at_rot_target()
164
not_at_target()
133, 164
object_rez()
101, 102,
210, 316
on_rez()
31, 32, 83,
92, 102,
120, 171,
207, 291,
293, 323
remote_data()
274
run_time_permissions()
54, 55, 56,
59, 177,
178, 287

Get Scripting Your World: The Official Guide to Second Life® Scripting now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.