Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 2.26 KB

File metadata and controls

58 lines (41 loc) · 2.26 KB
title Getting Started with Scripting
description Learn how to start scripting in Second Life with Lua and LSL

import { Aside, Card, CardGrid } from '@astrojs/starlight/components';

This documentation site is currently under construction. Content is being actively developed and may be incomplete or subject to change.

Welcome to scripting in Second Life! Whether you're new to programming or an experienced developer, you'll find the tools and resources you need to bring your creations to life.

Choose Your Language

Second Life supports two scripting languages:

A modern scripting option based on Luau (A Lua variant). Lua brings contemporary language features to Second Life scripting.
- Modern language features (maps, types, objects)
- Familiar to millions of Luau/Lua developers
- Active development and improvements
- Better performance
The classic scripting language for Second Life. LSL has been the foundation of scripted content since 2003, with a vast library of existing scripts and tutorials.
- Extensive existing examples 
- Large community of scripters

What Can You Script?

Scripts control nearly every aspect of interactive content in Second Life:

  • Objects and Prims - Make objects move, change color, respond to touch
  • Avatars - Create attachments, HUDs, gestures, and animations
  • Environment - Control lighting, sound, and particles
  • Communication - Chat, instant messages, HTTP requests, and data storage
  • Physics - Apply forces, detect collisions, and simulate real-world behavior

Next Steps

Ready to start? Choose your path:

Need Help?

  • Visit the Second Life Forums for community support
  • Check out the scripting library for working examples
  • Review the complete language references for detailed documentation