In Unreal engine C++, the documentation for FTimerManager::SetTimer says - “Sets a timer to call the given native function at a set interval. If a timer is already set for this handle, it will replace the current timer.”
I have a method - apply_burn_damage_for_duration(). If this happens for a duration of 5 seconds, and before the timer ends, if I call the same method again, the timer is replaced.
How to perform apply_burn_damage_for_duration() in such a way, that timer handles are not reset for each function call and independently handle their function delegates?
How to achieve that kind of “stacking” effect? (I do not wish to use ActorComponents for each burn damage function call).