Post: [SCRIPT] Dragon's Breath
07-31-2011, 01:52 PM #1
Choco
Respect my authoritah!!
(adsbygoogle = window.adsbygoogle || []).push({});
    doDragonsBreath() 
{
self endon("disconnect");
self endon("death");
self giveWeapon("m1014_grip_xmags_mp", 7, false);
self switchToWeapon( "m1014_grip_xmags_mp", 7, false);
self.currentGun = self GetCurrentWeapon();
self iPrintln("^3Dragon's Breath Given");
for(;Winky Winky
{
self waittill ( "weapon_fired" );
if(self.currentGun == "m1014_grip_xmags_mp, 7, false");
{
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/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
RadiusDamage( SPLOSIONlocation, 100, 500, 100, self );
}
}
}

vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}


Not yet tested, but syntax checker came up clean.

That's it guys, enjoy Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Choco for this useful post:

.Pluto, Mr.Hannu, Oliver1556
08-02-2011, 02:10 PM #11
Merkii
Former Staff
Originally posted by whichwaygames View Post
Well isn't it just a shotgun with explosive bullets.... :confused:


That's what a dragon breath is lol :P

watch the full thing
08-02-2011, 08:14 PM #12
whichwaygames
Bounty hunter
Originally posted by Merkii View Post
That's what a dragon breath is lol :P

watch the full thing


I want a shotgun that shoots arrows... first to make it wins! Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo