Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script 58 (void) //monster spawner
- {
- while(true)
- {
- delay(random(800,1000));
- 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
- int s = random(41,50); //random spot. Zdoom map spots. Make sure they are tagged.
- if(r == 3)
- {
- Spawnspot("Wraith",s,95,random(0,255)); //Reiver
- ACS_Execute(64,0,0,0,0);
- }
- else if(r == 4)
- {
- Spawnspot("minispider",s,0,random(0,255)); // Giant Spider
- }
- else if(r == 5)
- {
- Spawnspot("Veryminispider",s,0,random(0,255)); // Small Spider
- }
- else if(r == 6)
- {
- Spawnspot("Veryminispider",s,0,random(0,255)); // Small Spider
- }
- else if(r == 7)
- {
- Spawnspot("MP40Nosferati",s,0,random(0,255)); // Mp40 nosferati
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement