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.


secondlife/scripted_agents/corrade/api/commands/setregionterrainvariables.txt ยท Last modified: 2022/11/24 07:45 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.