A B C D E F I J K L M N O R S T U V W

Sound

Second Life uses the FMOD audio library to handle sound. When sound files are uploaded to SL they are encoded from the WAV PCM format to the Ogg Vorbis format. Even though sounds are streamed, the client will not start playback until it has completely downloaded the...

String

A string is a sequence of characters limited in length only by available memory. Strings are enclosed in quotation marks (“). LSL uses UTF-8 for its encoding standard for strings. Example: string foo = “bar”; // this defines a string named...

Teleport

In the metaverse, a teleport allows users to move from one region/sim to another without crossing a sim boundary or moving within a sim. By default, users are able to teleport directly to any coordinate within the grid. To...

Types

Variables, function parameters, and return values have types. This means that a value stored in a variable, bound to a function parameter, or returned by a function must be of the same type, or it must be converted to the same type. LSL provides a set of seven basic...

Unary

Unary operators take one argument. In LSL these arguments are normally integers. Operator Type Meaning Return Value Effect variable++ Arithmetic post-increment variable variable is set to variable + 1 ++variable Arithmetic pre-increment variable + 1 variable is set to...

Variable

A variable is an identifier or name of a place to store information in a script. The process of creating a variable is called “variable declaration”, “declaring a variable” or “defining a variable”. A variable always has a type...