This question is in terms of HUD animation and more specifically, HUD crosshair animation.
I am wondering if a player being damaged is the only event that can trigger an animation within your HUD. It's the only event that I've seen after some light research and I kinda want to be able to use specific buttons to trigger animations.
Its a pretty straight forward question, however if this isn't the only event, I would appreciate it if someone could list any of the others.
This question is in terms of HUD animation and more specifically, HUD crosshair animation.
I am wondering if a player being damaged is the only event that can trigger an animation within your HUD. It's the only event that I've seen after some light research and I kinda want to be able to use specific buttons to trigger animations.
Its a pretty straight forward question, however if this isn't the only event, I would appreciate it if someone could list any of the others.
Event/command | hudanimations event
--------------- | --------------------------
Dealing damage | DamagedPlayer // Already used for every hud crosshair damage indicator
+quickswitch | OpenWeaponSelectionMenu & CloseWeaponSelectionMenu
Health change | HudHealthBonusPulse(Stop/Loop) * HudHealthDyingPulse(Stop/Loop)
Low ammo | HudLowAmmoPulse(Stop/Loop)
Disguise Change | HudSpyDisguiseChanged/Hide
Full med charge | HudMedicCharged(Stop/Loop)
All of these triggers should in theory be able to access/modify your hud crosshair elements, eg. change color, alpha, x-/ypos
[code]Event/command | hudanimations event
--------------- | --------------------------
Dealing damage | DamagedPlayer // Already used for every hud crosshair damage indicator
+quickswitch | OpenWeaponSelectionMenu & CloseWeaponSelectionMenu
Health change | HudHealthBonusPulse(Stop/Loop) * HudHealthDyingPulse(Stop/Loop)
Low ammo | HudLowAmmoPulse(Stop/Loop)
Disguise Change | HudSpyDisguiseChanged/Hide
Full med charge | HudMedicCharged(Stop/Loop)[/code]
All of these triggers should in theory be able to access/modify your hud crosshair elements, eg. change color, alpha, x-/ypos
WiethoofdEvent/command | hudanimations event
--------------- | --------------------------
Dealing damage | DamagedPlayer // Already used for every hud crosshair damage indicator
+quickswitch | OpenWeaponSelectionMenu & CloseWeaponSelectionMenu
Health change | HudHealthBonusPulse(Stop/Loop) * HudHealthDyingPulse(Stop/Loop)
Low ammo | HudLowAmmoPulse(Stop/Loop)
Disguise Change | HudSpyDisguiseChanged/Hide
Full med charge | HudMedicCharged(Stop/Loop)
All of these triggers should in theory be able to access/modify your hud crosshair elements, eg. change color, alpha, x-/ypos
cool, thanks for the help
[quote=Wiethoofd][code]Event/command | hudanimations event
--------------- | --------------------------
Dealing damage | DamagedPlayer // Already used for every hud crosshair damage indicator
+quickswitch | OpenWeaponSelectionMenu & CloseWeaponSelectionMenu
Health change | HudHealthBonusPulse(Stop/Loop) * HudHealthDyingPulse(Stop/Loop)
Low ammo | HudLowAmmoPulse(Stop/Loop)
Disguise Change | HudSpyDisguiseChanged/Hide
Full med charge | HudMedicCharged(Stop/Loop)[/code]
All of these triggers should in theory be able to access/modify your hud crosshair elements, eg. change color, alpha, x-/ypos[/quote]
cool, thanks for the help