Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

760
Functions
934
Constants
4
Wolf Territories only

The wolf* functions

Written for this grid and available nowhere else. A script may only do what the object’s owner could do by hand, so region weather needs the estate and parcel weather needs the parcel.

string wolfGetLastError()

The last error from a wolf* call on this script, or an empty string.

list wolfGetRegionWeather()

This region's stored weather as key/value pairs, or an empty list.

integer wolfSetParcelWeather(list rules)

Force the weather on the parcel this prim stands in, by writing the keyword form into THIS prim's description — the mechanism the viewers already read. The script's owner must own the parcel (or hold the region).

integer wolfSetRegionWeather(list rules)

Set this region's weather. The script's OWNER must hold the region. Key/value pairs: see Wolf_Api.WeatherRulesToJson. TRUE when the grid accepted it, FALSE otherwise.

Example — a scripted storm

default
{
    touch_start(integer n)
    {
        if (!wolfSetRegionWeather([ "kind", "rain",  "level", 3,
                                    "density", 140,  "amb", "thunder" ]))
            llOwnerSay("Weather refused: " + wolfGetLastError());
    }
}

Browse by family

A – Z

By the first letter after the prefix.

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

This reference is generated from the region software Wolf Territories runs, so it lists what the grid actually implements rather than what a wiki says it should. 181 of them have no written description yet; those say so rather than guessing.