SHARE
TWEET

Untitled

a guest Oct 9th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. list main = ["Green", "Red", "Orange", "Yellow", "Winter", "SOUND"];
  2. list amount = ["Full", "Medium", "Sparse", "Back"];
  3. list sound = ["Loud", "Medium", "Soft", "Off"];
  4. string green1 = "3507acd1-c94a-3d59-c078-b994a654057f";
  5. string red1 = "6f15d216-cabf-6e07-d636-db4053a9a419";
  6. string orange1 = "088454ac-805e-7b8e-2c1c-f70a6a838a67";
  7. string yellow1 = "1c68e0b0-3fd2-78f6-6bd2-a9caa68e56cc";
  8. string winter1 = "e16b3682-3614-4b86-e2fc-bddadf67566e";
  9. string red2 = "d70bcfab-912d-7e7f-eaf0-06ad87a6b496";
  10. string orange2 = "4ba5db83-4328-811d-ce52-e9937b95ad2b";
  11. string yellow2 = "6616da83-bba1-24bd-53da-bf759d6eb3cb";
  12. string winter2 = "34c2c76b-b1f2-025f-5bbb-6e0893993d50";
  13. string red3 = "8de4acb5-59bb-b9bb-d023-ec4fdd9e1f70";
  14. string orange3 = "89acad93-1c4d-ed8f-5ec1-f3124911927f";
  15. string yellow3 = "da379d9f-fddf-4845-9263-3c98a1b6003e";
  16. string winter3 = "940dbf43-9059-b95a-78dd-c545d21d71fd";
  17. string yellowfall = "9d504ec9-b32c-1b9f-9bbd-635fc4fc2650";
  18. string orangefall = "a49c6a0c-23d7-1adb-9d67-10ea46253362";
  19. string redfall = "c7fb8f82-8a9d-35df-d3b0-ad744aa2f4ac";
  20. string emityellow = "80cd4697-d44b-490c-50eb-706b81650242";
  21. string emitorange = "8d070fab-431d-7a9a-5b03-605970bc399f";
  22. string emitred = "635fa33b-c572-200d-77b0-a074650345ad";
  23. string dirt = "7f25ee28-ebea-0d1b-6b1f-b869ec67ca21";
  24. string dirtsnow = "56b0514a-217e-3ff2-1e3f-d48e1d139824";
  25. string bucket = "a7492e42-62c4-a12e-bd72-134e896bfe14";
  26. string bucketsnow = "a2aa25e5-61e1-b163-c5ed-64a3aa7b56bf";
  27. string leaves = "d8156c9e-46dc-1ed6-2b29-1f62d6b0a5ec";
  28. string snow = "566900f9-9d3b-6fe5-8616-cde672345c99";
  29. string scattered2 = "50a79917-42f3-4919-e3e9-ff5590d9888c";
  30. string scattered3 = "0dec619e-2bfb-9b38-10d7-020dd4e04860";
  31. string trunk = "3d4d7278-1e05-3e85-6bf6-ff86cc720e19";
  32. string trunksnow = "cb13a49a-cc0c-5dc6-f39a-1bb6c4070afd";
  33. string scatteredyellow = "31d2bbc8-b080-e56a-08b5-4bed241baec8";
  34. string scatteredorange = "c00981f7-9046-ac3b-ee5c-122a42ca3ba1";
  35. string scatteredred = "953c5ca7-9a48-2fca-f38b-7c0403aaf020";
  36. string color = emityellow;
  37. string object = "flowers2";
  38. vector relativePosOffset = <-0.81858, -0.75735, -0.73730>;
  39. vector relativeVel = <0.0, 0.0, 0.0>;
  40. rotation relativeRot = <-0.11915, 0.00000, 0.00000, 0.99288>;
  41. integer chan = 321321;
  42. integer access = 0;
  43. integer channel = -89212;
  44. integer listenkey;
  45. integer startParam = 10;
  46.  
  47. menu(key id)
  48. {
  49.     if(id == llGetOwner() || access == 2
  50.       || (access == 1 && llSameGroup(id)))
  51.     {
  52.         llListenRemove(listenkey); listenkey = llListen(channel,"",id,"");
  53.         if(id != llGetOwner())
  54.         {
  55.             llDialog(id,"Menu ",main,channel);
  56.         }
  57.         else
  58.         {
  59.             llDialog(id,"Menu ",main+["Access"],channel);
  60.         }
  61.     }
  62. }
  63. integer getlink(string primname)
  64. {
  65.     integer i; integer result= 9999;
  66.     for(i=1; i<= llGetNumberOfPrims(); i++)
  67.     {
  68.         if(llGetLinkName(i) == primname) result = i;
  69.     }
  70.     return result;
  71. }
  72. setLeaves(string leaves1, string leaves2, string leaves3, string scattered, string falling)
  73. {
  74.                 llLinkParticleSystem(getlink("trunk"), falling_leaves(color)  );
  75.                 llSetLinkPrimitiveParamsFast(getlink("leaves1"),[17,-1,leaves1,<1,1,0>,<1,1,0>,0,34,getlink("leaves2"),17,-1,leaves2,<1,1,0>,<1,1,0>,0,34,getlink("leaves3"),17,-1,leaves3,<1,1,0>,<1,1,0>,0,34,getlink("leaf1"),17,-1,falling,<1,1,0>,<1,1,0>,0,18,-1,<1,1,1>,1,34,getlink("leaf2"),17,-1,falling,<1,1,0>,<1,1,0>,0,18,-1,<1,1,1>,1,34,getlink("leaf3"),17,-1,falling,<1,1,0>,<1,1,0>,0,18,-1,<1,1,1>,1,34,getlink("leaf4"),17,-1,falling,<1,1,0>,<1,1,0>,0,18,-1,<1,1,1>,1,34,getlink("Bucket"),17,1,leaves,<1,1,0>,<1,1,0>,0,17,0,bucket,<1,1,0>,<1,1,0>,0,34,getlink("Ground Leaves"),18,-1,<1,1,1>,1,34,getlink("Rake"),18,-1,<1,1,1>,1,34,getlink("Ground Leaves"),17,2,scattered,<1,1,0>,<1,1,0>,0,17,1,scattered3,<1,1,0>,<1,1,0>,0,17,0,scattered2,<1,1,0>,<1,1,0>,0,34,getlink("trunk"),17,-1,trunk,<1,1,0>,<1,1,0>,0]);
  76.                 llSay(chan, "die");
  77. }
  78. list falling_leaves(string color)
  79. {
  80.     return [ PSYS_SRC_TEXTURE, color  // Gimped by Qie from Public Domain on Wikimedia Commons
  81.             , PSYS_PART_FLAGS
  82.               , PSYS_PART_WIND_MASK     // usually undetectable though
  83.               | PSYS_PART_INTERP_COLOR_MASK
  84.               | PSYS_PART_INTERP_SCALE_MASK
  85.               | PSYS_PART_EMISSIVE_MASK     // I wouldn't, but most would
  86.             , PSYS_SRC_BURST_RADIUS, 1.0          // no effect w/ DROP
  87.             , PSYS_PART_START_SCALE, <0.05, 0.2, 0.0>
  88.             , PSYS_PART_END_SCALE, <0.2, 0.0, 0.0>
  89.             , PSYS_PART_START_COLOR, <0.2, 0.1, 0.1>    // shaded inside tree
  90.             , PSYS_PART_END_COLOR, <1.0, 1.0, 1.0>
  91.             , PSYS_PART_START_ALPHA, 1.0
  92.             , PSYS_PART_END_ALPHA, 1.0
  93.             , PSYS_PART_START_GLOW, 0.01
  94.             , PSYS_PART_END_GLOW, 0.01
  95.             , PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE_CONE
  96.             , PSYS_SRC_ANGLE_BEGIN, PI_BY_TWO
  97.             , PSYS_SRC_ANGLE_END, PI
  98.             , PSYS_PART_MAX_AGE, 3.0
  99.             , PSYS_SRC_BURST_RATE, 1.5
  100.             , PSYS_SRC_BURST_PART_COUNT, 1
  101.             , PSYS_SRC_ACCEL, <0, 0, -0.75>
  102.             ];
  103. }
  104.  
  105. default
  106. {
  107.     state_entry()
  108.     {
  109.         integer i;
  110.         llSetLinkTextureAnim(getlink("leaves1"),ANIM_ON | SMOOTH | ROTATE | PING_PONG | LOOP, ALL_SIDES, 1, 1, 0, .05, .002*TWO_PI);
  111.         llSetLinkTextureAnim(getlink("leaves2"),ANIM_ON | SMOOTH | ROTATE | PING_PONG | LOOP, ALL_SIDES, 1, 1, 0, .1, .003*TWO_PI);
  112.         llSetLinkTextureAnim(getlink("leaves3"),ANIM_ON | SMOOTH | ROTATE | PING_PONG | LOOP, ALL_SIDES, 1, 1, 0, .05, .001*TWO_PI);
  113.         llSetLinkTextureAnim(getlink("leaf1"),ANIM_ON | SMOOTH | LOOP , ALL_SIDES, 1, 1, 1.0, 1.0, .2);
  114.         llSetLinkTextureAnim(getlink("leaf2"),ANIM_ON | SMOOTH | LOOP , ALL_SIDES, 1, 1, 1.0, 1.0, .15);
  115.         llSetLinkTextureAnim(getlink("leaf3"),ANIM_ON | SMOOTH | LOOP , ALL_SIDES, 1, 1, 1.0, 1.0, .16);
  116.         llSetLinkTextureAnim(getlink("leaf4"),ANIM_ON | SMOOTH | LOOP , ALL_SIDES, 1, 1, 1.0, 1.0, .17);
  117.         llLinkParticleSystem(getlink("trunk"), falling_leaves(color)  );
  118.         llLoopSound("Wind", .6);
  119.     }
  120.     touch_start(integer total_number)
  121.     {
  122.         menu(llDetectedKey(0));
  123.     }
  124.     listen(integer ch, string name, key id, string text)
  125.     {
  126.         if(ch == channel)
  127.         {
  128.             if(text == "Yellow")
  129.             {
  130.                 color = emityellow;
  131.                 llListenRemove(listenkey); listenkey = llListen(channel + 3,"",id,"");
  132.                 llDialog(id,"Fullness Menu ",amount,channel+3);
  133.             }
  134.             if(text == "Orange")
  135.             {
  136.                 color = emitorange;
  137.                 llListenRemove(listenkey); listenkey = llListen(channel + 3,"",id,"");
  138.                 llDialog(id,"Fullness Menu ",amount,channel+3);
  139.             }
  140.             if(text == "Red")
  141.             {
  142.                 color = emitred;
  143.                 llListenRemove(listenkey); listenkey = llListen(channel + 3,"",id,"");
  144.                 llDialog(id,"Fullness Menu ",amount,channel+3);
  145.             }
  146.             if(text == "Green")
  147.             {
  148.                 llLinkParticleSystem(getlink("trunk"), []  );
  149.                 llSetLinkPrimitiveParamsFast(getlink("leaves1"),[17,-1,green1,<1,1,0>,<1,1,0>,0,34,getlink("leaves2"),17,-1,green1,<1,1,0>,<1,1,0>,0,34,getlink("leaves3"),17,-1,green1,<1,1,0>,<1,1,0>,0,34,getlink("leaf1"),18,-1,<1,1,1>,0,34,getlink("leaf2"),18,-1,<1,1,1>,0,34,getlink("leaf3"),18,-1,<1,1,1>,0,34,getlink("leaf4"),18,-1,<1,1,1>,0,34,getlink("Bucket"),17,1,dirt,<1,1,0>,<1,1,0>,0,17,0,bucket,<1,1,0>,<1,1,0>,0,34,getlink("Ground Leaves"),18,-1,<1,1,1>,0,34,getlink("Rake"),18,-1,<1,1,1>,0,34,getlink("trunk"),17,-1,trunk,<1,1,0>,<1,1,0>,0]);
  150.                 vector myPos = llGetPos();
  151.                 rotation myRot = llGetRot();
  152.                 vector rezPos = myPos+relativePosOffset*myRot;
  153.                 vector rezVel = relativeVel*myRot;
  154.                 rotation rezRot = relativeRot*myRot;
  155.                 llRezAtRoot(object, rezPos, rezVel, rezRot, startParam);
  156.             }
  157.             if(text == "Winter")
  158.             {
  159.                 llLinkParticleSystem(getlink("trunk"), []  );
  160.                 llSetLinkPrimitiveParamsFast(getlink("leaves1"),[17,-1,winter1,<1,1,0>,<1,1,0>,0,34,getlink("leaves2"),17,-1,winter2,<1,1,0>,<1,1,0>,0,34,getlink("leaves3"),17,-1,winter3,<1,1,0>,<1,1,0>,0,34,getlink("leaf1"),18,-1,<1,1,1>,0,34,getlink("leaf2"),18,-1,<1,1,1>,0,34,getlink("leaf3"),18,-1,<1,1,1>,0,34,getlink("leaf4"),18,-1,<1,1,1>,0,34,getlink("Bucket"),17,1,dirtsnow,<1,1,0>,<1,1,0>,0,17,0,bucketsnow,<1,1,0>,<1,1,0>,0,34,getlink("Ground Leaves"),18,-1,<1,1,1>,.8,17,-1,snow,<1,1,0>,<1,1,0>,0,34,getlink("Rake"),18,-1,<1,1,1>,0,34,getlink("trunk"),17,-1,trunksnow,<1,1,0>,<1,1,0>,0]);
  161.                 llSay(chan, "die");
  162.             }
  163.             if(text == "Access")
  164.             {
  165.                 llListenRemove(listenkey); listenkey = llListen(channel + 1,"",id,"");
  166.                 llDialog(id,"Choose access ",["Owner","Group","All"],channel+1);
  167.             }
  168.             if(text == "SOUND")
  169.             {
  170.                 llListenRemove(listenkey); listenkey = llListen(channel + 2,"",id,"");
  171.                 llDialog(id,"Sound Menu ",sound,channel+2);
  172.             }
  173.             if(text == "Automatic")
  174.             {
  175.                 integer daynum = (integer)llGetSubString(llGetDate(),5,6)*31+(integer)llGetSubString(llGetDate(),8,9);
  176.                 if(daynum > 373)
  177.                 {
  178.                     llLinkParticleSystem(getlink("trunk"), []  );
  179.                     llSetLinkPrimitiveParamsFast(getlink("leaves1"),[17,-1,winter1,<1,1,0>,<1,1,0>,0,34,getlink("leaves2"),17,-1,winter2,<1,1,0>,<1,1,0>,0,34,getlink("leaves3"),17,-1,winter3,<1,1,0>,<1,1,0>,0,34,getlink("leaf1"),18,-1,<1,1,1>,0,34,getlink("leaf2"),18,-1,<1,1,1>,0,34,getlink("leaf3"),18,-1,<1,1,1>,0,34,getlink("leaf4"),18,-1,<1,1,1>,0,34,getlink("Bucket"),17,1,dirtsnow,<1,1,0>,<1,1,0>,0,17,0,bucketsnow,<1,1,0>,<1,1,0>,0,34,getlink("Ground Leaves"),18,-1,<1,1,1>,.8,17,-1,snow,<1,1,0>,<1,1,0>,0,34,getlink("Rake"),18,-1,<1,1,1>,0,34,getlink("trunk"),17,-1,trunksnow,<1,1,0>,<1,1,0>,0]);
  180.                     llSay(chan, "die");
  181.                 }
  182.                 else if(daynum > 311)
  183.                 {
  184.                     integer random = llFloor(llFrand(3));
  185.                     if(random == 0)
  186.                     {
  187.                         color = emityellow;
  188.                         setLeaves(yellow1, yellow1, yellow1, scatteredyellow, yellowfall);
  189.                     }
  190.                     if(random == 1)
  191.                     {
  192.                         color = emitorange;
  193.                         setLeaves(orange1, orange1, orange1, scatteredorange, orangefall);
  194.                     }
  195.                     if(random == 2)
  196.                     {
  197.                         color = emitred;
  198.                         setLeaves(red1, red1, red1, scatteredred, redfall);
  199.                     }
  200.                 }
  201.                 else if(daynum > 125)
  202.                 {
  203.                     llLinkParticleSystem(getlink("trunk"), []  );
  204.                     llSetLinkPrimitiveParamsFast(getlink("leaves1"),[17,-1,green1,<1,1,0>,<1,1,0>,0,34,getlink("leaves2"),17,-1,green1,<1,1,0>,<1,1,0>,0,34,getlink("leaves3"),17,-1,green1,<1,1,0>,<1,1,0>,0,34,getlink("leaf1"),18,-1,<1,1,1>,0,34,getlink("leaf2"),18,-1,<1,1,1>,0,34,getlink("leaf3"),18,-1,<1,1,1>,0,34,getlink("leaf4"),18,-1,<1,1,1>,0,34,getlink("Bucket"),17,1,dirt,<1,1,0>,<1,1,0>,0,17,0,bucket,<1,1,0>,<1,1,0>,0,34,getlink("Ground Leaves"),18,-1,<1,1,1>,0,34,getlink("Rake"),18,-1,<1,1,1>,0,34,getlink("trunk"),17,-1,trunk,<1,1,0>,<1,1,0>,0]);
  205.                     vector myPos = llGetPos();
  206.                     rotation myRot = llGetRot();
  207.                     vector rezPos = myPos+relativePosOffset*myRot;
  208.                     vector rezVel = relativeVel*myRot;
  209.                     rotation rezRot = relativeRot*myRot;
  210.                     llRezAtRoot(object, rezPos, rezVel, rezRot, startParam);
  211.                 }
  212.                 else
  213.                 {
  214.                     llLinkParticleSystem(getlink("trunk"), []  );
  215.                     llSetLinkPrimitiveParamsFast(getlink("leaves1"),[17,-1,winter1,<1,1,0>,<1,1,0>,0,34,getlink("leaves2"),17,-1,winter2,<1,1,0>,<1,1,0>,0,34,getlink("leaves3"),17,-1,winter3,<1,1,0>,<1,1,0>,0,34,getlink("leaf1"),18,-1,<1,1,1>,0,34,getlink("leaf2"),18,-1,<1,1,1>,0,34,getlink("leaf3"),18,-1,<1,1,1>,0,34,getlink("leaf4"),18,-1,<1,1,1>,0,34,getlink("Bucket"),17,1,dirtsnow,<1,1,0>,<1,1,0>,0,17,0,bucketsnow,<1,1,0>,<1,1,0>,0,34,getlink("Ground Leaves"),18,-1,<1,1,1>,.8,17,-1,snow,<1,1,0>,<1,1,0>,0,34,getlink("Rake"),18,-1,<1,1,1>,0,34,getlink("trunk"),17,-1,trunksnow,<1,1,0>,<1,1,0>,0]);
  216.                     llSay(chan, "die");
  217.                 }
  218.             }
  219.             llListenRemove(listenkey); listenkey = llListen(ch,"",id,"");
  220.             llSetTimerEvent (0.1);
  221.         }                
  222.         if(ch == channel +1) access = llListFindList(["Owner","Group","All"],[text]);
  223.         if(ch == channel +2)
  224.         {
  225.             if(text == "Loud")
  226.             {
  227.                 llStopSound();
  228.                 llLoopSound("Wind", .6);
  229.             }
  230.             if(text == "Medium")
  231.             {
  232.                 llStopSound();
  233.                 llLoopSound("Wind", .4);
  234.             }
  235.             if(text == "Soft")
  236.             {
  237.                 llStopSound();
  238.                 llLoopSound("Wind", .2);
  239.             }
  240.             if(text == "Off")
  241.             {
  242.                 llStopSound();
  243.             }
  244.             llListenRemove(listenkey); listenkey = llListen(ch,"",id,"");
  245.             llDialog(id,"Sound Menu ",sound,ch);
  246.         }
  247.         if(ch == channel+3)
  248.         {
  249.             if(text == "Full")
  250.             {
  251.                 if(color == emityellow) setLeaves(yellow1, yellow1, yellow1, scatteredyellow, yellowfall);
  252.                 if(color == emitorange) setLeaves(orange1, orange1, orange1, scatteredorange, orangefall);
  253.                 if(color == emitred) setLeaves(red1, red1, red1, scatteredred, redfall);
  254.             }
  255.             if(text == "Medium")
  256.             {
  257.                 if(color == emityellow) setLeaves(yellow1, yellow2, yellow1, scatteredyellow, yellowfall);
  258.                 if(color == emitorange) setLeaves(orange1, orange2, orange1, scatteredorange, orangefall);
  259.                 if(color == emitred) setLeaves(red1, red2, red1, scatteredred, redfall);
  260.             }
  261.             if(text == "Sparse")
  262.             {
  263.                 if(color == emityellow) setLeaves(yellow1, yellow2, yellow3, scatteredyellow, yellowfall);
  264.                 if(color == emitorange) setLeaves(orange1, orange2, orange3, scatteredorange, orangefall);
  265.                 if(color == emitred) setLeaves(red1, red2, red3, scatteredred, redfall);
  266.  
  267.             }
  268.             if(text == "Back")
  269.             {
  270.                 menu(id);
  271.                 return;
  272.             }
  273.             llListenRemove(listenkey); listenkey = llListen(ch,"",id,"");
  274.             llDialog(id,"Fullness Menu ",amount,ch);
  275.         }
  276.     }
  277.     timer()
  278.     {
  279.         if(llGetSubString(llGetDate(),5,9) == "10-01")
  280.         {
  281.             integer random = llFloor(llFrand(3));
  282.             if(random == 0)
  283.             {
  284.                 color = emityellow;
  285.                 setLeaves(yellow1, yellow1, yellow1, scatteredyellow, yellowfall);
  286.             }
  287.             if(random == 1)
  288.             {
  289.                 color = emitorange;
  290.                 setLeaves(orange1, orange1, orange1, scatteredorange, orangefall);
  291.             }
  292.             if(random == 2)
  293.             {
  294.                 color = emitred;
  295.                 setLeaves(red1, red1, red1, scatteredred, redfall);
  296.             }
  297.         }
  298.         if(llGetSubString(llGetDate(),5,9) == "10-20")
  299.         {
  300.             if(color == emityellow) setLeaves(yellow1, yellow2, yellow1, scatteredyellow, yellowfall);
  301.             if(color == emitorange) setLeaves(orange1, orange2, orange1, scatteredorange, orangefall);
  302.             if(color == emitred) setLeaves(red1, red2, red1, scatteredred, redfall);
  303.         }
  304.         if(llGetSubString(llGetDate(),5,9) == "11-10")
  305.         {
  306.             if(color == emityellow) setLeaves(yellow1, yellow2, yellow3, scatteredyellow, yellowfall);
  307.             if(color == emitorange) setLeaves(orange1, orange2, orange3, scatteredorange, orangefall);
  308.             if(color == emitred) setLeaves(red1, red2, red3, scatteredred, redfall);
  309.         }
  310.         if(llGetSubString(llGetDate(),5,9) == "12-1")
  311.         {
  312.             llLinkParticleSystem(getlink("trunk"), []  );
  313.             llSetLinkPrimitiveParamsFast(getlink("leaves1"),[17,-1,winter1,<1,1,0>,<1,1,0>,0,34,getlink("leaves2"),17,-1,winter2,<1,1,0>,<1,1,0>,0,34,getlink("leaves3"),17,-1,winter3,<1,1,0>,<1,1,0>,0,34,getlink("leaf1"),18,-1,<1,1,1>,0,34,getlink("leaf2"),18,-1,<1,1,1>,0,34,getlink("leaf3"),18,-1,<1,1,1>,0,34,getlink("leaf4"),18,-1,<1,1,1>,0,34,getlink("Bucket"),17,1,dirtsnow,<1,1,0>,<1,1,0>,0,17,0,bucketsnow,<1,1,0>,<1,1,0>,0,34,getlink("Ground Leaves"),18,-1,<1,1,1>,.8,17,-1,snow,<1,1,0>,<1,1,0>,0,34,getlink("Rake"),18,-1,<1,1,1>,0,34,getlink("trunk"),17,-1,trunksnow,<1,1,0>,<1,1,0>,0]);
  314.             llSay(chan, "die");
  315.         }
  316.         if(llGetSubString(llGetDate(),5,9) == "3-1")
  317.         {
  318.             llLinkParticleSystem(getlink("trunk"), []  );
  319.             llSetLinkPrimitiveParamsFast(getlink("leaves1"),[17,-1,green1,<1,1,0>,<1,1,0>,0,34,getlink("leaves2"),17,-1,green1,<1,1,0>,<1,1,0>,0,34,getlink("leaves3"),17,-1,green1,<1,1,0>,<1,1,0>,0,34,getlink("leaf1"),18,-1,<1,1,1>,0,34,getlink("leaf2"),18,-1,<1,1,1>,0,34,getlink("leaf3"),18,-1,<1,1,1>,0,34,getlink("leaf4"),18,-1,<1,1,1>,0,34,getlink("Bucket"),17,1,dirt,<1,1,0>,<1,1,0>,0,17,0,bucket,<1,1,0>,<1,1,0>,0,34,getlink("Ground Leaves"),18,-1,<1,1,1>,0,34,getlink("Rake"),18,-1,<1,1,1>,0,34,getlink("trunk"),17,-1,trunk,<1,1,0>,<1,1,0>,0]);
  320.             vector myPos = llGetPos();
  321.             rotation myRot = llGetRot();
  322.             vector rezPos = myPos+relativePosOffset*myRot;
  323.             vector rezVel = relativeVel*myRot;
  324.             rotation rezRot = relativeRot*myRot;
  325.             llRezAtRoot(object, rezPos, rezVel, rezRot, startParam);
  326.         }
  327.         llSetTimerEvent(43200.0);
  328.     }                
  329. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top