by Brayla Sana | Jan 16, 2017 | LSL, Operators, OSSL, Wiki
OR places a 1 in the bitfield if either bitfields passed to it have a 1 in that position. If neither has a 1, it places a 0 in that position. Truth Table: OR 1 0 1 1 1 0 1 0 Usage: // A bitfield whose binary representation is: 00000000000000000000000000001010 integer...
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...