Batch Set Group for Multiple Objects

10 November 2018

  • Release 10.1 - added.

<data Commands> Type: Corrade progressive command Command[wiki]: batchsetobjectgroup Description[wiki]: The batchsetobjectgroup command can be used to set the group of multiple objects. Permissions[wiki]: interact Parameters[wiki]: group, password, item Last Changes[wiki]: Release 10.1 - added. </data>

The batchsetobjectgroup command can be used to set the group of multiple objects.

Command Required Parameters Required Corrade Permissions Example
batchsetobjectgroup group, password, item interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // set the group for multiple in-world objects
            "command", "batchsetobjectgroup",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasURLEscape(
                wasKeyValueEncode(
                    [
                        "69434a76-6b0a-42fc-89b6-4213c71906aa",
                        "Chair",
                        "Ball"
                    ]
                )
            ),
            "range", 5
        ]
    )
);
Optional Parameter Possible Value Description
range A range in meters. The spherical distance from Corrade in which to locate the item.

Notes