Core.Object | +--Engine.Actor | +--Engine.Effects | +--RuneI.OdinEyeBlast
float
GlowSpeed
void
PostBeginPlay()
Tick(float DeltaSeconds)
00001 //============================================================================= 00002 // OdinEyeBlast. 00003 //============================================================================= 00004 class OdinEyeBlast expands Effects; 00005 00006 var float GlowSpeed; 00007 00008 function PostBeginPlay() 00009 { 00010 GlowSpeed = 0.75; 00011 Enable('Tick'); 00012 } 00013 00014 function Tick(float DeltaSeconds) 00015 { 00016 if(ScaleGlow < 0.8) 00017 { 00018 ScaleGlow += GlowSpeed * DeltaSeconds; 00019 DrawScale += GlowSpeed * DeltaSeconds * 3; 00020 00021 if(ScaleGlow > 0.8) 00022 Disable('Tick'); 00023 } 00024 } 00025 00026 defaultproperties 00027 { 00028 DrawType=DT_Sprite 00029 Style=STY_Translucent 00030 Texture=Texture'RuneFX.odincorona' 00031 DrawScale=0.300000 00032 ScaleGlow=0.000000 00033 }