I have a simple unit logic that gets updated from a blueprint interface. The problem is that it updates too many times a second.
How do I have to run once a second? But still, be responsive.
Adding a delay node makes it unresponsive and sluggish.
Setting the tick interval does nothing since it’s not on tick (and I don’t want to change the tick of the blueprint that is sending the message, it might break something).
I also tried to use the Input Action to have it on start and then pass to triggered with delay but it created phantom clicks.
Set timer by event won’t help since it triggers the function in a delay. I want it to respond immediately and then delay.
The goal is simply not to have the function run so many times.
Depending on the value in the plus you will have a longer delay between when it runs. First run triggers immediately.
If I’m understanding correctly it is being triggered externally multiple times (as in the interface is being called) so you just want to limit the execution to once per second.