//Health Bonus Pulse
event HudHealthBonusPulse
{
	Animate	PlayerStatusHealthBonusImage 	Alpha		"0"			Linear 0.0	0.0
	Animate PlayerStatusHealthValueID Fgcolor "95 255 8 255" Linear 0.0 0.0
	Animate PlayerStatusHealthValueID2 Fgcolor "95 255 8 255" Linear 0.0 0.0

	Animate	PlayerStatusHealthValueID3	Fgcolor "95 255 8 255" Linear 0.0 0.0
	RunEvent HudHealthBonusPulseLoop1a 0.0
	Animate	OverhealHealthTextBG 	bgcolor		"90 255 8 255"			Accel 0.0	0.0
	Animate	OverhealHealthTextBG 	Xpos		"0 0"			Accel 0.0	0.0
	Animate	FixForHP 	alpha		"0"			Accel 0.0	0.0
	RunEvent LevelInitAny 0.0
	
}
event HudHealthBonusPulseLoop1a
{

			
	RunEvent HudHealthBonusPulseLoop1b	1.5
}
event HudHealthBonusPulseStop
{
	Animate PlayerStatusHealthValueID Fgcolor "255 255 255 255" Linear 0.0 0.0
	Animate PlayerStatusHealthValueID2 Fgcolor "255 255 255 255" Linear 0.0 0.0
	Animate PlayerStatusHealthValueID3 Fgcolor "255 255 255 255" Linear 0.0 0.0
	Animate	OverhealHealthTextBG 	bgcolor		"blank"			Accel 0.0	0.0
	Animate	FixForHP 	alpha		"255"			Accel 0.0	0.0
	Animate	OverhealHealthTextBG 	Xpos		"34 0"			Accel 0.0	0.0
}

event HudHealthBonusPulseLoop1b
{

	RunEvent HudHealthBonusPulseLoop1a	0.0
}





//Health Dying Pulse
event HudHealthDyingPulse
{
	Animate	PlayerStatusHealthBonusImage 	Alpha		"255"		Linear 0.0 0.0
	
	RunEvent HudHealthDyingPulseLoop1a	0.0 //targetid
	RunEvent HudHealthDyingPulseLoop2a	0.0 //normal - sub50
	RunEvent HudHealthDyingPulseLoop3a	0.0 //normal - sub10
	RunEvent HudHealthDyingPulseLoop4a	0.0 //normal - at 1
	
	RunEvent HudHealthBonusPulseLoop1a	0.0 //why not
	
	RunEvent LevelInitAny 0.0
}

event HudHealthDyingPulseLoop1a //idk i don't like this one
{
//	Animate	PlayerStatusHealthValueLow	Fgcolor "255 135 0 255" Linear 0.0 0.08
//	Animate	PlayerStatusHealthValueLow	Fgcolor "195 95 0 255" Linear 0.2 0.08

//	RunEvent HudHealthDyingPulseLoop1b	0.4
	//reformated
	Animate PlayerStatusHealthValueID Fgcolor "255 95 8 255" linear 0.0 0.06
	Animate PlayerStatusHealthValueID2 Fgcolor "255 95 8 255" linear 0.0 0.06
	Animate PlayerStatusHealthValueID3 Fgcolor "255 95 8 255" linear 0.0 0.06
	
	Animate PlayerStatusHealthValueIDNEW Fgcolor "255 95 8 255" linear 0.0 0.06
	Animate PlayerStatusHealthValueIDNEW Fgcolor "255 30 0 255" linear 0.15 0.06
	
	Animate PlayerStatusHealthValueID Fgcolor "255 30 0 255" linear 0.15 0.06
	Animate PlayerStatusHealthValueID2 Fgcolor "255 30 0 255" linear 0.15 0.06
	Animate PlayerStatusHealthValueID3 Fgcolor "255 30 0 255" linear 0.15 0.06
	RunEvent HudHealthDyingPulseLoop1b	0.4
}
event HudHealthDyingPulseLoop2a
{
	Animate	OverhealHealthTextBG 	bgcolor		"255 95 8 255"			Accel 0.0	0.06
	Animate	OverhealHealthTextBG 	bgcolor		"255 30 8 255"			Accel 0.15	0.06
	RunEvent HudHealthDyingPulseLoop2b	0.3
}
event HudHealthDyingPulseLoop3a
{
	Animate	PlayerStatusHealthValueLowest	Fgcolor "255 0 0 255" Linear 0.0 0.06
	Animate	PlayerStatusHealthValueLowest	Fgcolor "75 0 0 255" Linear 0.1 0.06
	
	RunEvent HudHealthDyingPulseLoop3b	0.2
}
event HudHealthDyingPulseLoop4a
{
	Animate	PlayerStatusHealthValueLowester	Fgcolor "255 0 0 255" Linear 0.0 0.055
	Animate	PlayerStatusHealthValueLowester	Fgcolor "50 0 0 255" Linear 0.1 0.055
	Animate	PlayerStatusHealthValueLowester	Fgcolor "255 0 0 255" Linear 0.2 0.055
	Animate	PlayerStatusHealthValueLowester	Fgcolor "50 0 0 255" Linear 0.3 0.055
	
	RunEvent HudHealthDyingPulseLoop4b	0.4
}

event HudHealthDyingPulseLoop1b
{
	RunEvent HudHealthDyingPulseLoop1a	0.0
}
event HudHealthDyingPulseLoop2b
{
	RunEvent HudHealthDyingPulseLoop2a	0.0
}
event HudHealthDyingPulseLoop3b
{
	RunEvent HudHealthDyingPulseLoop3a	0.0
}
event HudHealthDyingPulseLoop4b
{
	RunEvent HudHealthDyingPulseLoop4a	0.0
}

event HudHealthDyingPulseStop
{
	StopEvent HudHealthDyingPulse 0.0
	StopEvent HudHealthDyingPulseLoop1a 0.0
	StopEvent HudHealthDyingPulseLoop1b 0.0
	
	StopEvent HudHealthDyingPulseLoop2a 0.0
//	StopEvent HudHealthDyingPulseLoop2b 0.0
//	StopEvent HudHealthDyingPulseLoop3a 0.0
//	StopEvent HudHealthDyingPulseLoop3b 0.0
	
	Animate PlayerStatusHealthValueID Fgcolor "236 240 241 255" linear 0.0 0.0001
	Animate PlayerStatusHealthValueID2 Fgcolor "236 240 241 255" linear 0.0 0.0001
	Animate PlayerStatusHealthValueID3 Fgcolor "236 240 241 255" linear 0.0 0.0001
	
	Animate	OverhealHealthTextBG 	bgcolor		"blank"			Accel 0.0	0.0
}
