LSL 101, or scripting for beginners
by azwaldo on Apr.05, 2009, under education, opensim, scripting
I have begun to develop a series of scripts to introduce various effects to new users. These scripts can be placed in a default prim which becomes an interactive, instructional object. They are a series in that each script (or possibly group of scripts) will build upon what was presented in the previous script (or group of scripts).
I had worked on a similar project back in my first year as an avatar.
A major priority back then was to create an extremely low-prim object. This resulted in objects that might have the user toggling the “Running” checkbox (see image) in the script-edit panel to advance the lessons; or, any one object might have multiple scripts… or rezz other objects for demonstration. The scripting and comments needed to manage those behaviours sat right next to bits that were the meat of the lesson; and, the comments in those scripts were often instructing the user to look at one script first and then another, or toggle checkboxes to activate a script. It just became too clunky.
This new approach places scripts in separate objects. Each script can now be written with clear instructional content (read: extensive commenting), without the distraction and clutter found in the previous project.
On reflection, my own drive to develop low-prim objects in SL might have been unnecessary or extreme, restricting the design in an artificial way; but, it took OpenSim’s abundant elbow room to bring me back to a project that probably has value.


May 4th, 2009 on 10:12 pm
I am interested in learning LSL.
Have you finished your series of
instructional classes yet?
May 6th, 2009 on 12:40 pm
I have sent a link to you for several scripts. Also, you might have a look at this page (older blog):
http://www.edparadigm.com/wordpress/lsl-scripting-in-second-life/
…which was written for those interested in learning LSL.
May 5th, 2009 on 8:10 pm
Thank you for the fabulous response and information. I will definately be taking a look thru it shortly.
*huggle*