Advertisement
Guest User

Untitled

a guest
Mar 30th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.22 KB | None | 0 0
  1. #include "Zcommon.acs"
  2.  
  3. script 1 (void)
  4. {
  5.   int Counter[7] = { 0 };
  6.  
  7.   door_open(2, 64);
  8.   Thing_ChangeTID(0, 1000 + PlayerNumber());
  9.   while(getactorproperty(1000 + PlayerNumber(), APROP_Health) > 0) {
  10.     setfont("confont");
  11.     Counter[PlayerNumber()]++;
  12.     delay(35);
  13.     hudmessage(s:"Time: "; HUDMSG_PLAIN, 2, CR_DARKGRAY, 0.00, 0.97, 6.0, 0.05, 3.0 );
  14.     hudmessage (d:Counter[PlayerNumber()]; HUDMSG_PLAIN,  1, CR_CYAN, 0.08, 0.97, 6.0, 0.05, 3.0 );
  15.     acs_execute(2, 0);
  16.     acs_execute(3, 0);
  17.     acs_execute(4, 0);
  18.   }
  19. }
  20.  
  21. script 2 (void)
  22. {
  23.   thing_spawn(50, T_IMP, 0, 0);
  24.   delay(35);
  25.   thing_spawn(51, T_DEMON, 0, 0);
  26.   delay(35*5);
  27.   spawnspot("EnhancedCacodemon", 98, 0, 0);
  28.   SpawnSpot("BloodDemonClone", 99, 0, 0);
  29.   delay(35*10);
  30.   thing_spawn(51, T_DEMON, 0, 0);
  31.   delay(35*5);
  32.   restart;
  33. }
  34.  
  35. script 3 (void)
  36. {
  37.   thing_spawn(52, T_CHAINGUY, 0, 0);
  38.   spawnspot("SuicideBomber", 94, 0, 0);
  39.   delay(35*18);
  40.   restart;
  41. }
  42.  
  43. script 4 (void)
  44. {
  45.   delay(35*120);
  46.   door_open(76, 32);
  47.   acs_execute(5, 0);
  48. }
  49.  
  50. script 5 (void)
  51. {
  52.   delay(35*5);
  53.   thing_spawn(45,112, 0, 0);
  54.   delay(35*20);
  55.   spawnspot("FlyingFatso", 46, 0, 0);
  56.   delay(35*10);
  57.   thing_spawn(47, 113, 0, 0);
  58.   restart;
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement