 //////////////////////////////////////////////////////////////////////////////////////////////////
// Health Animations - Box
// ============================================================================================== //
// Box appears behind health and changes based on buff/low health state
 //////////////////////////////////////////////////////////////////////////////////////////////////
 //////////////////////////////////////////////////////////////////////////////////////////////////
// Buffed Health
 //////////////////////////////////////////////////////////////////////////////////////////////////
event HudHealthBonusPulse
{
    Animate              PlayerStatusHealthBonusImage             alpha              0                            Linear            0              0.2
    Animate              PlayerStatusHealthBonusImage             alpha              0                            Linear            0.2            0.4
    Animate              PlayerStatusHealthValue                  fgcolor            bh_Health_Main               Linear            0              0.2
    Animate              PlayerStatusHealthValueShadow            fgcolor            bh_Health_Shadow             Linear            0              0.2
    Animate              bh_HealthBG                              alpha              255                          Linear            0              0.2
    Animate              bh_HealthBGSpec                          alpha              255                          Linear            0              0.2
    Animate              bh_HealthBG                              bgcolor            bh_HealthBox_Buff            Linear            0              0.2
    Animate              bh_HealthBGSpec                          bgcolor            bh_TargetID_Buff             Linear            0              0.2
    RunEvent             HudHealthBonusPulseLoop                  0.4
}
event HudHealthBonusPulseLoop
{
    RunEvent             HudHealthBonusPulse                      0
}
event HudHealthBonusPulseStop
{
    StopEvent            HudHealthBonusPulse                      0
    StopEvent            HudHealthBonusPulseLoop                  0
    Animate              PlayerStatusHealthValue                  fgcolor            bh_Health_Main               Linear            0              0.2
    Animate              PlayerStatusHealthValueShadow            fgcolor            bh_Health_Shadow             Linear            0              0.2
    Animate              bh_HealthBG                              bgcolor            bh_HealthBox_Base            Linear            0              0.2
    Animate              bh_HealthBGSpec                          bgcolor            bh_TargetID_Base             Linear            0              0.2
}
 //////////////////////////////////////////////////////////////////////////////////////////////////
// Low Health
 //////////////////////////////////////////////////////////////////////////////////////////////////
event HudHealthDyingPulse
{
    Animate              PlayerStatusHealthBonusImage             alpha              0                            Linear            0              0.2
    Animate              PlayerStatusHealthValue                  fgcolor            bh_Health_Main               Linear            0              0.2
    Animate              PlayerStatusHealthValueShadow            fgcolor            bh_Health_Shadow             Linear            0              0.2
    Animate              bh_HealthBG                              bgcolor            bh_HealthBox_Low             Linear            0              0.2
    Animate              bh_HealthBGSpec                          bgcolor            bh_TargetID_Low              Linear            0              0.2
    RunEvent             HudHealthDyingPulseLoop                  0.4
}
event HudHealthDyingPulseLoop
{
    RunEvent             HudHealthDyingPulse                      0
}
event HudHealthDyingPulseStop
{
    StopEvent            HudHealthDyingPulse                      0
    StopEvent            HudHealthDyingPulseLoop                  0
    Animate              PlayerStatusHealthValue                  fgcolor            bh_Health_Main               Linear            0              0.2
    Animate              PlayerStatusHealthValueShadow            fgcolor            bh_Health_Shadow             Linear            0              0.2
    Animate              bh_HealthBG                              bgcolor            bh_HealthBox_Base            Linear            0              0.2
    Animate              bh_HealthBGSpec                          bgcolor            bh_TargetID_Base             Linear            0              0.2
}