I'm a doctor, not a mechanic
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 this 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.
[edit] Properties
[edit] AmmoAmount
Type: int
Modifiers: travel
Amount of Ammo current available
[edit] bInstantHit
Type: bool
[edit] bLeadTarget
Type: bool
[edit] bRecommendSplashDamage
Type: bool
[edit] bSplashDamage
Type: bool
[edit] bTossed
Type: bool
[edit] bTrySplash
Type: bool
[edit] FireSound
Type: Sound
[edit] MaxAmmo
Type: int
Modifiers: travel
Max amount of ammo
[edit] MaxAutoAimRange
Type: float
Default value: 5000.0
[edit] MyDamageType
Type: class<DamageType>
Default value: Class'Engine.DamageType'
[edit] PickupAmmo
Type: int
Modifiers: travel
[edit] ProjectileClass
Type: class<Projectile>
[edit] RefireRate
Type: float
Default value: 0.5
[edit] WarnTargetPct
Type: float
Default value: 0.5
[edit] Instance functions
[edit] AddAmmo
[edit] DisplayDebug
Overrides: Actor.DisplayDebug
[edit] GetDamageRadius
function float GetDamageRadius ()
[edit] HandlePickupQuery
Overrides: Inventory.HandlePickupQuery
[edit] HasAmmo
simulated function bool HasAmmo ()
[edit] ProcessTraceHit
function ProcessTraceHit (Weapon W, Actor Other, Object.Vector HitLocation, Object.Vector HitNormal, Object.Vector X, Object.Vector Y, Object.Vector Z)
[edit] RateSelf
[edit] SpawnProjectile
function SpawnProjectile (Object.Vector Start, Object.Rotator Dir)
