If the script is owned by an agent, PERMISSION_RETURN_OBJECTS may be granted by the owner. If the script is owned by a group, this permission may be granted by an agent belonging to the group's "Owners" role.
integer llReturnObjectsByID( list objects );
Forced delay: 0.0 seconds.
To run this function the script must request the PERMISSION_RETURN_OBJECTS permission with llRequestPermissions.
If the return value is negative, it represents an error flag.
Returns an integer that is the number of objects successfully returned to their owners or an ERR_* flag.
If the script is owned by an estate owner or manager, this function works for objects located on any parcel in the region. Otherwise, the script can return objects located over land owned by the owner of the script.
As a security measure, parcel owner, estate owner, and estate managers can not have their objects returned by this method, except when the object returns itself.
Throttled at max parcel land impact capacity region-wide per hour.
| Error Flags | Description | ||||||
|---|---|---|---|---|---|---|---|
| ERR_GENERIC | -1 | A nebulous and inexplicable error, nothing is known about it. | |||||
| ERR_PARCEL_PERMISSIONS | -2 | Permission lacked to perform task on specified parcel. | |||||
| ERR_MALFORMED_PARAMS | -3 | Parameters are malformed. | |||||
| ERR_RUNTIME_PERMISSIONS | -4 | Script lacks the runtime permission to perform the requested task. | |||||
| ERR_THROTTLED | -5 | Task has been throttled. Try again later. | |||||
Permissions
Date of Release 18/06/2013