Guest User

Untitled

a guest
May 27th, 2016
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. script 58 (void) //monster spawner
  2. {
  3. while(true)
  4. {
  5. delay(random(800,1000));
  6. int r = random(3,7); //random monster type for some reason I have this as between 3 and 7 instead of 1 and 5. not sure why
  7. int s = random(41,50); //random spot. Zdoom map spots. Make sure they are tagged.
  8. if(r == 3)
  9. {
  10. Spawnspot("Wraith",s,95,random(0,255)); //Reiver
  11. ACS_Execute(64,0,0,0,0);
  12. }
  13. else if(r == 4)
  14. {
  15. Spawnspot("minispider",s,0,random(0,255)); // Giant Spider
  16. }
  17. else if(r == 5)
  18. {
  19. Spawnspot("Veryminispider",s,0,random(0,255)); // Small Spider
  20. }
  21. else if(r == 6)
  22. {
  23. Spawnspot("Veryminispider",s,0,random(0,255)); // Small Spider
  24. }
  25. else if(r == 7)
  26. {
  27. Spawnspot("MP40Nosferati",s,0,random(0,255)); // Mp40 nosferati
  28. }
  29. }
  30. }
RAW Paste Data