I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE2:Ammunition (UE2Runtime)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents
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[edit]
AmmoAmount[edit]
Type: int
Modifiers: travel
Amount of Ammo current available
bInstantHit[edit]
Type: bool
bLeadTarget[edit]
Type: bool
bRecommendSplashDamage[edit]
Type: bool
bSplashDamage[edit]
Type: bool
bTossed[edit]
Type: bool
bTrySplash[edit]
Type: bool
FireSound[edit]
Type: Sound
MaxAmmo[edit]
Type: int
Modifiers: travel
Max amount of ammo
MaxAutoAimRange[edit]
Type: float
Default value: 5000.0
MyDamageType[edit]
Type: class<DamageType>
Default value: Class'Engine.DamageType'
PickupAmmo[edit]
Type: int
Modifiers: travel
ProjectileClass[edit]
Type: class<Projectile>
RefireRate[edit]
Type: float
Default value: 0.5
WarnTargetPct[edit]
Type: float
Default value: 0.5
Instance functions[edit]
AddAmmo[edit]
DisplayDebug[edit]
Overrides: Actor.DisplayDebug
GetDamageRadius[edit]
function float GetDamageRadius ()
HandlePickupQuery[edit]
Overrides: Inventory.HandlePickupQuery
HasAmmo[edit]
simulated function bool HasAmmo ()
ProcessTraceHit[edit]
function ProcessTraceHit (Weapon W, Actor Other, Object.Vector HitLocation, Object.Vector HitNormal, Object.Vector X, Object.Vector Y, Object.Vector Z)
RateSelf[edit]
SpawnProjectile[edit]
function SpawnProjectile (Object.Vector Start, Object.Rotator Dir)