by Brayla Sana | May 29, 2018 | Agent and Avatar, Functions, LSL, OSSL, Wiki
Avatars can sit on objects and the ground. Avatars cannot sit on attachments. (One way to fake this would be a separate object that “followed” the target avatar using a sensor and llMoveToTarget, but there...
by Brayla Sana | Jun 12, 2022 | Functions, LSL, OSSL, Sound, Wiki
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...
by Brayla Sana | Jun 16, 2017 | LSL, OSSL, Types, Wiki
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...
by Brayla Sana | Jan 31, 2019 | Agent and Avatar, Functions, LSL, OSSL, Wiki
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...
by Brayla Sana | Jan 23, 2017 | LSL, OSSL, Types, Wiki
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...
by Brayla Sana | Jan 22, 2017 | LSL, Operators, OSSL, Wiki
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...