I have a problem, when my player enters the fire (already on fire)

Hello everyone, I am still starting on Unreal, and currently I have a problem, when my player goes into fire and the flames are already attached to him, the flames remain attached to him indefinitely … how to tell him not to catch fire if it already is ??

It seems logical to check if the player is already on fire or not before setting it on fire, I tried with a variable but without success.

The problem is that I do not really know where the branch is located with my OnFire Variable as a condition.

Because if I put a “Set” of my OnFire Variable between The Spawn Emitter and the damage, and I put a branch before The spawn emitter, it only works once

this is how I tried, and when I enter the fires it only works once, if I go back to the fires, nothing happens anymore

Aaaah! I succeeded lol, I had forgotten a Set when I left the fire: 'D

Bool variable should do it, can you show your code for that?

Im surprised your not getting errors here - that spawn emitter node and the set timer nodes data outputs are being plugged into nodes that are out of scope. - That is, the spawn emitter attach node only runs when overlap begins, but the “detatch from component” node only runs when end overlap runs. So if end overlap runs, detatch from component is going to have a null value going into it.