I'm trying to make it so that when an Enemy's "AttackCapsule" component overlaps with the player it will deal damage every second they are overlapping. The same goes for multiple enemies all damaging the player when in contact while all having their own independent cooldowns before they can attack again.
In a sense I'm trying to replicate a PainCausingVolume with damage per second and a pain interval. What I've done so far was create an OnComponentBeginOverlap which branched to set a timer and damage the player. The issue with this is that when a 2nd enemy overlaps with the player, it resets the timer.