| Home Page | Recent Changes | Preferences

# Ammo

UT2003 :: Actor >> Pickup >> Ammo (Package: Engine)

The parent class for all Ammo Pickup.

> For state behavoir of this item refer to the parent class Pickup.

## Properties

int AmmoAmount
  The amount of ammo contained in the ammo pickup.

## Methods

### Inherited From Pickup

float BotDesireability (Pawn Bot)
  This determines the AI for desireability of the item. If the Pawn doesn't have the weapon it does not desire this weapon. If it has the weapon it then determines its desire from the MaxDesirability divided by the PathWeight.
float DetourWeight (Pawn Other, float PathWeight)
  If the bot is hunting a player or has max ammo the desireability is very low. If the bot doesn't have the weapon then it wants the ammo at 35% of the MaxDesirability. If it has the weapon and no ammo then the bot desires it at MaxDesirability.
Inventory SpawnCopy (Pawn Other)
  Calls the Pickup SpawnCopy but simply appends the AmmoAmount to the Ammo pickup that was copied.

## Known Subclasses

     +-Ammo
        +-UTAmmoPickup
           +-AssaultAmmoPickup?
           +-BioAmmoPickup?
           +-FlakAmmoPickup?
           +-LinkAmmoPickup?
           +-MinigunAmmoPickup
           +-RocketAmmoPickup?
           +-ShockAmmoPickup?
           +-SniperAmmoPickup?

Category Class (UT2003)
Category Class Tree

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In