Divide a Parcel

20 May 2017

  • Release 9.164 - added.
parceldivide (Commands)
TypeCorrade progressive command
Commandparceldivide
DescriptionThe parceldivide command allows you to divide land parcels.
Permissionsland
Parametersgroup, password
Last ChangesRelease 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:

  • Corrade is an estate manager
  • Corrade is the owner of all the parcels that have to be sliced
  • Corrade has the group permission to divide and join parcels for all parcels that must be sliced.

Notes


secondlife/scripted_agents/corrade/api/progressive/commands/parceldivide.txt ยท Last modified: 2017/05/20 21:14 by Wizardry and Steamworks

Access website using Tor


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