Guest User

Untitled

a guest
May 23rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. //Par Gen 1.12 For aurora large var regions By SamIam123
  2. //Crude but works, this will slice up an estate into 256m Parcels
  3. //Set estate Option's before use and also Chanegt he name and Disc. strings to suit your need
  4. // parcel naming will start with Talon Lot then add 1 number to the end for each as it goes
  5. // This takes time for it to finnish 1.05 min per parcel but faster than making them manualy
  6.  
  7. integer regionX;
  8. integer regionY;
  9. string name = "GME";
  10. string descript = "Gov Mirage";
  11. key group = "";
  12. integer a;//Counter added to the end of name
  13. key owner;
  14. default
  15. {
  16. state_entry()
  17. {
  18. llSay(0, "ParGen Ready. Click to Start");
  19. }
  20. touch_start(integer number)
  21. {
  22. key owner = llGetOwner();//Parcel Owners UUID
  23. for ( regionX=0; regionX<8; regionX++ )
  24. {
  25. for ( regionY=0; regionY<8; regionY++ )
  26. {
  27. vector startpos = < regionX*256, regionY*256,0 >;
  28. vector endpos = startpos + <256,256,0>;
  29. a=a+1;
  30. llSleep(10);//Guessing a delay so we dont flood region manager
  31. osParcelSubdivide(startpos, endpos);
  32. llSleep(10);//Another delay b4 we name it
  33. osSetParcelDetails (startpos, [PARCEL_DETAILS_NAME, a+" "+name,PARCEL_DETAILS_DESC, descript,PARCEL_DETAILS_OWNER, owner, PARCEL_DETAILS_GROUP, group]);
  34. }
  35. }
  36. llSay(0,"Touched."); //redundant
  37. }
  38. }
Add Comment
Please, Sign In to add comment