DartPower

Untitled

Oct 3rd, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. #include "zcommon.acs"
  2.  
  3. int left = 25;
  4. int ghouls[25] = { "ArenaChoke",
  5. "ArenaClowny",
  6. "ArenaCreeper",
  7. "ArenaCybervampire",
  8. "ArenaCyberzoid",
  9. "ArenaDemonskull",
  10. "ArenaEyesore",
  11. "ArenaFirelord",
  12. "ArenaFrostbite",
  13. "ArenaHellskull",
  14. "ArenaJitterskull",
  15. "ArenaJugulum",
  16. "ArenaMisty",
  17. "ArenaNightmare",
  18. "ArenaReaper",
  19. "ArenaSjas",
  20. "ArenaSmoldy",
  21. "ArenaSoulHarvester",
  22. "ArenaTerror",
  23. "ArenaUndeath",
  24. "ArenaBND",
  25. "ArenaBlack",
  26. "ArenaBull",
  27. "ArenaTAG",
  28. "ArenaChain",
  29. };
  30. int killed[25];
  31. int gtemp;
  32.  
  33. script 50 OPEN {
  34.  
  35. SetHudSize(640,480,1);
  36. SetFont("SMALLFONT");
  37. HudMessageBold(s:"Ghouls left: ", d:left;HUDMSG_PLAIN, 1, CR_RED, 8.1, 392.2, 0);
  38.  
  39. delay(random(35*15,35*25));
  40.  
  41. for (int i=0; i<25; i++) {
  42.  
  43. if(left==10) {
  44. for(int temp=0; temp<11; temp++) {
  45. Killed[temp] = 0;
  46. }
  47. }
  48.  
  49. do {
  50. gtemp = random(0, 10);
  51. } while(Killed[gtemp]);
  52.  
  53. While (!ThingCount(T_NONE, 10)) {
  54. SpawnSpot(Ghouls[gtemp], random(1, 6), 10, 0);
  55. }
  56.  
  57. while (ThingCount(T_NONE, 10)) {
  58. delay(5);
  59. random(0,1);
  60. }
  61.  
  62. left--;
  63. Killed[gtemp] = 1;
  64. SetHudSize(640,480,1);
  65. SetFont("SMALLFONT");
  66. HudMessageBold(s:"Ghouls left: ", d:left;HUDMSG_PLAIN, 1, CR_RED, 8.1, 392.2, 0);
  67.  
  68. delay(random(35*10,35*20));
  69. }
  70.  
  71. Delay(35*10);
  72. Exit_Normal(0);
  73. }
Advertisement
Add Comment
Please, Sign In to add comment