Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Par Gen 1.12 For aurora large var regions By SamIam123
- //Crude but works, this will slice up an estate into 256m Parcels
- //Set estate Option's before use and also Chanegt he name and Disc. strings to suit your need
- // parcel naming will start with Talon Lot then add 1 number to the end for each as it goes
- // This takes time for it to finnish 1.05 min per parcel but faster than making them manualy
- integer regionX;
- integer regionY;
- string name = "GME";
- string descript = "Gov Mirage";
- key group = "";
- integer a;//Counter added to the end of name
- key owner;
- default
- {
- state_entry()
- {
- llSay(0, "ParGen Ready. Click to Start");
- }
- touch_start(integer number)
- {
- key owner = llGetOwner();//Parcel Owners UUID
- for ( regionX=0; regionX<8; regionX++ )
- {
- for ( regionY=0; regionY<8; regionY++ )
- {
- vector startpos = < regionX*256, regionY*256,0 >;
- vector endpos = startpos + <256,256,0>;
- a=a+1;
- llSleep(10);//Guessing a delay so we dont flood region manager
- osParcelSubdivide(startpos, endpos);
- llSleep(10);//Another delay b4 we name it
- osSetParcelDetails (startpos, [PARCEL_DETAILS_NAME, a+" "+name,PARCEL_DETAILS_DESC, descript,PARCEL_DETAILS_OWNER, owner, PARCEL_DETAILS_GROUP, group]);
- }
- }
- llSay(0,"Touched."); //redundant
- }
- }
Add Comment
Please, Sign In to add comment