Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ExplosionWednesday()
- {
- for(;;)
- {
- self waittill ( "weapon_fired" );
- forward = self getTagOrigin("j_head");
- end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
- SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
- level.chopper_fx["explode"]["medium"] = loadfx ("explosions/fx_exp_aerial");
- playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
- RadiusDamage( SPLOSIONlocation, 500, 1000, 500, self );
- }
- }
- vector_scal(vec, scale)
- {
- vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
- return vec;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement