by Brayla Sana | Apr 19, 2016 | Flow Control, LSL, OSSL, Wiki
jump label A jump is like a goto in other languages. Jumps can be used to alter normal flow control. When a jump occurs, script execution immediately moves to the next statement after the corresponding label definition, skipping intervening code and breaking out...
by Brayla Sana | Jun 16, 2017 | LSL, OSSL, Types, Wiki
The key type is a specialized string, a unique identifier that can be used to reference objects, inventory items and agents in Second Life. Sometimes also referred to as UUID (Universal Unique IDentifier), UID, or asset-ID, a key can be represented as a string of...
by Brayla Sana | Jun 16, 2017 | LSL, OSSL, Types, Wiki
Instead of arrays, LSL uses lists. The list type is exactly what it sounds like: a heterogeneous list of the other data types. Lists are created via comma-separated values (CSV) of the other data types. enclosed by square brackets: “[” and “]”....
by Brayla Sana | Jun 14, 2018 | Events, LSL, OSSL, Wiki
listen(integer channel, string name, key id, string message) The listen() event handler is invoked whenever a chat message matching the constraints passed in the llListen function is heard. The channel the chat was picked up on, the name and id of the speaker and the...
by Dadiella Nightwing | Oct 10, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llAttachToAvatar(integer attachment) Attaches the scripted object at the specified attachment point to the avatar it has PERMISSION_ATTACH for. Even though users other than the owner can grant...
by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
key llAvatarOnSitTarget() If an avatar is sitting on the sit target, this function will return the avatar’s key; NULL_KEY otherwise. This will only detect avatars sitting on sit targets defined with llSitTarget. At some point prior to SL 1.6.5, it would...