31 July 2019
selection parameter.11 June 2016
Corrade can query data on objects using the getobjectdata command.
| Command | Required Parameters | Required Corrade Permissions | Example |
|---|---|---|---|
getobjectdata | group, password, item, data | interact | llInstantMessage(CORRADE, wasKeyValueEncode( [ "command", "getobjectdata", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "item", "Vendor", // searches in a 5m range "range", "5", // returns the position and primitive text as CSV "data", wasListToCSV( [ "Position", "Text" ] ), "callback", wasURLEscape(URL) ] ) ); |
The data parameter follows the libopenmetaverse Primitive structure and sub-structures.
| Optional Parameter | Possible Value | Description |
|---|---|---|
range | A range in meters. | The spherical distance from Corrade in which to locate the item. |