RuneI
Class ZombieChangeFire

source: c:\runehov\RuneI\Classes\ZombieChangeFire.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.ParticleSystem
         |
         +--RuneI.Fire
            |
            +--RuneI.ZombieChangeFire
Direct Known Subclasses:None

class ZombieChangeFire
extends RuneI.Fire

//============================================================================= // ZombieChangeFire. //=============================================================================

Function Summary
 void PostBeginPlay()
 void Timer()
     
//===================================================================
//
// Timer
//
// Smoothly remove the fire after a few seconds
//===================================================================



Source Code


00001	//=============================================================================
00002	// ZombieChangeFire.
00003	//=============================================================================
00004	class ZombieChangeFire expands Fire;
00005	
00006	function PostBeginPlay()
00007	{
00008		Super.PostBeginPlay();
00009	
00010		SetTimer(3.0 + FRand(), false);
00011	}
00012	
00013	//===================================================================
00014	//
00015	// Timer
00016	//
00017	// Smoothly remove the fire after a few seconds
00018	//===================================================================
00019	
00020	function Timer()
00021	{
00022		bOneShot = true;
00023		bSystemOneShot = true;
00024		LifeSpan = 1.0;
00025	}
00026	
00027	defaultproperties
00028	{
00029	     ParticleTexture(0)=Texture'RuneFX.ZombieBreath'
00030	     LifeSpanMin=0.300000
00031	     GravityScale=-0.150000
00032	     Style=STY_AlphaBlend
00033	}

End Source Code