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

Engine.Ammo

Extends
Pickup
Modifiers
abstract native nativereplication

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

Direct Known Subclasses:

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

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, bFirstFrame, bHeldItem, bInstantRespawn, bIsAnArmor, bMuzzleFlashParticles, BobDamping, bRotatingPickup, bSleepTouch, bSteadyFlash3rd, bSteadyToggle, bToggleSteadyFlash, bTossedOut, Charge, DeActivateSound, FlashCount, Icon, InventoryGroup, ItemArticle, ItemMessageClass, ItemName, MaxDesireability, MuzzleFlashMesh, MuzzleFlashScale, MuzzleFlashStyle, MuzzleFlashTexture, MyMarker, M_Activated, M_Deactivated, M_Selected, NextArmor, OldFlashCount, PickupMessage, PickupMessageClass, 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, ChangedWeapon, CheckTouching, Destroyed, DrawStatusIconAt, DropFrom, DropInventory, EndState, Fire, GetHumanName, GiveTo, HandlePickupQuery, InventoryCapsFloat, InventoryCapsString, Landed, OwnerJumped, PostBeginPlay, PrioritizeArmor, RecommendWeapon, ReduceDamage, RenderOverlays, SelectNext, SetOwnerDisplay, 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: Fr 7.6.2013 13:14:28.079 - Created with UnCodeX