Get Movement Data

20 September 2015

  • Release 9.14 - added

<data Commands> Type: Corrade progressive command Command[wiki]: getmovementdata Description[wiki]: The getmovementdata queries the AgentMovement class for the current Corrade bot. Permissions[wiki]: grooming Parameters[wiki]: group, password, data Last Changes[wiki]: Release 9.14 - added </data>

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)
        ]
    )
);