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

wolfEnvironmentRemove

Wolf Territories
string wolfEnvironmentRemove(integer scope)

Remove the region's or this parcel's Wolf Environment: the region goes back to its own sky, the parcel to the region's. Same owner rights as wolfEnvironmentSet. Returns "" when done (also when there was none), otherwise the reason.

Removes the Wolf Environment of the whole region (the region goes back to its own sky) or of the parcel this object is over (the parcel goes back to the region's sky). To switch it off but keep the settings for later, use wolfEnvironmentSet with WOLF_ENV_MODE "off" instead. Same rights and limits as wolfEnvironmentSet. Returns "" when done, also when there was nothing to remove, otherwise the reason.

Parameters

TypeName What it does
integer scope WOLF_ENV_REGION or WOLF_ENV_PARCEL.

Example

default
{
    touch_start(integer n)
    {
        if (llDetectedKey(0) != llGetOwner()) return;
        string why = wolfEnvironmentRemove(WOLF_ENV_PARCEL);
        if (why == "") llOwnerSay("This parcel has the region's sky again.");
        else llOwnerSay("Refused: " + why);
    }
}
Energy 10

Ours alone. Grid features you will not find on any other OpenSimulator grid.

More in Wolf Territories