Set Region Terrain Variables

26 September 2015

  • Release 9.19 - added.

<data Commands> Type: Corrade progressive command Command[wiki]: setregionterrainvariables Description[wiki]: The setregionterrainvariables command sets some miscellaneous variables for the current region. Permissions[wiki]: land Parameters[wiki]: group, password Last Changes[wiki]: Release 9.19 - added. </data>

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.