I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

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

Property group 'ammoInvGrenade'

GrenadeIndex

Type: int


ProjectileClass

Type: class<projectileGrenade>


Default values

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

Instance functions

AddAmmo

function bool AddAmmo (int AmmoToAdd)

Overrides: Ammunition.AddAmmo


NotifyAddInventory

function NotifyAddInventory (Pawn Other)

Overrides: Inventory.NotifyAddInventory


NotifyDeleteInventory

function NotifyDeleteInventory (Pawn Other)

Overrides: Inventory.NotifyDeleteInventory


UpdateLauncher

function UpdateLauncher (Pawn Other, ammoInvGrenade GInv)