Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Initialize{
- MainTask;
- }
- @MainLoop{
- yield;
- }
- task MainTask
- {
- Wait(120); //pause for a bit
- loop {
- let attack = rand_int(0,3);
- alternative(attack)
- case(0) {
- loop(60){
- CreateShot01(GetX,GetY,4,GetAngleToPlayer,RED12,10);
- Wait(3);
- }
- }
- case(1){}
- case(2){}
- case(3){}
- Wait(60); //wait time between waves
- }
- }
Add Comment
Please, Sign In to add comment