6 October 2016

14 April 2016

Corrade can detach attached items using the detach command.

CommandRequired ParametersRequired Corrade PermissionsExample
detachgroup, password, attachments, typegrooming
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"
                ]
            )
        ]
    )
);
ParameterPossible ValueDescription
typepathDetach the attachments list by a path to inventory items.
UUIDDetach the attachments list by inventory UUID.
slotDetach the attachments list by attachment slot.
Optional ParametersPossible ValueDescription
deanimateTrue or FalseWhether to stop all non-Linden animation after detaching.

Demonstration

[video: secondlife_scripted_agents_corrade_api_progressive_attach_detach.mp4]

Notes