Set Region Terrain Variables

26 September 2015

  • Release 9.19 - added.
setregionterrainvariables (Commands)
TypeCorrade progressive command
Commandsetregionterrainvariables
DescriptionThe setregionterrainvariables command sets some miscellaneous variables for the current region.
Permissionsland
Parametersgroup, password
Last ChangesRelease 9.19 - added.

The setregionterrainvariables command sets some miscellaneous variables for the current region. The command requires that Corrade is an estate manager.

Command Required Parameters Required Corrade Permissions Required Abilities Example
setregionterrainvariables group, password land Corrade must be an estate manager.
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "setregionterrainvariables",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // set the water height to 10m (default 20)
            "waterheight", 10,
            // set the terrain raise limit to 100m (default 4)
            "terrainraiselimit", 100,
            // set the terrain lower limit to -100m (default -4)
            "terrainlowerlimit", -100,
            // use the estate sun
            "useestatesun", "True",
            // do not use a fixed sun
            "fixedsun", "False",
            // set the sun to mid-day (from 6.0: sunrise to 30.0: sunset)
            "sunposition", 18,
            "callback", wasURLEscape(URL)
        ]
    )
);

Note that all the parameters must be set or Corrade will use default values.