31 July 2019
selection
parameter.10 November 2018
batchsetobjectpositions (Commands) | |
---|---|
Type | Corrade progressive command |
Command | batchsetobjectpositions |
Description | The batchsetobjectpositions command can be used to set the positions for multiple objects. |
Permissions | interact |
Parameters | group , password , item |
Last Changes | Release 10.1 - added. |
The batchsetobjectpositions
command can be used to set the positions of multiple objects.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
batchsetobjectpositions | group , password , item | interact | llInstantMessage(CORRADE, wasKeyValueEncode( [ "command", "batchsetobjectpositions", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "item", wasURLEscape( wasKeyValueEncode( [ "Chair", "<10, 230, 113>", "45f8d053-6390-4fb0-963f-39850985574b", "<5, 10, 20>" ] ) ), "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.