|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
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.
Returns an integer that is the number of objects successfully returned to their owners or an ERR_* flag.
|• key||owner||–||avatar or group UUID|
|• integer||scope||–||OBJECT_RETURN_* flag|
Throttled at max parcel land impact capacity region-wide per hour.
|OBJECT_RETURN_PARCEL|| Return all objects on the same parcel as the script which are owned by . |
The script must be owned by an estate manager or over a parcel owned by the owner of the script.
|OBJECT_RETURN_PARCEL_OWNER||Return all objects owned bywhich are over parcels owned by the owner of the script.|
|OBJECT_RETURN_REGION|| Return all objects in the region owned by . |
The script must be owned by the estate owner or an estate manager.
|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.|
- Parcel owner, estate owner and estate managers can not have their objects returned by this method.
- Objects which are owned by the group the land is set to will not be returned by this method.
- Objects owned by other groups will be returned to their previous owner if the object is transferable. If not transferable they are deleted.
Important Issues~ All Issues ~ Search JIRA for related Bugs
|SVC-6281||A||Shared group inventory|
For group-owned land you may want to explicitly code a group owner's key into the script as there is no way to determine if a user is a group owner.
|•||run_time_permissions||–||Permission receiving event|
|•||llGetPermissions||–||Get the permissions granted|
|•||llGetPermissionsKey||–||Get the agent who granted permissions|