20 September 2015
getmovementdata (Commands) | |
---|---|
Type | Corrade progressive command |
Command | getmovementdata |
Description | The getmovementdata queries the AgentMovement class for the current Corrade bot. |
Permissions | grooming |
Parameters | group , password , data |
Last Changes | Release 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) ] ) ); |