20 May 2017
parceldivide (Commands) | |
---|---|
Type | Corrade progressive command |
Command | parceldivide |
Description | The parceldivide command allows you to divide land parcels. |
Permissions | land |
Parameters | group , password |
Last Changes | Release 9.164 - added. |
The parceldivide
command allows you to divide land parcels.
Command | Required Parameters | Required Corrade Permissions | Required Abilities | Example |
---|---|---|---|---|
parceldivide | group , password | land | * Parcel Management → Subdivide and join parcels | llInstantMessage(CORRADE, wasKeyValueEncode( [ // divide the land by slicing out a parcel // described by a rectangle defined by two // point vectors corresponding to the // south-west corner and north-east corner. "command", "parceldivide", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "southwest", "<190.501663, 68.421143, 23.906441>", "northeast", "<199.804169, 71.81411, 23.93376>", "callback", wasURLEscape(URL) ] ) ); |
The vector passed to the southwest
and northeast
represent point vectors that define a rectangle within a region that will be sliced into a separate parcel.
North North-East y+ / | point-vector / | / South-West | / | point-vector | NE +-----------|--------------|------+ /////////////|//////////////|////// //////////////|///. . . . . .x///// ///////////////|//.//////////.///// ////////////////|/.//////////.///// West /////////////////|.//////////.///// East //////////////////x. . . . . .///// /////////////////////////////////// /////////////////////////////////// ///Region////////////////////////// +------------------------------------------- SW x+ South
When the command executes, any parcel that intersects the rectangle defined by the point-vectors passed to the southwest
and northeast
parameters will be inspected for permissions and then sliced to become a new self-standing parcel. The parcel can only be created if any of the following conditions are satisfied: