Set Object Media Data

20 August 2015

  • Release 8.44 - added.
setobjectmediadata (Commands)
TypeCorrade progressive command
Commandsetobjectmediadata
DescriptionThe setobjectmediadata command can be used to set the media data from an object given a face to change.
Permissionsinteract
Parametersgroup, password, item, data, face
Last ChangesRelease 8.44 - added.

The setobjectmediadata command can be used to set the media data from an object given a face to change.

Command Required Parameters Required Corrade Permissions Example
setobjectmediadata group, password, item, data, face interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // get the media data from a primitive
            // in a 5 meter range named "TV Screen 1.0"
            "command", "setobjectmediadata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasURLEscape("TV Screen 1.0"),
            "range", 5,
            // set the data on face 0
            "face", 0,
            "data", wasURLEscape(
                wasListToCSV(
                    [
                        "CurrentURL",
                        "http://www.grimore.org",
                        "AutoPlay",
                        "True"
                    ]
                )
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional Parameters Description
range The spherical radius from Corrade to search the primitive in.

The command takes parameters in data from the MediaEntry structure.


secondlife/scripted_agents/corrade/api/progressive/commands/setobjectmediadata.txt ยท Last modified: 2017/02/22 18:29 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.