31 July 2019

20 August 2015

The getprimitiveflexibledata command can be used to retrieve the set flexible data from a primitive.

CommandRequired ParametersRequired Corrade PermissionsExample
getprimitiveflexibledatagroup, password, item, datainteract
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // get the gravity and wind of a primitive
            // in a 4 meters range by UUID
            "command", "getprimitiveflexibledata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "50b58762-b2d1-4624-ac27-e73e3d78e6bb",
            "range", 4,
            "data", wasURLEscape(
                wasListToCSV(
                    [
                        "Gravity",
                        "Wind"
                    ]
                )
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional ParametersPossible ValueDescription
rangeA number representing meters.The spherical radius from Corrade to search the primitive in.

The command queries the FlexibleData structure of a primitive.

Notes