by Dadiella Nightwing | Oct 10, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llUnSit(key id) If the agent identified by id is sitting on the scripted object or is over land owned by the scripted object’s owner, the agent is forced to stand up. Notes: When dealing with group land, the object owner must be the group. It won’t work if...
by Brayla Sana | Oct 14, 2017 | Events, LSL, OSSL, Wiki
money(key id, integer amount) This event is triggered when the agent with the key id gives amount of Linden Dollars to the object. The existence of a money event (even an empty one)...
by Brayla Sana | Jan 23, 2017 | LSL, OSSL, Types, Wiki
NaN stands for Not a Number. NaNs are used to represent the results of operations that are not real numbers or are too big to fit into a float and therefore cannot be adequately represented with a float. In SL, generating a NaN (by 1.0/0.0) will crash the script. //...
by Brayla Sana | May 26, 2017 | LSL, Operators, OSSL, Wiki
NOT is unlike the other bitwise operators in that it does not perform an operation on two bitfields. It only performs an operation on one. What it does is reverse the bitfield; if a bit was previously 0, it is changed to 1, and vice versa. Truth Table: NOT...
by Brayla Sana | Jan 16, 2017 | LSL, Operators, OSSL, Wiki
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....
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...