by Brayla Sana | Apr 19, 2016 | Flow Control, LSL, OSSL, Wiki
A return is a value given when exiting a function or event. The return keyword is used for exiting from functions or events. If a function has a return value, all code paths will need to end in a return statement. Note: The term “return value” is used when...
by Brayla Sana | Jan 23, 2017 | LSL, OSSL, Types, Wiki
A rotation is a variable type comprising 4 floats used together as a single item. This data is interpreted as a quaternion. As with vectors, each component can be accessed via ‘.x’, ‘.y’, ‘.z’, and ‘.s’ (not...
by Brayla Sana | Oct 15, 2017 | Events, LSL, OSSL, Wiki
run_time_permissions(integer perm) This event is invoked either after the user has responded to a permission request or if permissions granted to the script have changed. The integer perm value returned...
by Brayla Sana | Jan 23, 2017 | LSL, OSSL, Types, Wiki
Serialization is the process of saving an object onto a storage medium (such as a file, or a memory buffer) or to transmit it across a network connection link such as a socket either as a series of bytes or in some human-readable format such as XML. The series of...
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...