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

UE2:WeaponGrenadeLauncher (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Pickup >> WeaponPickup >> U2WeaponPickup >> WeaponGrenadeLauncher
Package: 
U2Weapons

$Workfile: weaponGrenadeLauncher.uc $ Created By: Jess Crable, Mark Poesch Created On: 5/2/00 $Author: Aleiby $ $Date: 11/24/02 12:53a $ $Revision: 8 $

Properties

Property group 'weaponGrenadeLauncher'

AmmoCountConcussion

Type: int


Default value: 1

AmmoCountEMP

Type: int


Default value: 1

AmmoCountFragment

Type: int


Default value: 1

AmmoCountIncendiary

Type: int


Default value: 1

AmmoCountSmoke

Type: int


Default value: 1

AmmoCountToxic

Type: int


Default value: 1

Default values

Property Value
InventoryType Class'U2Weapons.WeaponInvGrenadeLauncher'
PickupMessage "You got a Grenade Launcher."
PickupSound Sound'U2WeaponsA.GrenadeLauncher.GL_Pickup'
StaticMesh StaticMesh'MalekythM.Pickups.GL_TP_W'

Instance functions

GetAmmoCount

function int GetAmmoCount (WeaponInvGrenadeLauncher GL, class<ammoInvGrenadeGrenadeClass)


InitDroppedPickupFor

function InitDroppedPickupFor (Inventory Inv)

Overrides: Pickup.InitDroppedPickupFor


MaybeAddMoreAmmo

function bool MaybeAddMoreAmmo (Weapon W, Pawn Other)

Overrides: Pickup.MaybeAddMoreAmmo