Secondlife Blog
 
  • English
  • Spanish
  HOME arrow SL SCRIPTING GUIDE arrow 01 - Introduction
Bookmark Website    Bookmark Page 
HOME
2LIFE NEWS
News From Reuters
SL Games
SEARCH
SL SCRIPTING GUIDE
SL Scripts Downloads
INTEREST SITES
CONTACT US
exchange marketplace
seconlife videos
Secondlife Blogs
Who's Online
 
We have 17 guests online
mod_vvisit_counterToday947
mod_vvisit_counterYesterday880
Who's Online


 Subscribe in a reader










Scripts Download
File Icon Texture Menu Management (1230)
File Icon Email to IM (898)
File Icon Code Racer (768)
File Icon Chat Logger (927)
File Icon Builders Buddy (1083)
File Icon Binary Clock (944)
File Icon Overriding Pose Ball (967)
File Icon Scan Ball (1009)
File Icon 3D Radar (1084)
File Icon Teleport Script (2281)
File Icon Super Jump Script (1724)
File Icon SetText Rotating Banner (1519)
File Icon Particle engine 1.0 (1843)
File Icon JetPack Script (2119)
File Icon Follow Camera (1480)

01 - Introduction

Written by Linden Lab   
jueves, 10 mayo 2007

The Linden Scripting Language (LSL) is a simple, powerful language used to attach behaviors to the objects
found in Second Life . It follows the familiar syntax of a c/Java style language, with an implicit state machine for
every script.


Multiple scripts may also be attached to the same object, allowing a style of small, single-function scripts to
evolve. This leads to scripts that perform specific functions ("hover", "follow", etc.) and allows them to be
combined to form new behaviors.


The text of the script is compiled into an executable byte code, much like Java. This byte code is then run within
a virtual machine on the simulator. Each script receives a time slice of the total simulator time allocated to
scripts, so a simulator with many scripts would allow each individual script less time rather than degrading its
own performance. In addition, each script executes within its own chunk of memory, preventing scripts from
writing into protected simulator memory or into other scripts, making it much harder for scripts to crash the
simulator.


This tutorial introduces the reader to the basic features of LSL, how to edit and apply your scripts, and a
complete reference for standard linden constants, events, and library functions.

Last Updated ( viernes, 13 julio 2007 )
 
Next >
Related Items
HOME | 2LIFE NEWS | News From Reuters | SL Games | SEARCH | SL SCRIPTING GUIDE | SL Scripts Downloads | INTEREST SITES | CONTACT US | exchange marketplace | seconlife videos | Secondlife Blogs |
Advertisement
login





Lost Password?
No account yet?
Register
Friendly Webs

   
© 2013 2lifeBlog
Second Life® and Linden Lab® are trademarks or registered trademarks of Linden Research, Inc.
All rights reserved. No infringement is intended.