How to get UE4 to ignore a infinite loop?

shadowcalen1
Thu, 15 Apr 2021 22:55:49 +0000
Platform & Builds

I have the following blueprint

The goal of this blueprint is to damage the player when they enter the collision box, and to keep damaging them until they leave. However, this causes the game to crash because UE4 incorrectly detects that this is a infinite loop (if you leave the box the loop will stop).

Is there a way to have UE4 ignore this supposed error, or is there a better alternative for implementing a system like this?

3 posts - 1 participant