UnrealI
Class EscapePod

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

class EscapePod
extends Engine.Decoration

//============================================================================= // EscapePod. //=============================================================================

Function Summary
 void Timer()
 void Trigger(Actor Other, Pawn EventInstigator)



Source Code


00001	//=============================================================================
00002	// EscapePod.
00003	//=============================================================================
00004	class EscapePod extends Decoration;
00005	
00006	
00007	#exec MESH IMPORT MESH=Escapep ANIVFILE=MODELS\Escape_a.3D DATAFILE=MODELS\Escape_d.3D X=0 Y=0 Z=0
00008	#exec MESH ORIGIN MESH=Escapep X=0 Y=100 Z=0 YAW=64
00009	#exec MESH SEQUENCE MESH=Escapep SEQ=All    STARTFRAME=0   NUMFRAMES=5
00010	#exec MESH SEQUENCE MESH=Escapep SEQ=Still  STARTFRAME=0   NUMFRAMES=1
00011	#exec MESH SEQUENCE MESH=Escapep SEQ=Flame  STARTFRAME=1   NUMFRAMES=4
00012	#exec TEXTURE IMPORT NAME=JEscapep1 FILE=MODELS\escape.PCX GROUP=Skins 
00013	#exec MESHMAP SCALE MESHMAP=Escapep X=0.5 Y=0.5 Z=1.0
00014	#exec MESHMAP SETTEXTURE MESHMAP=Escapep NUM=1 TEXTURE=JEscapep1
00015	
00016	function Trigger( actor Other, pawn EventInstigator )
00017	{
00018		SetPHysics(PHYS_Projectile);
00019		Velocity = Vect(0,0,50.0);
00020		SetTimer(15.0,False);
00021	}
00022	
00023	
00024	function Timer()
00025	{
00026		Destroy();
00027	}
00028	
00029	defaultproperties
00030	{
00031	     bStatic=False
00032	     bDirectional=True
00033	     DrawType=DT_Mesh
00034	     Mesh=LodMesh'UnrealI.Escapep'
00035	}

End Source Code