Cogito, ergo sum

UE2:AmmoInvGrenade (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Ammunition >> U2Ammo >> AmmoInvGrenade

Contents

Package: 
U2Weapons

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

[edit] Properties

[edit] Property group 'ammoInvGrenade'

[edit] GrenadeIndex

Type: int


[edit] ProjectileClass

Type: class<projectileGrenade>


[edit] Default values

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

[edit] Instance functions

[edit] AddAmmo

function bool AddAmmo (int AmmoToAdd)

Overrides: Ammunition.AddAmmo


[edit] NotifyAddInventory

function NotifyAddInventory (Pawn Other)

Overrides: Inventory.NotifyAddInventory


[edit] NotifyDeleteInventory

function NotifyDeleteInventory (Pawn Other)

Overrides: Inventory.NotifyDeleteInventory


[edit] UpdateLauncher

function UpdateLauncher (Pawn Other, ammoInvGrenade GInv)


Personal tools