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

UE1:Ammo (U1)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U1 Object >> Actor >> Inventory >> Pickup >> Ammo

Contents

Package: 
Engine
Direct subclasses:
ASMDAmmo, FlakBox, NullAmmo, RazorAmmo, RifleAmmo, RocketCan, Shellbox, Shells, Sludge, StingerAmmo
This class in other games:
RTNP, U2XMP, UE2Runtime, UT, UT2003, UT2004

Ammo.

[edit] Properties

[edit] Property group 'Ammo'

[edit] AmmoAmount

Type: int

Modifiers: travel


[edit] MaxAmmo

Type: int

Modifiers: travel


[edit] ParentAmmo

Type: class<Ammo>

Class of ammo to be represented in inventory

[edit] UsedInWeaponSlot

Type: byte

Array size: 10


[edit] Internal variables

[edit] PAmmo

Type: Ammo


[edit] Default values

Property Value
bCollideActors False
MaxDesireability 0.2
PickupMessage "You picked up some ammo."
RespawnTime 30.0
Texture Texture'Engine.S_Ammo'

[edit] Functions

[edit] Events

[edit] BotDesireability

event float BotDesireability (Pawn Bot)

Overrides: Inventory.BotDesireability


[edit] Other instance functions

[edit] AddAmmo

function bool AddAmmo (int AmmoToAdd)


[edit] HandlePickupQuery

function bool HandlePickupQuery (Inventory Item)

Overrides: Pickup.HandlePickupQuery


[edit] SpawnCopy

function Inventory SpawnCopy (Pawn Other)

Overrides: Pickup.SpawnCopy


[edit] UseAmmo

function bool UseAmmo (int AmountNeeded)