Derez or Return Object

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.

19 May 2015

  • Release 8.12 - range is now an optional parameter and not required to locate the item.
derez (Commands)
TypeCorrade progressive command
Commandderez
DescriptionThe derez command attempts to de-rez an object from a parcel and either save it in the inventory or to a different destination depending on the type parameter.
Permissionsinventory
Parametersgroup, password, item
Last ChangesRelease 9.133 - The command now can take a path instead of a name.

The derez command attempts to de-rez an object from a parcel and either save it in the inventory or to a different destination depending on the type parameter.

Command Required Parameters Required Corrade Permissions Example
derez group, password, item inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // attempt to derez an object
            // called Chair in a 5m range
            "command", "derez",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasURLEscape("Chair"),
            "range", 5
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional Parameter Possible Value Description
folder A path or UUID of a folder. Attempts to de-rez the item to the specified folder
type A field name from DeRezDestination. Can take, delete, attach, etc… The specified item as the de-rez action.
range A range in meters. The spherical distance from Corrade in which to locate the item.

Notes