Set Movement Data

20 September 2015

  • Release 9.14 - added
setmovementdata (Commands)
TypeCorrade progressive command
Commandsetmovementdata
DescriptionThe setmovementdata sets values for the AgentMovement class for the current Corrade bot.
Permissionsgrooming, movement
Parametersgroup, password, data
Last ChangesRelease 9.14 - added

The setmovementdata sets values for the AgentMovement class for the current Corrade bot.

Command Required Parameters Required Corrade Permissions Example
setmovementdata group, password, data grooming, movement
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // match the rotation of the head
            // with the rotation of the primitive
            "command", "setmovementdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "data", wasListToCSV(
                [
                    "HeadRotation",
                    llGetRot()
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);