I'm a doctor, not a mechanic

UE2:Ammunition (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UE2Runtime Object >> Actor >> Inventory >> Ammunition

Contents

Package: 
Engine
This class in other games:
U2XMP, UT2003, UT2004

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

function bool AddAmmo (int AmmoToAdd)


[edit] DisplayDebug

simulated function DisplayDebug (Canvas Canvas, out float YL, out float YPos)

Overrides: Actor.DisplayDebug


[edit] GetDamageRadius

function float GetDamageRadius ()


[edit] HandlePickupQuery

function bool HandlePickupQuery (Pickup Item)

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

function float RateSelf (Pawn Shooter, out name RecommendedFiringMode)


[edit] SpawnProjectile

function SpawnProjectile (Object.Vector Start, Object.Rotator Dir)


[edit] WarnTarget

function WarnTarget (Actor Target, Pawn P, Object.Vector FireDir)


Personal tools