Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AirSupport()
- {
- self endon("death");
- self endon("rawr");
- self thread ButtonMonitoring();
- self Kill_Menu();
- if( self.score >= 1 )
- {
- self.mortar=1;
- self.zombie_cost = 1;
- self.score -= 1;
- self mortartext("^6Awaiting Confirmation...","^6Awaiting Confirmation...","^6Awaiting Confirmation...");
- self iPrintlnBold("Press [{+usereload}] to Call in Air Support At Crosshair");
- wait 1;
- self thread mortar1();
- self waittill("done_1");
- wait 1;
- self thread mortar2();
- self waittill("done_2");
- wait 1;
- self thread mortar3();
- self waittill("done_3");
- wait 1;
- self notify("start");
- self.mortar=0;
- } else {
- self iPrintlnBold("^1Not Enough Points!");
- wait 1;
- }
- }
- _fx(f,x)
- {
- playfx(level._effect[f], x );
- wait .2;
- playfx(level._effect[f], x );
- wait .2;
- playfx(level._effect[f], x );
- wait .2;
- playfx(level._effect[f], x );
- }
- mortartext(one,two,three)
- {
- self iPrintln("Mortar 1:"+one);
- self iPrintln("Mortar 2:"+two);
- self iPrintln("Mortar 3:"+three);
- self iPrintln(" ");
- self iPrintln(" ");
- self iPrintln(" ");
- self iPrintln(" ");
- self iPrintln(" ");
- self iPrintln(" ");
- }
- mortar1()
- {
- self endon("death");
- self waittill("use");
- forward = self getTagOrigin("j_head");
- end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
- Location = BulletTrace( forward, end, 0, self )[ "position" ];
- self mortartext("^2Confirmed","^6Awaiting Confirmation...","^6Awaiting Confirmation...");
- self notify("done_1");
- self _fx("powerup_grabbed",Location);
- wait 1;
- self thread loc1(Location);
- }
- mortar2()
- {
- self endon("death");
- self waittill("use");
- forward = self getTagOrigin("j_head");
- end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
- Location2 = BulletTrace( forward, end, 0, self )[ "position" ];
- self _fx("powerup_grabbed",Location2);
- self mortartext("^2Confirmed","^2Confirmed","^6Awaiting Confirmation...");
- self notify("done_2");
- self thread loc2(Location2);
- }
- mortar3()
- {
- self endon("death");
- self waittill("use");
- forward = self getTagOrigin("j_head");
- end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
- Location3 = BulletTrace( forward, end, 0, self )[ "position" ];
- self _fx("powerup_grabbed",Location3);
- self mortartext("^2Confirmed","^2Confirmed","^2Confirmed");
- self notify("done_3");
- self thread loc3(Location3);
- }
- loc1(HavyArtillery)
- {
- self endon("end");
- self waittill("start");
- HavyArtillery2 = HavyArtillery+(0, 0, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtillery+(30, 30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtillery+(30, -30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtillery+(-30, 30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtillery+(-30, -30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- }
- loc2(HavyArtill)
- {
- self waittill("start");
- HavyArtillery2 = HavyArtill+(0, 0, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtill+(30, 30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtill+(30, -30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtill+(30, 30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtill+(-30, -30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- }
- loc3(HavyArtilll)
- {
- self waittill("start");
- HavyArtillery2 = HavyArtilll+(0, 0, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtilll+(30, 30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtilll+(30, -30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtilll+(-30, 30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- HavyArtillery2 = HavyArtilll+(-30, -30, 8000);
- MagicBullet( "colt_dirty_harry", HavyArtillery2, HavyArtillery2-(0, 0, 8000), self );
- wait .1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement