RuneI
Class BeamVine

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

class BeamVine
extends RuneI.BeamSystem

//============================================================================= // BeamVine. // // Generic beam, purely visual //=============================================================================

Function Summary
 void Trigger(Actor Other, Pawn EventInstigator)



Source Code


00001	//=============================================================================
00002	// BeamVine.
00003	//
00004	// Generic beam, purely visual
00005	//=============================================================================
00006	class BeamVine extends BeamSystem;
00007	
00008	
00009	var(Sounds) Sound BreakSound;
00010	
00011	
00012	state() BreakWhenTriggered
00013	{
00014		function Trigger(actor Other, pawn EventInstigator)
00015		{
00016			PlaySound(BreakSound, SLOT_Misc,,,, 1.0 + (FRand() * 0.2 - 0.1));
00017			bHidden = true;
00018		}
00019	}
00020	
00021	defaultproperties
00022	{
00023	     ParticleCount=9
00024	     ParticleTexture(0)=Texture'RuneFX.Vine1'
00025	     NumConPts=3
00026	     BeamThickness=2.500000
00027	     BeamTextureScale=0.040000
00028	     bEventSystemTick=False
00029	}

End Source Code