Gah - a solution with more questions. – EntropicLqd

Legacy:ProjectileFire

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 :: Actor >> WeaponFire (UT2003) >> ProjectileFire (Package: xWeapons)
UT2004 :: Object >> WeaponFire >> ProjectileFire (Package: xWeapons)

As opposed to InstantFire, ProjectileFire spawns Projectiles.

Properties[edit]

int ProjPerFire 
Number of projectiles to fire in one shot
vector ProjSpawnOffset 
the offset of spawned projectiles. +x forward, +y right, +z up

Methods[edit]

DoFireEffect() 
Handles firing of the weapon. It adds the Offsets, makdes sure we're not spawning a projectile into a wall, and are being good in general. Also handles multiple projectiles.
Projectile SpawnProjectile( vector Start, rotator Dir ) 
Actually spawns the projectile.
vector GetFireStart( vector X, vector Y, vector Z ) 
Returns the starting location of a projectile given a starting trio of base axes

Known Subclasses[edit]

Related Topics[edit]


----