Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UT2004RPG.RPGShockProjFire


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
//Hack fix for Shock Rifle so bots will recognize that they can do combos with a RPGWeapon modifying a shock rifle
class RPGShockProjFire extends ShockProjFire;

function projectile SpawnProjectile(Vector Start, Rotator Dir)
{
    local Projectile p;

    p = Super(ProjectileFire).SpawnProjectile(Start,Dir);
    if ( (ShockRifle(Weapon) != None) && (p != None) )
        ShockRifle(Weapon).SetComboTarget(ShockProjectile(P));
    return p;
}

defaultproperties
{
     ProjectileClass=Class'UT2004RPG.RPGShockProjectile'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Sat 15/7/2006 17:15:14.000 - Creation time: Wed 7/2/2007 19:16:50.343 - Created with UnCodeX