Linden Scripting Language, also referred to as LSL, is a programming language that allows you to add interactive behavior to any object in Second Life. For example, you can make fire, rain, or snow with particles, doors that open when you click them, lights that move or flash different colors — you can even create an entire game. Learning how to write scripts opens up countless creative possibilities, enabling you to bring your objects to life and make them interactive.
A script is a list of instructions that are to be executed in the order they are written. Since these instructions are performed by a computer, they must be written in a specific format and grammar (called a syntax). Learning a scripting or programming language for the first time can be a daunting task; however, if you've used other programming or scripting languages, you should be able to grasp LSL quickly.
Temporary objects are automatically deleted after a short time. This is great for any short-term object you don't intend to keep. Examples include bullets from guns, physics experiments, or test scripts that involve motion or might otherwise get away from you. To make an object temporary:
- Right-click the object and choose Edit. Or press Ctrl-3 and click on the object.
- Open the Object tab. Click More if you don't see it.
- Select the checkbox next to Temporary.
|Note: Temporary objects don't count toward your land object or prim limits.|
The LSL Wiki is being actively expanded by Residents as a repository for scripting documentation, since any Resident can edit the Second Life Wiki. So if you've got help to give, you're welcome to share your knowledge.
Be sure to check the Event Calendar inworld for scripting classes hosted by knowledgeable Residents!