Botpack
Class TrophyDude

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

class TrophyDude
extends Engine.Decoration


Variables
 bool bFinal


Function Summary
 void AnimEnd()
 void PostBeginPlay()
 void Timer()



Source Code


00001	class TrophyDude extends Decoration;
00002	
00003	var bool bFinal;
00004	
00005	function PostBeginPlay()
00006	{
00007		SetTimer(38.0, True);
00008	}
00009	
00010	function Timer()
00011	{
00012		SetTimer(0.0, False);
00013		PlayAnim('Trophy5', 0.3);
00014	}
00015	
00016	function AnimEnd()
00017	{
00018		if (!bFinal)
00019		{
00020			PlayAnim('Trophy4', 0.3);
00021			bFinal = True;
00022		}
00023	}
00024	
00025	defaultproperties
00026	{
00027	     bStatic=False
00028	     DrawType=DT_Mesh
00029	     Mesh=LodMesh'Botpack.TrophyMale1'
00030	}

End Source Code