Botpack
Class BioSplash

source: e:\games\UnrealTournament\Botpack\Classes\BioSplash.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Projectile
         |
         +--Botpack.UT_BioGel
            |
            +--Botpack.BioSplash
Direct Known Subclasses:None

class BioSplash
extends Botpack.UT_BioGel

//============================================================================= // BioSplash //=============================================================================
States
Flying
State Flying Function Summary
 void ProcessTouch(Actor Other, vector HitLocation)



Source Code


00001	//=============================================================================
00002	// BioSplash
00003	//=============================================================================
00004	class BioSplash extends UT_BioGel;
00005	
00006	auto state Flying
00007	{
00008		function ProcessTouch (Actor Other, vector HitLocation) 
00009		{ 
00010			if ( Other.IsA('UT_BioGel') && (LifeSpan > Default.LifeSpan - 0.2) )
00011				return;
00012			if ( Pawn(Other)!=Instigator || bOnGround) 
00013				Global.Timer(); 
00014		}
00015	}
00016	
00017	defaultproperties
00018	{
00019	     speed=300.000000
00020	}

End Source Code