Get Region Terrain Textures

26 September 2015

  • Release 9.19 - added.
getregionterraintextures (Commands)
TypeCorrade progressive command
Commandgetregionterraintextures
DescriptionThe getregionterraintextures command returns the estate textures of the current region.
Permissionsland
Parametersgroup, password
Last ChangesRelease 9.19 - added.

The getregionterraintextures command returns the estate textures of the current region.

Command Required Parameters Required Corrade Permissions Required Abilities Example
getregionterraintextures group, password land
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "getregionterraintextures",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "callback", wasURLEscape(URL)
        ]
    )
);

The command returns in data a CSV list of texture UUIDs, in order: low, middle low, middle high and high. You can, of course, combine this command with the download command in order to retrieve the textures as files or base64-encoded data. This command is compatible with the setregionterraintextures command.