31 July 2019

11 June 2016

Corrade can query data on objects using the getobjectdata command.

CommandRequired ParametersRequired Corrade PermissionsExample
getobjectdatagroup, password, item, datainteract
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 ParameterPossible ValueDescription
rangeA range in meters.The spherical distance from Corrade in which to locate the item.

Notes