6 October 2016

26 September 2015

The setregionterraintextures command sets the estate textures for the current region. The command requires that Corrade is an estate manager.

CommandRequired ParametersRequired Corrade PermissionsRequired AbilitiesExample
setregionterraintexturesgroup, password, datalandCorrade must be an estate manager.
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "setregionterraintextures",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "data", wasListToCSV(
                [
                    "sand", // Low
                    "39827078-24b1-49bf-bd15-32d2dd4c4787", // Middle Low
                    "e68ef846-e757-4fcd-b4e8-0929b05a3ddc", // Middle High
                    "a143a98c-7d1f-49cd-afe4-ccb2f01482ba" // High
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

The CSV list passed to the “data” key can consist of texture UUIDs or the path to a texture in Corrade's inventory. This command is compatible with the getregionterraintextures command.