Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 | UnrealScript Documentation |
previous class next class | frames no frames |