RuneI
Class OtherBubble

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

class OtherBubble
extends RuneI.MudBubble

//============================================================================= // OtherBubble. // // OtherBubbles should be used as alternates to mud bubbles, for instance // as lava bubbles or water bubbles //=============================================================================
Variables
 Texture BubbleTexture


Function Summary
 void Burst()
     
//=============================================================================
//
// Burst
//
// OtherBubble burst currently doesn't spew out any globs
//=============================================================================
 void PreBeginPlay()
     
//=============================================================================
//
// PreBeginPlay
//
//=============================================================================



Source Code


00001	//=============================================================================
00002	// OtherBubble.
00003	//
00004	// OtherBubbles should be used as alternates to mud bubbles, for instance
00005	// as lava bubbles or water bubbles
00006	//=============================================================================
00007	class OtherBubble expands MudBubble;
00008	
00009	var() Texture BubbleTexture;
00010	
00011	//=============================================================================
00012	//
00013	// PreBeginPlay
00014	//
00015	//=============================================================================
00016	
00017	function PreBeginPlay()
00018	{
00019		Super.PreBeginPlay();
00020	
00021		// Set the skin appropriate to this bubble
00022		SkelGroupSkins[0] = BubbleTexture;
00023		SkelGroupSkins[1] = BubbleTexture;
00024	}
00025	
00026	//=============================================================================
00027	//
00028	// Burst
00029	//
00030	// OtherBubble burst currently doesn't spew out any globs
00031	//=============================================================================
00032	
00033	function Burst()
00034	{
00035		Spawn(class'SteamBlast',,, Location+Vect(0, 0, 8));
00036	}
00037	
00038	defaultproperties
00039	{
00040	     ScaleMax=3.500000
00041	     Style=STY_Translucent
00042	     ScaleGlow=0.700000
00043	}

End Source Code