My program doesn't have bugs. It just develops random features.

Legacy:MultiPickup

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Postal 2 :: Actor >> Pickup >> P2PowerupPickup >> MultiPickup (Package: Inventory)

A pickup that cycles through a list of different pickups. For example, it could be a rocket launcher, then a health pipe, then some kevlar.

Properties

Main

array< class<Pickup> > PickupClasses 
List of pickup classes to cycle through. Set by the mapmaker in UnrealEd.
bool bRandomize 
True to pick random pickups, false to go in order.

Hidden

array<Pickup> PickupList
int CurrentIndex

Important Functions

SwapClass(class<Pickup> RemoveThis, class<Pickup> Replacer) 
Allows you to replace certain classes within the MultiPickup. This should be called within your mutator if you replace pickup classes.

Related Topics