There is no spoon
UE2:Ammunition (UT2003)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- Engine
- Known direct subclasses:
- BallAmmo, BioAmmo, BruteAmmo, FlakAmmo, GasbagAmmo, GrenadeAmmo, KrallAmmo, LinkAmmo, MinigunAmmo, RedeemerAmmo, RocketAmmo, ShieldAmmo, ShockAmmo, SkaarjAmmo, SniperAmmo, TransAmmo, WarlordAmmo
- This class in other games:
- U2XMP, UE2Runtime, UT2004
| 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
[edit] bInstantHit
Type: bool
[edit] bLeadTarget
Type: bool
[edit] bRecommendSplashDamage
Type: bool
[edit] bSplashDamage
Type: bool
[edit] bTossed
Type: bool
[edit] bTryHeadShot
Type: bool
[edit] bTrySplash
Type: bool
[edit] FireSound
Type: Sound
[edit] InitialAmount
Type: int
sjs // Amount of Ammo current available
Default value: 10
[edit] MaxAmmo
Type: int
Modifiers: travel
Max amount of ammo
[edit] MaxRange
Type: float
for autoaim
[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] Default values
| Property | Value |
|---|---|
| bNetNotify | True |
[edit] Functions
[edit] Events
[edit] PostNetReceive
simulated event PostNetReceive ()
Overrides: Actor.PostNetReceive
[edit] Other instance functions
[edit] AddAmmo
[edit] CheckOutOfAmmo
simulated function CheckOutOfAmmo ()
[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)
