class OtherBubble extends Effects;

simulated function ZoneChange( ZoneInfo NewZone )
{
    if ( !NewZone.bWaterZone )
    { 
        Destroy();
        PlaySound (EffectSound1);
    }
}

simulated function BeginPlay()
{
    Super.BeginPlay();
    if ( Level.NetMode != NM_DedicatedServer )
    {
        PlaySound(EffectSound2); //Spawned Sound
        LifeSpan = 3 + 4 * FRand();
        if (FRand()<0.3) Texture = texture'S_Bubble2';
        else if (FRand()<0.3) Texture = texture'S_Bubble3';
    }
}

defaultproperties
{
     DrawType=DT_Sprite
     Style=STY_Translucent
     Texture=Texture'UnrealShare.S_bubble1'
     DrawScale=0.200000
     bUnlit=True
     Mass=3.000000
     Buoyancy=5.000000
     Physics=PHYS_Falling
     LifeSpan=2.000000
     RemoteRole=ROLE_SimulatedProxy
     bNetOptional=true
}