Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:U2Ammo (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 12:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Ammunition >> U2Ammo
Package: 
U2
Direct subclasses:
AmmoInvAssaultRifle, AmmoInvAutoCannon, AmmoInvDispersion, AmmoInvEnergyRifle, AmmoInvFlamethrower, AmmoInvGrenade, AmmoInvLaserRifle, AmmoInvLeechGun, AmmoInvPistol, AmmoInvRocketLauncher, AmmoInvRocket, AmmoInvShotgun, AmmoInvSingularityCannon, AmmoInvSniperRifle, AmmoInvTakkra, U2XMPAmmo

U2Ammo.uc $Author: Mbaldwin $ $Date: 12/10/02 8:16p $ $Revision: 11 $ NOTES: - All U2Ammo interaction runs on the server -- no replication required - AmountAmount is always "1" -- hardcoded in U2Weapon.uc (TournamentWeapon.uc) - ClientFire() and ClientAltFire() assume that AmmoAmmount > 0 is "sufficient to fire"

Properties[edit]

ClipRoundsRemaining[edit]

Type: int

Modifiers: travel


ClipSize[edit]

Type: int

automatically initialized based on AmmoAmount

Default values[edit]

Property Value
bMergesCopies True

Functions[edit]

Events[edit]

PreBeginPlay[edit]

simulated event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Replication[edit]

simulated event Replication ()

Overrides: Ammunition.Replication


Other instance functions[edit]

AddMinAmmo[edit]

function AddMinAmmo (int MinAmmo)


CanReload[edit]

simulated function bool CanReload ()


GiveTo[edit]

function GiveTo (Pawn Other, optional bool bDontTryToSwitch)

Overrides: Inventory.GiveTo


MaximizeClipAmount[edit]

function MaximizeClipAmount ()


Reload[edit]

simulated function Reload ()


ReloadRequired[edit]

simulated function bool ReloadRequired (int AmountNeeded)


UseAmmo[edit]

function bool UseAmmo (int AmountNeeded)

Overrides: Ammunition.UseAmmo