There is no spoon
UE2:Ammunition (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- Engine
- Known direct subclasses:
- Ammo_BallTurret, Ammo_Dummy, AssaultAmmo, BallAmmo, BioAmmo, BruteAmmo, ClassicSniperAmmo, FlakAmmo, GasbagAmmo, GrenadeAmmo, KrallAmmo, LinkAmmo, MinigunAmmo, ONSAVRiLAmmo, ONSGrenadeAmmo, ONSMineAmmo, RedeemerAmmo, RocketAmmo, ShieldAmmo, ShockAmmo, SkaarjAmmo, SniperAmmo, TransAmmo, WarlordAmmo
- This class in other games:
- U2XMP, UE2Runtime, UT2003
| 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] Property group 'Ammunition'
[edit] IconFlashMaterial
Type: Material
[edit] Internal variables
[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 |
|---|---|
| NetUpdateFrequency | 1.0 |
[edit] Instance functions
[edit] AddAmmo
[edit] CheckOutOfAmmo
simulated function CheckOutOfAmmo ()
[edit] DisplayDebug
Overrides: Actor.DisplayDebug
[edit] HandlePickupQuery
Overrides: Inventory.HandlePickupQuery
[edit] HasAmmo
simulated function bool HasAmmo ()
