wolfEnvironmentRemove
Wolf Territoriesstring 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
| Type | Name | 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);
}
}Ours alone. Grid features you will not find on any other OpenSimulator grid.