Legacy:TournamentPickup

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 20:03, 3 January 2006 by SuperApe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
UT2003 :: Actor >> Pickup >> TournamentPickup (Package: XPickups)

A non-placeable parent class for Pickups.

Source Code

As you can see, TournamentPickup gets the vast majority of it's functionality from it's parent, the Pickup class. This code is commented for learning.

<uscript> //============================================================================= // TournamentPickup. //============================================================================= class TournamentPickup extends Pickup; // the class (TournamentPickup) and it's parent (Pickup)

// The special effect that you see when the object respawns. function RespawnEffect() { spawn(class'PlayerSpawnEffect'); }

defaultproperties { bAmbientGlow=true // true or false, is there an ambient glow? MessageClass=class'PickupMessagePlus' // the message class for putting messages on-screen } </uscript>

Known Subclasses

TournamentPickup
  +- TournamentHealth
  +- AdrenalinePickup
  +- UDamagePack
  +- ShieldPickup