Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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.

Contents

[edit] Properties

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

[edit] Methods

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

[edit] Known Subclasses

[edit] Related Topics


----

Personal tools