Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. function onPlayertouchsme() {
  2. setlevel2("main_ah-36.nw",62,55);
  3. }
  4.  
  5. //#CLIENTSIDE
  6. function onCreated(){
  7. dontblock();
  8. drawunderplayer();
  9. this.image = "circle-blue.png";
  10. setTimer(0.05);
  11. }
  12.  
  13. function onTimeOut(){
  14.  
  15. setTimer(0.05);
  16. }
  17. function onPlayerEnters() {
  18.  
  19. with (findimg(200)) {
  20. spin = degtorad(0);
  21. rotation = degtorad(0);
  22.  
  23. with (emitter) {
  24. delaymin = 0;
  25. delaymax = 3;
  26. nrofparticles = 1;
  27. emitautomatically = true;
  28. autorotation = false;
  29. firstinfront = true;
  30. emissionoffset = {0,0,0};
  31. attachposition = false;
  32. checkbelowterrain = false;
  33. continueafterdestroy = false;
  34. maxparticles = 100000;
  35.  
  36. particleTypes = 1;
  37.  
  38. with (particles[0]){
  39. image = "circle-blue.png";
  40. zoom = 1;
  41. red = 1;
  42. green = 1;
  43. blue = 1;
  44. alpha = 0.2;
  45. mode = 1;
  46. lifetime = 10;
  47. angle = degtorad(32);
  48. zangle = degtorad(0);
  49. speed = 0.5;
  50. rotation = degtorad(0.3);
  51. spin = degtorad(0);
  52. partx = 0;
  53. party = 0;
  54. partw = 0;
  55. parth = 0;
  56. stretchx = 1;
  57. stretchy = 1;
  58. sound = "";
  59. layer = 0;
  60. }
  61. addlocalmodifier("once", 0, 0, "angle", "replace", degtorad(90), degtorad(90));
  62. addlocalmodifier("range", 0.25, 10, "alpha", "replace", 0.99, 0);
  63. addlocalmodifier("range", 0, 2, "alpha", "replace", 0, 0.99);
  64. }
  65. }
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement