ReturnObjectsScope
Constants in the ReturnObjectsScope flag set. These are flags and can be combined with bitwise OR.
integer OBJECT_RETURN_PARCEL = 0x0001; // Scope flag used with llReturnObjectsByOwner to return all objects on the same parcel as the script owned by the specified owner.integer OBJECT_RETURN_PARCEL_OWNER = 0x0002; // Scope flag used with llReturnObjectsByOwner to return all objects owned by the specified owner that are located on parcels owned by the script's owner.integer OBJECT_RETURN_REGION = 0x0004; // Scope flag used with llReturnObjectsByOwner to return all objects in the region owned by the specified owner.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
OBJECT_RETURN_PARCEL | integer | 1 | Scope flag used with llReturnObjectsByOwner to return all objects on the same parcel as the script owned by the specified owner. Requires the script owner to be an estate manager or the parcel owner. |
OBJECT_RETURN_PARCEL_OWNER | integer | 2 | Scope flag used with llReturnObjectsByOwner to return all objects owned by the specified owner that are located on parcels owned by the script's owner. |
OBJECT_RETURN_REGION | integer | 4 | Scope flag used with llReturnObjectsByOwner to return all objects in the region owned by the specified owner. Only works if the script is owned by the estate owner or an estate manager. |
Used by
llReturnObjectsByOwnerfunctionReturns objects owned by owner within the specified scope (parcel, parcel owner, or region). Requires the PERMISSION_RETURN_OBJECTS permission, and the script owner must own the parcel or be an estate manager/region owner.