The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:AmmoInvGrenade (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09: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 >> AmmoInvGrenade
Package: 
U2Weapons

ammoInvGrenade.uc -- base class for the weaponGrenadeLauncher ammo types $Author: Aleiby $ $Date: 9/09/02 3:29a $ $Revision: 12 $

Properties[edit]

Property group 'ammoInvGrenade'[edit]

GrenadeIndex[edit]

Type: int


ProjectileClass[edit]

Type: class<projectileGrenade>


Default values[edit]

Property Value
AmmoAmount 5
ItemName "Grenade"
MaxAmmo 25
PickupClass Class'U2Weapons.ammoGrenade'

Instance functions[edit]

AddAmmo[edit]

function bool AddAmmo (int AmmoToAdd)

Overrides: Ammunition.AddAmmo


NotifyAddInventory[edit]

function NotifyAddInventory (Pawn Other)

Overrides: Inventory.NotifyAddInventory


NotifyDeleteInventory[edit]

function NotifyDeleteInventory (Pawn Other)

Overrides: Inventory.NotifyDeleteInventory


UpdateLauncher[edit]

function UpdateLauncher (Pawn Other, ammoInvGrenade GInv)