Get Movement Data

20 September 2015

  • Release 9.14 - added
getmovementdata (Commands)
TypeCorrade progressive command
Commandgetmovementdata
DescriptionThe getmovementdata queries the AgentMovement class for the current Corrade bot.
Permissionsgrooming
Parametersgroup, password, data
Last ChangesRelease 9.14 - added

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…

Command Required Parameters Required Corrade Permissions Example
getmovementdata group, password, data grooming
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)
        ]
    )
);