Batch Start and Stop Animations

30 October 2018

  • C10 - added.
batchanimation (Commands)
TypeCorrade progressive command
Commandbatchanimation
DescriptionThe batchanimation command can be used to start and stop multiple animations.
Permissionsgrooming
Parametersgroup, password
Last ChangesC10 - added.

The batchanimation command can be used to start and stop multiple animations.

Command Required Parameters Required Corrade Permissions Example
batchanimation group, password grooming
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Start the "Fit" animation,
            // stop the "Jump" animation
            // and start an animation by UUID
            "command", "batchanimation",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasURLEscape(
                wasListToCSV(
                    [
                        "/My Inventory/Animations/Fit",
                        True
                        "/My Inventory/Animations/Jump",
                        False,
                        "80a7674c-7dfe-473c-965e-f35329e75d98",
                        True
                    ]
                )
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

The command will return a list of animations that could not be processed in case an error occurs.