RuneI
Class FlashCycle

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

class FlashCycle
extends Engine.Effects

//============================================================================= // FlashCycle. // Bright flash that fades up and down //=============================================================================
Variables
 float GlowHigh
 float GlowLow


Function Summary
 void PreBeginPlay()
 void Tick(float DeltaTime)



Source Code


00001	//=============================================================================
00002	// FlashCycle.
00003	// Bright flash that fades up and down
00004	//=============================================================================
00005	class FlashCycle expands Effects;
00006	
00007	var() float GlowLow;
00008	var() float GlowHigh;
00009	
00010	function PreBeginPlay()
00011	{
00012		RotationRate=rotator(VRand())*5000;
00013		ScaleGlow=GlowHigh;
00014	}
00015	
00016	function Tick(float DeltaTime)
00017	{
00018		ScaleGlow = RandRange(GlowLow, GlowHigh);
00019	}
00020	
00021	defaultproperties
00022	{
00023	     GlowLow=0.500000
00024	     GlowHigh=2.500000
00025	     DrawType=DT_SkeletalMesh
00026	     Style=STY_Translucent
00027	     Sprite=Texture'RuneFX.Spark1'
00028	     Texture=Texture'RuneFX.Spark1'
00029	     DrawScale=7.000000
00030	     ScaleGlow=0.000000
00031	     bParticles=True
00032	     CollisionRadius=50.000000
00033	     CollisionHeight=50.000000
00034	     Skeletal=SkelModel'objects.Fruit'
00035	}

End Source Code