So, I'm putting together a flinching system in battle. I want to reset the timer every time the target gets hit.
I've been using ui.timer, but it hasn't been resetting every interaction. Is there any way to reset the function every time?
I'm pretty new to coding, so my understanding of what's going on under the hood when I approach these tools is pretty surface level.
I've been using ui.timer, but it hasn't been resetting every interaction. Is there any way to reset the function every time?
I'm pretty new to coding, so my understanding of what's going on under the hood when I approach these tools is pretty surface level.