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

Operators

In mathematics, an operator is a symbol that expresses the operation to be performed. In LSL, operators perform simple “common-sense” operations on values. The assignment operators are special in that the left hand side of the operation must be a variable. Operator...

OR

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...

Return

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 referring...

Rotation

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 ‘.w’). Syntax: float x = 0.0; float y = 0.0; float z = 0.0;...

run_time_permissions

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 to this event contains the current set of permissions flags so,...

Serialization

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...