31 July 2019
selection optional parameter.10 January 2019
folder parameter when action is set to take.6 October 2016
19 May 2015
range is now an optional parameter and not required to locate the item.14 December 2014
take action.
The updateprimitiveinventory command can add or remove items from a primitive's (task) inventory.
| Command | Required Parameters | Required Corrade Permissions | Example |
|---|---|---|---|
updateprimitiveinventory | group, password, item, entity, action | interact | llInstantMessage(CORRADE, wasKeyValueEncode( [ // Add a "README" notecard from the bot's // inventory to a primitive named "Package". "command", "updateprimitiveinventory", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), // Or UUID... "item", "Package", "range", 5, "entity", "/My Inventory/Notecards/README", "action", "add" ] ) ); |
| Optional Parameter | Possible Value | Description |
|---|---|---|
range | A range in meters. | The spherical distance from Corrade in which to locate the item. |
| Parameter | Possible Value | Optional Parameter | Description |
|---|---|---|---|
action | add | Add an entity to the primitive. |
|
remove | Remove an entity from the primitive. |
||
take | Remove an entity from the primitive and place it in Corrade's inventory. |
||
folder | The path to a folder or the UUID of the folder to which Corrade should take the item to. |
Depending on context, entity can be:
add action, entity can the path to an inventory item or an UUID representing an item in the bot's inventory.remove and take action, entity can be the name or UUID representing an item in the primitive's inventory.For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.