26 September 2015
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.