UE2:Ammunition (UE2Runtime)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- Engine
- This class in other games:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Ammunition: the base class of weapon ammunition
This is a built-in Unreal class and it shouldn't be modified.
Properties
AmmoAmount
Type: int
Modifiers: travel
Amount of Ammo current available
bInstantHit
Type: bool
bLeadTarget
Type: bool
bRecommendSplashDamage
Type: bool
bSplashDamage
Type: bool
bTossed
Type: bool
bTrySplash
Type: bool
FireSound
Type: Sound
MaxAmmo
Type: int
Modifiers: travel
Max amount of ammo
MaxAutoAimRange
Type: float
Default value: 5000.0
MyDamageType
Type: class<DamageType>
Default value: Class'Engine.DamageType'
PickupAmmo
Type: int
Modifiers: travel
ProjectileClass
Type: class<Projectile>
RefireRate
Type: float
Default value: 0.5
WarnTargetPct
Type: float
Default value: 0.5
Instance functions
AddAmmo
DisplayDebug
Overrides: Actor.DisplayDebug
GetDamageRadius
function float GetDamageRadius ()
HandlePickupQuery
Overrides: Inventory.HandlePickupQuery
HasAmmo
simulated function bool HasAmmo ()
ProcessTraceHit
function ProcessTraceHit (Weapon W, Actor Other, Object.Vector HitLocation, Object.Vector HitNormal, Object.Vector X, Object.Vector Y, Object.Vector Z)
RateSelf
SpawnProjectile
function SpawnProjectile (Object.Vector Start, Object.Rotator Dir)
WarnTarget