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

UE1:Ammo (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:12, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
RTNP Object >> Actor >> Inventory >> Pickup >> Ammo
Package: 
Engine
Direct subclasses:
ASMDAmmo, CARifleClip, FlakBox, GLAmmo, NullAmmo, RLAmmo, RazorAmmo, RifleAmmo, RocketCan, Shellbox, Shells, Sludge, StingerAmmo
This class in other games:
U1, UT, U2XMP, UT2003, UE2Runtime, UT2004

Ammo.

Properties[edit]

Property group 'Ammo'[edit]

AmmoAmount[edit]

Type: int

Modifiers: travel


MaxAmmo[edit]

Type: int

Modifiers: travel


ParentAmmo[edit]

Type: class<Ammo>

Class of ammo to be represented in inventory

UsedInWeaponSlot[edit]

Type: byte

Array size: 10


Internal variables[edit]

PAmmo[edit]

Type: Ammo


Default values[edit]

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

Functions[edit]

Events[edit]

BotDesireability[edit]

event float BotDesireability (Pawn Bot)

Overrides: Inventory.BotDesireability


Other instance functions[edit]

AddAmmo[edit]

function bool AddAmmo (int AmmoToAdd)


HandlePickupQuery[edit]

function bool HandlePickupQuery (Inventory Item)

Overrides: Pickup.HandlePickupQuery


SpawnCopy[edit]

function Inventory SpawnCopy (Pawn Other)

Overrides: Pickup.SpawnCopy


UseAmmo[edit]

function bool UseAmmo (int AmountNeeded)