I don't need to test my programs. I have an error-correcting modem.

UE2:AmmoInvGrenade (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
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)