Regenerate Health After AI Actor Destroyed

![Hello, Im pretty new to unreal and am trying to make a little Shark game project. I made a fish AI that swims/flys around and when The Player attacks it, it gets destroyed if it detects hit and attack at the same time, that works fine but I want the Player to regenerate health after the AI Actor gets destroyed and somehow it wont work. I cant find any tutorials or tips regarding that, this is my last hope.

Hello! There are several things that can be useful. You can take

  • Tick event, Delay node and Branch node with codition of Player Health is not full
  • Custom event, While loop node and Delay node

The approach is like this: define when you want to start regenerating (after shark ends overlap or just after the moment of hurt), use some repeating node (Custom event with While or Tick) and some control of frequency (Delay).