Cogito, ergo sum

Legacy:TournamentPickup

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 21:03, 3 January 2006 by SuperApe (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2003 :: Actor >> Pickup >> TournamentPickup (Package: XPickups)

A non-placeable parent class for Pickups.

Source Code[edit]

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.

//=============================================================================
// 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
}

Known Subclasses[edit]

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