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

wolfRestoreBuilding

Wolf Territories
integer wolfRestoreBuilding()

From a script in any piece of a build brought down by wolfCollapse: put the build back now, exactly as it was. Returns 1, or 0 with wolfGetLastError saying why. Defined on Wolf_Api.wolfRestoreBuilding / WolfWreck.

Puts a build brought down by wolfCollapse back now, exactly as it was, instead of waiting for its restore time. Call it from the script that collapsed it (it lives on in its piece of the rubble) or any other script of yours in one of the pieces. Returns 1, or 0 with wolfGetLastError saying why (for example when the prim is not part of a collapsed build).

Takes no parameters.

Example

// In the collapse script: touch the rubble to put the build back.
touch_start(integer n)
{
    if (llDetectedKey(0) == llGetOwner() && !wolfRestoreBuilding())
        llOwnerSay("Cannot put it back: " + wolfGetLastError());
}
Energy 10

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

More in Wolf Territories