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
Object >> Actor >> Inventory >> Ammunition >> U2Ammo >> AmmoInvGrenade |
- Package:
- U2Weapons
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. |
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
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)