Detach an Attachment

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.

14 April 2016

  • Release 9.63 - added the required type parameter.
detach (Commands)
TypeCorrade progressive command
Commanddetach
DescriptionCorrade can detach attached items using the detach command.
Permissionsgrooming
Parametersgroup, password, attachments
Last ChangesRelease 9.133 - The command now can take a path instead of a name.

Corrade can detach attached items using the detach command.

Command Required Parameters Required Corrade Permissions Example
detach group, password, attachments, type grooming
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "detach",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // Helmet and Milk Bottle are object names in the inventory
            // ... You can also use UUIDs for inventory items.
            "type", "path",
            "attachments", wasListToCSV(
                [
                    "/My Inventory/My Outfit/Helmet",
                    "/My Inventory/Cool Stuff/Milk Bottle"
                ]
            )
        ]
    )
);
Parameter Possible Value Description
type path Detach the attachments list by a path to inventory items.
UUID Detach the attachments list by inventory UUID.
slot Detach the attachments list by attachment slot.
Optional Parameters Possible Value Description
deanimate True or False Whether to stop all non-Linden animation after detaching.

Demonstration

Notes

  • Any attachment that cannot be removed for whatever reason will be sent back via the callback and passed to the data parameter.

secondlife/scripted_agents/corrade/api/commands/detach.txt · Last modified: 2022/11/24 07:45 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.