I don't need to test my programs. I have an error-correcting modem.
UE2:U2Ammo (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
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
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. |
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]
Overrides: Inventory.GiveTo
MaximizeClipAmount[edit]
function MaximizeClipAmount ()
Reload[edit]
simulated function Reload ()
ReloadRequired[edit]
UseAmmo[edit]
Overrides: Ammunition.UseAmmo