Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "zcommon.acs"
- int left = 25;
- int ghouls[25] = { "ArenaChoke",
- "ArenaClowny",
- "ArenaCreeper",
- "ArenaCybervampire",
- "ArenaCyberzoid",
- "ArenaDemonskull",
- "ArenaEyesore",
- "ArenaFirelord",
- "ArenaFrostbite",
- "ArenaHellskull",
- "ArenaJitterskull",
- "ArenaJugulum",
- "ArenaMisty",
- "ArenaNightmare",
- "ArenaReaper",
- "ArenaSjas",
- "ArenaSmoldy",
- "ArenaSoulHarvester",
- "ArenaTerror",
- "ArenaUndeath",
- "ArenaBND",
- "ArenaBlack",
- "ArenaBull",
- "ArenaTAG",
- "ArenaChain",
- };
- int killed[25];
- int gtemp;
- script 50 OPEN {
- SetHudSize(640,480,1);
- SetFont("SMALLFONT");
- HudMessageBold(s:"Ghouls left: ", d:left;HUDMSG_PLAIN, 1, CR_RED, 8.1, 392.2, 0);
- delay(random(35*15,35*25));
- for (int i=0; i<25; i++) {
- if(left==10) {
- for(int temp=0; temp<11; temp++) {
- Killed[temp] = 0;
- }
- }
- do {
- gtemp = random(0, 10);
- } while(Killed[gtemp]);
- While (!ThingCount(T_NONE, 10)) {
- SpawnSpot(Ghouls[gtemp], random(1, 6), 10, 0);
- }
- while (ThingCount(T_NONE, 10)) {
- delay(5);
- random(0,1);
- }
- left--;
- Killed[gtemp] = 1;
- SetHudSize(640,480,1);
- SetFont("SMALLFONT");
- HudMessageBold(s:"Ghouls left: ", d:left;HUDMSG_PLAIN, 1, CR_RED, 8.1, 392.2, 0);
- delay(random(35*10,35*20));
- }
- Delay(35*10);
- Exit_Normal(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment