DamageVisualization and Behavior Designer

ChristianWiele

Active member
Hi,

when my agent is hit I want to run the DamageVisualization ability to change the animation. But I am not sure what the correct approach is. Should I start the ability outside BD, or should BD check for the damage and start the ability? The animation/ability runs a few seconds and should not be interrupted by any task in the behavior tree.

Thanks, Christian
 
By default the DamageVisualization ability starts when the OnHealthDamage event is called so you don't need to do anything differently than a player controlled character.
 
Top