Set Camera Data

20 September 2015

  • Release 9.14 - added

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

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