Advertisement
Guest User

ads

a guest
Sep 30th, 2014
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. //Health Bonus Pulse
  2. event HudHealthBonusPulse
  3. {
  4. Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
  5. Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4
  6. Animate BuffBox Alpha "255" Linear 0.0 0.0
  7. Animate BuffBox2 Alpha "255" Linear 0.0 0.075
  8. Animate BuffBox2 Alpha "0" Linear 0.125 0.075
  9.  
  10. RunEvent HudHealthBonusPulseLoop 0.4
  11. }
  12.  
  13. // call to loop HudHealthBonusPulse
  14. event HudHealthBonusPulseLoop
  15. {
  16. RunEvent HudHealthBonusPulse 0.0
  17. }
  18.  
  19. event HudHealthBonusPulseStop
  20. {
  21. StopEvent HudHealthBonusPulse 0.0
  22. StopEvent HudHealthBonusPulseLoop 0.0
  23. Animate BuffBox Alpha "0" Linear 0.0 0.0
  24. Animate BuffBox2 Alpha "0" Linear 0.0 0.0
  25. }
  26.  
  27. //===========================================
  28.  
  29. //Health Dying Pulse
  30. event HudHealthDyingPulse
  31. {
  32. Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.075
  33. Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.125 0.075
  34. Animate HurtBox Alpha "255" Linear 0.0 0.0
  35. Animate HurtBox2 Alpha "255" Linear 0.0 0.075
  36. Animate HurtBox2 Alpha "0" Linear 0.125 0.075
  37.  
  38. RunEvent HudHealthDyingPulseLoop 0.25
  39. }
  40.  
  41. // call to loop HudHealthDyingPulse
  42. event HudHealthDyingPulseLoop
  43. {
  44. RunEvent HudHealthDyingPulse 0.0
  45. }
  46.  
  47. event HudHealthDyingPulseStop
  48. {
  49. StopEvent HudHealthDyingPulse 0.0
  50. StopEvent HudHealthDyingPulseLoop 0.0
  51. Animate HurtBox Alpha "0" Linear 0.0 0.0
  52. Animate HurtBox2 Alpha "0" Linear 0.0 0.0
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement