TransferOwnershipFlag
Constants in the TransferOwnershipFlag flag set. These are flags and can be combined with bitwise OR.
integer TRANSFER_FLAG_COPY = 0x0004; // Inventory transfer flag that copies the transferred object and places it in the recipient's inventory (implies TRANSFER_FLAG_TAKE).integer TRANSFER_FLAG_RESERVED = 0x0001; // Inventory transfer flag reserved for future expansion; do not use.integer TRANSFER_FLAG_TAKE = 0x0002; // Inventory transfer flag that automatically removes the object from the world and places it in the recipient's inventory once accepted.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
TRANSFER_FLAG_COPY | integer | 0x0004 | Inventory transfer flag that copies the transferred object and places it in the recipient's inventory (implies TRANSFER_FLAG_TAKE). |
TRANSFER_FLAG_RESERVED | integer | 0x0001 | Inventory transfer flag reserved for future expansion; do not use. |
TRANSFER_FLAG_TAKE | integer | 0x0002 | Inventory transfer flag that automatically removes the object from the world and places it in the recipient's inventory once accepted. |
Used by
llTransferOwnershipfunctionTransfers ownership of the object (or a copy of it, depending on Flags) to the specified agent. Returns an integer indicating the success or failure of the transfer.