Set Camera Data

20 September 2015

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

The setcameradata sets values for the AgentCamera class for the current Corrade bot.

Command Required Parameters Required Corrade Permissions Example
setcameradata group, password, data grooming
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // set the camera position
            // to the current object
            "command", "setcameradata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "data", wasListToCSV(
                [
                    "Position",
                    llGetPos()
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);