

//Health Bonus Pulse
event HudHealthBonusPulse
{
	
	Animate	PlayerStatusHealthBonusImage 	Alpha		"0"		Linear 0.0 0.0

	Animate PlayerStatusHealthValue		FgColor		"Health Buff"	Linear 0.0	0.050 // "130 255 155 245" "Health Buff"
	Animate PlayerStatusHealthValue		FgColor		"Health Buff 2"		Linear 0.125	0.075 //"120 240 145 245" "Health Buff 2"
	
	Animate PlayerStatusHealthValueSpec		FgColor		"Health Buff"	Linear 0.0	0.050 // "130 255 155 245"
	Animate PlayerStatusHealthValueSpec		FgColor		"Health Buff 2"		Linear 0.125	0.075 //"120 240 145 245"
	
		Animate PlayerStatusHealthValueSpecT		FgColor		"Health Buff"	Linear 0.0	0.050 // "130 255 155 245"
	Animate PlayerStatusHealthValueSpecT		FgColor		"Health Buff 2"		Linear 0.125	0.075 //"120 240 145 245"

	Animate PlayerStatusHealthValueshadow 		FgColor		"Health Buff Shadow"	Linear 0.0 	0.075  //"Health Buff Shadow"
	Animate	PlayerStatusHealthValueShadow		FgColor		"Health Buff Shadow 2"		Linear 0.125 	0.075  //"Health Buff Shadow 2"
		
	Animate HealthBarBuffSpec		Alpha	"255"		Accel 0.0 0.0
	Animate HealthBarBuffSpec2	Alpha	"255"		Accel 0.0 0.0
	Animate HealthBarBuffSpec3	Alpha	"255"		Accel 0.0 0.0
	Animate HealthBarBuffSpec4	Alpha	"255"		Accel 0.0 0.0

	SetVisible HealthBarLowHealth 0 0.0
	
	SetVisible Halo 0 0.0
	SetVisible Halo2 1 0.0
	
    SetVisible HealthBarOverheal 1 0.0


	SetVisible HealthBar 0 0.0
	
	Animate HealthBarBG	bgcolor	"white"	Linear 0.0 0.001
		
	RunEvent HudHealthBonusPulseLoop	0.4
}

// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
	RunEvent HudHealthBonusPulse 0.0
}

event HudHealthBonusPulseStop
{
	StopEvent HudHealthBonusPulse 0.0
	StopEvent HudHealthBonusPulseLoop 0.0
	
	Animate PlayerStatusHealthValue		FgColor		"Health"	Linear 0.0	0.050 
	Animate PlayerStatusHealthValue		FgColor		"Health"		Linear 0.125	0.075 

	Animate PlayerStatusHealthValueShadow		FgColor		"zephyrclear"	Linear 0.0	0.0
	Animate	PlayerStatusHealthValueShadow	    FgColor		"zephyrclear"	Linear 0.125 0.075
	
	//Animate PlayerStatusHealthImageBG	 Alpha	"0"		Accel 0.0 0.0
	
	Animate PlayerStatusHealthValueSpec		FgColor		"white"	Linear 0.0	0.0
	Animate	PlayerStatusHealthValueSpec	    FgColor		"white"	Linear 0.125 0.075
	
	Animate HealthBarBuffSpec		Alpha	"0"		Accel 0.0 0.0
	Animate HealthBarBuffSpec2	Alpha	"0"		Accel 0.0 0.0	
	Animate HealthBarBuffSpec3	Alpha	"0"		Accel 0.0 0.0
	Animate HealthBarBuffSpec4	Alpha	"0"		Accel 0.0 0.0
	
	Animate PlayerStatusHealthValueSpecT		FgColor		"white"		Linear 0.125	0.075 //"120 240 145 245"
	
	SetVisible Halo 1 0.0
	SetVisible Halo2 0 0.0

	SetVisible HealthBarOverheal 0 0.0

	SetVisible HealthBarLowHealth 0 0.0

	
	SetVisible HealthBar 1 0.0

	SetVisible HealthSpectatorBarBuff 0 0.0

	Animate HealthBarBG	bgcolor	"zephyrclear"	Linear 0.0 0.001
	

}

//===========================================

//Health Dying Pulse
event HudHealthDyingPulse
{
	Animate	PlayerStatusHealthBonusImage 	Alpha		"255"		Linear 0.0 0.075
	Animate	PlayerStatusHealthBonusImage 	Alpha		"0"		    Linear 0.125 0.075

	Animate PlayerStatusHealthValueshadow		FgColor		"Health Low Shadow"		Linear 0.0	0.075
	Animate PlayerStatusHealthValueshadow		FgColor		"Health Low Shadow"	    Linear 0.125	0.075
	


	Animate PlayerStatusHealthValue		FgColor		"Health Low"		Linear 0.0 0.075 // "200 50 50 255"
	Animate PlayerStatusHealthValue		FgColor		"Health Low 2"	    Linear 0.125 0.075 // "210 60 60 255"	 
	
	Animate PlayerStatusHealthValueSpec 	FgColor		"Health Low"	Linear 0.0	0.050 // "130 255 155 245"	
	Animate PlayerStatusHealthValueSpec		FgColor		"Health Low 2"		Linear 0.125	0.075 //"120 240 145 245"
	
	Animate PlayerStatusHealthValueSpecT 	FgColor		"Health Low"	Linear 0.0	0.050 // "130 255 155 245"	
	Animate PlayerStatusHealthValueSpecT		FgColor		"Health Low 2"		Linear 0.125	0.075 //"120 240 145 245"

	SetVisible Halo 0 0.0
	SetVisible Halo3 1 0.0

	
	Animate HealthBarHurt		Alpha	"0"			Accel 0.0 0.2
	Animate HealthBarHurt2		Alpha	"255"		Accel 0.1 0.1
	
	Animate HealthBarHurtSpec		Alpha	"255"		Accel 0.0 0.0
	Animate HealthBarHurtSpec2		Alpha	"255"		Accel 0.0 0.0
	Animate HealthBarHurtSpec3		Alpha	"255"		Accel 0.0 0.0
	Animate HealthBarHurtSpec4		Alpha	"255"		Accel 0.0 0.0
	
	////SetVisible HealthSpectatorBarHurt 1 0.0
	
	////Animate HealthBarBG	bgcolor	"zephyrclear"	Linear 0.0 0.001
	
	SetVisible HealthBarLowHealth 1 0.0
	
	
	
	RunEvent HudHealthDyingPulseLoop	0.5
}

// call to loop HudHealthDyingPulse
event HudHealthDyingPulseLoop
{
	RunEvent HudHealthDyingPulse 0.0
}

event HudHealthDyingPulseStop
{
	StopEvent HudHealthDyingPulse 0.0
	StopEvent HudHealthDyingPulseLoop 0.0

	Animate PlayerStatusHealthValueShadow		FgColor		"zephyrclear"	Linear 0.0	0.0
	Animate	PlayerStatusHealthValue		FgColor		"Health"		Linear 0.0 0.0
	
	Animate HealthBarHurtSpec		Alpha	"0"		Accel 0.0 0.0
	Animate HealthBarHurtSpec2		Alpha	"0"		Accel 0.0 0.0
	Animate HealthBarHurtSpec3		Alpha	"0"		Accel 0.0 0.0
	Animate HealthBarHurtSpec4		Alpha	"0"		Accel 0.0 0.0
	
	Animate PlayerStatusHealthValueSpec 	FgColor		"Health"	Linear 0.0	0.050
	
	Animate HealthBarHurt		Alpha	"0"		Accel 0.0 0.0
	Animate HealthBarHurt2		Alpha	"0"		Accel 0.0 0.0
	
	SetVisible Halo 1 0.0
	SetVisible Halo3 0 0.0
	
	Animate HealthBarHurtSpec		Alpha	"0"		Accel 0.0 0.0
	Animate HealthBarHurtSpec2		Alpha	"0"		Accel 0.0 0.0
		
	////SetVisible HealthSpectatorBarHurt 0 0.0
	SetVisible HealthBarLowHealth 0 0.0
	
	//Animate PlayerStatusHealthImage		Alpha	"0"		Accel 0.0 0.2
	//Animate PlayerStatusHealthImage	    Alpha	"0"		Accel 0.0 0.0 
	
	////Animate HealthBarBG	bgcolor	"zephyrclear"	Linear 0.0 0.001
}

