Get Primitive Sculpt Data

31 July 2019

  • C10 - added the selection optional parameter.

18 August 2015

  • Release 8.40 - added.
getprimitivesculptdata (Commands)
TypeCorrade progressive command
Commandgetprimitivesculptdata
DescriptionCorrade can query primitive sculpt details using the getprimitivesculptdata command.
Permissionsinteract
Parametersgroup, password, item
Last ChangesRelease 8.40 - added.

Corrade can query primitive sculpt details using the getprimitivesculptdata command.

Command Required Parameters Required Corrade Permissions Example
getprimitivesculptdata group, password, item interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "getprimitivesculptdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Sausage",
            // searches in a 5m range
            "range", "5",
            // returns the sculpt texture UUID
            // whether mirror has been set
            // whether the sculpt is inverted
            "data", wasListToCSV(
                [
                    "SculptTexture",
                    "Mirror",
                    "Invert"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

The data parameter follows the SculptData 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.

Notes