Batch Set Object Permissions for Multiple Objects

31 July 2019

  • C10 - added the selection parameter.

10 November 2018

  • Release 10.1 - added.
batchsetobjectpermissions (Commands)
TypeCorrade progressive command
Commandbatchsetobjectpermissions
DescriptionThe batchsetobjectpermissions command can be used to set the permissions for multiple objects.
Permissionsinteract
Parametersgroup, password, item, permissions
Last ChangesRelease 10.1 - added.

The batchsetobjectpermissions command can be used to set the permissions of multiple objects.

Command Required Parameters Required Corrade Permissions Example
batchsetobjectpermissions group, password, item, permissions interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "batchsetobjectpermissions",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "permissions", wasURLEscape("c--mvt--------------c---v-c--mvt"),
            "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.
selection attached, rezzed or all (default: all) Either attached, rezzed or all for selecting only primitives or objects attached to avatars, primitives or objects rezzed in-world or all primitives or objects respectively.

Notes

  • This command is a discrete plural of the setobjectpermissions command.
  • Setting the selection parameter appropriately when it is known beforehand whether the sought object is either attached to an avatar or rezzed in-world can greatly improve the search time and speed up the command.

secondlife/scripted_agents/corrade/api/commands/batchsetobjectpermissions.txt ยท Last modified: 2020/09/04 06:44 (external edit)

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


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