wolfRestoreBoat
Wolf Territoriesinteger wolfRestoreBoat()
Raises the boat this script is in, sunk (or still sinking) by wolfSink, back to exactly where and how it was before: position, rotation, physics and particles; any timed restore, return or delete is cancelled. The owner must still be allowed to build where it was. Returns 1, or 0 with wolfGetLastError saying why. Defined on Wolf_Api.wolfRestoreBoat / WolfWreck.
Raises the boat the script is in, sunk (or still sinking) by wolfSink, back to exactly where and how it was before it sank: the same position and rotation, physical again if it was, and its own particles back. Any timed restore, return or delete that wolfSink set up is cancelled. You must still be allowed to build where it was. It also works after the region has restarted with the boat on the seabed. Returns 1, or 0 with wolfGetLastError saying why (for example when the boat has not sunk).
Takes no parameters.
Example
// Bring the boat back up when its owner says /7 raise.
listen(integer ch, string name, key id, string msg)
{
if (msg == "raise" && !wolfRestoreBoat())
llOwnerSay("Cannot raise it: " + wolfGetLastError());
}Ours alone. Grid features you will not find on any other OpenSimulator grid.