wolfRestoreBuilding
Wolf Territoriesinteger 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());
}Ours alone. Grid features you will not find on any other OpenSimulator grid.