31 July 2019
selection
parameter.10 November 2018
<data Commands>
Type: Corrade progressive command
Command[wiki]: batchsetobjectpermissions
Description[wiki]: The batchsetobjectpermissions
command can be used to set the permissions for multiple objects.
Permissions[wiki]: interact
Parameters[wiki]: group
, password
, item
, permissions
Last Changes[wiki]: Release 10.1 - added.
</data>
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. |
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.