Guest User

Untitled

a guest
Nov 24th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. @Initialize{
  2. MainTask;
  3. }
  4.  
  5. @MainLoop{
  6. yield;
  7. }
  8.  
  9. task MainTask
  10. {
  11. Wait(120); //pause for a bit
  12. loop {
  13. let attack = rand_int(0,3);
  14. alternative(attack)
  15. case(0) {
  16. loop(60){
  17. CreateShot01(GetX,GetY,4,GetAngleToPlayer,RED12,10);
  18. Wait(3);
  19. }
  20. }
  21. case(1){}
  22. case(2){}
  23. case(3){}
  24.  
  25. Wait(60); //wait time between waves
  26. }
  27. }
Add Comment
Please, Sign In to add comment