All books have typographic, editorial, and author errors and weak points, Scripting Your World not withstanding. Please let us know if you discover a problem so we can record it here.
| Chapter
| Notes
| Discussion
|
| Chapter 1
| Getting a Feel for the Linden Scripting Language
Note:
Page 4, Paragraph immediately before the listing: The script edit window is opened like any other object, with either a left double-click of the mouse, or by right clicking and selecting open.
Errata:
Page 14, Example test string "Hello world!". The last example should read
llGetSubString(test, -7, -3); // "world"
| Chapter 1
|
| Chapter 2
| Making Your Avatar Stand Up and Stand Out
Errata: Page 44, Listing 2.3, Line 17 should read: params += [PRIM_POSITION, currPosition];
| Chapter 2
|
| Chapter 3
| Communications
| Chapter 3
|
| Chapter 4
| Making and Moving Objects
| Chapter 4
|
| Chapter 5
| Sensing the World
| Chapter 5
|
| Chapter 6
| Land Design and Management
| Chapter 6
|
| Chapter 7
| Physics and Vehicles
Errata: Page 160, Listing 7.1, Line 2 should read: rotation gHomeRotation; Page 174, Listing 7.5: both references to VERTICAL should be: VERTICAL_PUSH
| Chapter 7
|
| Chapter 8
| Inventory
| Chapter 8
|
| Chapter 9
| Special Effects
| Chapter 9
|
| Chapter 10
| Scripting the Environment
Errata: Page 231, Listing 10.1, 3rd last line of code should read:
llMessageLinked(LINK_ALL_CHILDREN, 0, (string)time, NULL_KEY);
Page 232, Listing 10.2, code in link_message() should read:
integer gCurrentHour = (integer)time.x;
integer gCurrentMin = (integer)time.y;
| Chapter 10
|
| Chapter 11
| Multimedia
| Chapter 11
|
| Chapter 12
| Reaching Outside Second Life
Errata:
Page 264, Listing 12.3, Inside the state_entry() should read:
"the avatar you want to look up on channel "+(string)CHANNEL);
Page 273, Listing 12.6, the RSS_LINK url has a spurious leading space. It should read:
string RSS_LINK = "http://rss.cnn.come/rss/cnn_topstories.rss";
Page 273, Listing 12.8, 7th line of code should read:
string reply = "Setting texture to "+texture;
Page 273, Listing 12.8, listen() event handler declaration should read:
listen(integer _channel, string _name, key id, string message) {
Page 274, Listing 12.8, line 7 of the code should read:
changeFlag(channelKey, message_id, idata, sdata);
Note: the scripts bonus-simple-rpcclient.py and bonus-simple-rpcserver.lsl included in various versions of the SYW script resource packages are stale and should be ignored. The text that explained these scripts was deleted from both print and online chapters prior to publication. The online chapter 12 addenda has a much better example that should be used instead.
| Chapter 12
|
| Chapter 13
| Money Makes the World Go 'Round
Errata:
Page 286, Listing 13.2, the fourth line of the touch_start() handler in the default state should read:
login(id); // not login(gHost);
| Chapter 13
|
| Chapter 14
| Dealing with Problems
| Chapter 14
|
| Chapter 15
| New and Improved
| Chapter 15
|
| Chapter 16
| Programming in the Out-World
| Chapter 16
|
| Project 1
| Dance
Errata: Page 12, Listing P1.5, 4th from last line should read: requestDance(); // no av argument
Listing P1.13 as printed in the PDF was intended to be merged into P1.10 rather than used as a separate script in the same prim. We have provided Listings P1.13 here and in-world in two versions: adjunct(use with P1.10) and integrated (use instead of P1.10).
| Project 1
|
| Project 2
| Bowling
| Project 2
|
| Project 3
| Combat
| Project 3
|
| Project 4
| Traffic
| Project 4
|
| Project 5
| Articulation
| Project 5
|
| Tutorial 1
| Picture Frame
| Tutorial 1
|
| Reference 1: Appendix A
| Prim Parameters
| Appendix A
|
| Reference 2: Appendix B
| Particle System
| Use Chapter 9
|
| Reference 3: Appendix D
| Events
| Public Forum
|
| Book Index
| Index
| Index
|