Download

Attacking/reloading timers

Hi guys I have different classes in my game eg melee and range . At the moment I have them all simply set up to fire or attack on left mouse button press.

Now I want to introduce timers so that I can’t just spam the left mouse button and fire or attack constantly.

I know there is the set timer node but not sure how to use it as I’ve only ever used it a few times and that was calling a function where as I need the timer to be activate on a button press instead. and is this the best way to do it or is there something easier??

Thanks

Maybe use “DoOnce”?