20 September 2015

The getmovementdata queries the AgentMovement class for the current Corrade bot. In other words, it can be used to determine the bot's flight status, whether it is sitting on the ground, etc…

CommandRequired ParametersRequired Corrade PermissionsExample
getmovementdatagroup, password, datagrooming
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // get whether Corrade is set
            // to always run and if Corrade
            // is currently marked as away
            // and the rotation of the head
            // expressed in quaternions
            "command", "getmovementdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "data", wasListToCSV(
                [
                    "AlwaysRun",
                    "Away",
                    "HeadRotation"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);