Core.Object | +--Engine.Actor | +--Engine.Effects | +--RuneI.BloodlustStart
float
time
simulated
PreBeginPlay()
Tick(float DeltaSeconds)
00001 //============================================================================= 00002 // BloodlustStart. 00003 //============================================================================= 00004 class BloodlustStart expands Effects; 00005 00006 var float time; 00007 00008 simulated function PreBeginPlay() 00009 { 00010 Enable('Tick'); 00011 DesiredColorAdjust.X = 102; 00012 ScaleGlow = 0.75; 00013 DrawScale = 0.5; 00014 time = 0.75; 00015 } 00016 00017 simulated function Tick(float DeltaSeconds) 00018 { 00019 local vector newLoc; 00020 00021 DrawScale += DeltaSeconds * 7; 00022 ScaleGlow = time; 00023 00024 SetLocation(Owner.Location); 00025 SetRotation(Owner.Rotation + rot(16384, 0, 0)); 00026 00027 time -= DeltaSeconds; 00028 00029 if(time <= 0) 00030 Destroy(); 00031 } 00032 00033 defaultproperties 00034 { 00035 RemoteRole=ROLE_SimulatedProxy 00036 DrawType=DT_VerticalSprite 00037 Style=STY_Translucent 00038 Texture=Texture'RuneFX.ripple2' 00039 }