takeInworldPrim
Takes (de-rezzes) or copies an in-world prim into the bot's inventory.
Bot.takeInworldPrim(operation, objectUUID, folderUUID);Input
Variable | Required | Description |
|---|---|---|
| yes | One of the following values: |
| yes | The UUID of the in-world object |
| no | (Optional) UUID of the folder to place the object in. The Objects folder is used if not specified. |
Output
Function returns a Promise with the following data:
Variable | Type | Description |
|---|---|---|
| bool | True if command completed successfully |
| string | Error string if command has failed |
Comments
Not available for self-hosted QubicBot app yet.
Your bot must have the rights to take or copy the specified object — either by owning it or having sufficient permissions as the owner’s friend.
Example
Take (de-rez) an in-world object to the default (“Objects”) folder:
Bot.takeInworldPrim("take", "bd36c29f-8a14-4350-b648-3e0f50b6d32a");