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

Control

control(key id, integer held, integer change) Once a script has permission to take control inputs from the avatar with the key id (see llRequestPermissions), and has taken control of the...

Controls

Controls can be various things in the metaverse, from UI elements to functions to events to constants. The avatar and camera can be specifically controlled through LSL but another type of...

Damage

On land parcels with the damage option enabled, avatars can be damaged and killed (which simply teleports them to their home location, similar to llTeleportAgentHome). The current health of an avatar is...

Dataserver

dataserver(key queryid, string data) This event handler is triggered when the requested data is returned to the script. Data may be requested using...

Do-While

 A do-while loop is similar to a while loop, but the order in which the parts are executed is different. Format do { statements } while (condition);   Example do { llSay(0, “monkey!”); } while (monkeysRemain()); This code will say...

Events

LSL is an event-driven language. Literally, scripts are divided into blocks of code that are triggered when a certain event happens. Scripts can provide event handlers, like moving_end or touch_start. If a script provides an event handler, and an event of this type...