Gah - a solution with more questions. – EntropicLqd
UE2:Ammunition (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents
- 1 Properties
- 1.1 Property group 'Ammunition'
- 1.2 Internal variables
- 1.2.1 AmmoAmount
- 1.2.2 bInstantHit
- 1.2.3 bLeadTarget
- 1.2.4 bRecommendSplashDamage
- 1.2.5 bSplashDamage
- 1.2.6 bTossed
- 1.2.7 bTryHeadShot
- 1.2.8 bTrySplash
- 1.2.9 FireSound
- 1.2.10 InitialAmount
- 1.2.11 MaxAmmo
- 1.2.12 MaxRange
- 1.2.13 MyDamageType
- 1.2.14 PickupAmmo
- 1.2.15 ProjectileClass
- 1.2.16 RefireRate
- 1.2.17 WarnTargetPct
- 1.3 Default values
- 2 Instance functions
- Package:
- Engine
- Direct subclasses:
- MinigunAmmo, Ammo_BallTurret, Ammo_Dummy, AssaultAmmo, BallAmmo, BioAmmo, BruteAmmo, ClassicSniperAmmo, FlakAmmo, GasbagAmmo, GrenadeAmmo, KrallAmmo, LinkAmmo, 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 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]
Property group 'Ammunition'[edit]
IconFlashMaterial[edit]
Type: Material
Internal variables[edit]
AmmoAmount[edit]
Type: int
Modifiers: travel
bInstantHit[edit]
Type: bool
bLeadTarget[edit]
Type: bool
bRecommendSplashDamage[edit]
Type: bool
bSplashDamage[edit]
Type: bool
bTossed[edit]
Type: bool
bTryHeadShot[edit]
Type: bool
bTrySplash[edit]
Type: bool
FireSound[edit]
Type: Sound
InitialAmount[edit]
Type: int
sjs // Amount of Ammo current available
Default value: 10
MaxAmmo[edit]
Type: int
Modifiers: travel
Max amount of ammo
MaxRange[edit]
Type: float
for autoaim
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
Default values[edit]
Property | Value |
---|---|
NetUpdateFrequency | 1.0 |
Instance functions[edit]
AddAmmo[edit]
CheckOutOfAmmo[edit]
simulated function CheckOutOfAmmo ()
DisplayDebug[edit]
Overrides: Actor.DisplayDebug
HandlePickupQuery[edit]
Overrides: Inventory.HandlePickupQuery
HasAmmo[edit]
simulated function bool HasAmmo ()