by Brayla Sana | Oct 14, 2017 | Events, LSL, OSSL, Wiki
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...
by Brayla Sana | Jan 31, 2019 | Agent and Avatar, Functions, LSL, OSSL, Wiki
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...
by Brayla Sana | Jan 31, 2019 | Agent and Avatar, Functions, LSL, OSSL, Wiki
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...
by Brayla Sana | Oct 14, 2017 | Events, LSL, OSSL, Wiki
dataserver(key queryid, string data) This event handler is triggered when the requested data is returned to the script. Data may be requested using...
by Brayla Sana | Apr 19, 2016 | Flow Control, LSL, OSSL, Wiki
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...
by Brayla Sana | Apr 19, 2016 | Events, LSL, OSSL, Wiki
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...