7 June 2015
region
parameter.14 December 2014
data
key.terrain (Commands) | |
---|---|
Type | Corrade progressive command |
Command | terrain |
Description | The terrain command can download and upload terrains for a region. |
Permissions | land |
Parameters | group , password , action |
Last Changes | Release 8.22 - added the optional region parameter. |
The terrain
command can download and upload terrains for a region:
data
key when the command's action is set
.data
key.Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
terrain | group , password , action | land | llInstantMessage(CORRADE, wasKeyValueEncode( [ // fetch the terrain for the current region // that Corrade is currently on "command", "terrain", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "action", "get", // get the raw terrain for the current region // and send it as a Base64 encoded string in // the "data" key of the callback string "callback", wasURLEscape(URL) ] ) ); |
Optional Parameter | Possible Values | Description |
---|---|---|
region | A string representing a region name. | Attempt to perform the command on the specified region. Note that Corrade must be connected to that region. If in doubt, please use the getconnectedregions command to determine whether the region you want to specify is currently connected. |