Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.Ammo

Extends
Pickup
Modifiers
abstract

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Inventory
      |   
      +-- Engine.Pickup
         |   
         +-- Engine.Ammo

Direct Known Subclasses:

ASMDAmmo, FlakBox, NullAmmo, RazorAmmo, RifleAmmo, RocketCan, Shellbox, Shells, Sludge, StingerAmmo

Variables Summary
ammoPAmmo
Ammo
intAmmoAmount
intMaxAmmo
class<ammo>ParentAmmo
byteUsedInWeaponSlot[10]
Inherited Variables from Engine.Pickup
bAutoActivate, bCanActivate, bCanHaveMultipleCopies, ExpireMessage, Inv, NumCopies
Inherited Variables from Engine.Inventory
AbsorptionPriority, ActivateSound, ArmorAbsorption, AutoSwitchPriority, bActivatable, bActive, bAmbientGlow, bDisplayableInv, bHeldItem, bInstantRespawn, bIsAnArmor, BobDamping, bRotatingPickup, bSleepTouch, Charge, DeActivateSound, Icon, InventoryGroup, ItemArticle, ItemName, MaxDesireability, MyMarker, M_Activated, M_Deactivated, M_Selected, NextArmor, PickupMessage, PickupSound, PickupViewMesh, PickupViewScale, PlayerLastTouched, PlayerViewMesh, PlayerViewOffset, PlayerViewScale, ProtectionType1, ProtectionType2, RespawnSound, RespawnTime, StatusIcon, ThirdPersonMesh, ThirdPersonScale

Functions Summary
functionbool AddAmmo (int AmmoToAdd)
eventfloat BotDesireability (Pawn Bot)
functionbool HandlePickupQuery (inventory Item)
functioninventory SpawnCopy (Pawn Other)
functionbool UseAmmo (int AmountNeeded)
Inherited Functions from Engine.Pickup
Activate, BeginState, HandlePickupQuery, PickupFunction, SpawnCopy, Touch, TravelPostAccept, UseCharge, UsedUp
Inherited Functions from Engine.Inventory
Activate, ActivateTranslator, AltFire, ArmorAbsorbDamage, ArmorImpactEffect, ArmorPriority, BecomeItem, BecomePickup, BeginState, BotDesireability, CalcDrawOffset, CheckTouching, Destroyed, DropFrom, EndState, Fire, GiveTo, HandlePickupQuery, InventoryCapsFloat, Landed, OwnerJumped, PostBeginPlay, PrioritizeArmor, RecommendWeapon, ReduceDamage, RenderOverlays, SelectNext, SetRespawn, SpawnCopy, Timer, Touch, TravelPreAccept, Use, ValidTouch, WeaponChange, ZoneChange, [


Variables Detail

PAmmo Source code

var ammo PAmmo;

Ammo

AmmoAmount Source code

var(Ammo) travel int AmmoAmount;

MaxAmmo Source code

var(Ammo) travel int MaxAmmo;

ParentAmmo Source code

var(Ammo) class<ammo> ParentAmmo;

UsedInWeaponSlot[10] Source code

var(Ammo) byte UsedInWeaponSlot[10];


Functions Detail

AddAmmo Source code

function bool AddAmmo ( int AmmoToAdd )

BotDesireability Source code

event float BotDesireability ( Pawn Bot )

HandlePickupQuery Source code

function bool HandlePickupQuery ( inventory Item )

SpawnCopy Source code

function inventory SpawnCopy ( Pawn Other )

UseAmmo Source code

function bool UseAmmo ( int AmountNeeded )


Defaultproperties

defaultproperties
{
     PickupMessage="You picked up some ammo."
     RespawnTime=30.000000
     MaxDesireability=0.200000
     Texture=Texture'Engine.S_Ammo'
     bCollideActors=False
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Sun 21/2/2010 23:49:45.971 - Created with UnCodeX