Hi everyone,
I’m currently looking for a cleaner way of handling my automatic weapons, including slow rate of fire. What I currently have is fully functional but relies on Tick Event which from what I understand isn’t great, since introducing Delay will block anything else I’d need to do there later on.
Here is my FireWeapon function (you can ignore the BIsShooting input, that’s just me testing stuff) :
And my Tick event :
Now, here is my issue. I have looked at dozen of tutorials and NONE of them work nearly as well as my silly Tick :
- Either they don’t factor in tap-firing, which in my case REALLY is an issue since the gun is a cannon that has a 2 second reload speed.
- Or, you can somehow get stuck with a “CanShoot” boolean to false when clearing a SetTimerByEvent (which would happen less often as RoF got higher, hence why those tutorials were ““working”” for rifles).
- Or, there is a delay at the beginning equal to the rate of fire, which is never ok in an FPS, but even less with a 2 second delay…
So here I am, after trying many things, wondering how the hell I’m supposed to do a clean, proper automatic cannon with a slow rate of fire, that cannot spam tap fire, and basically behave like you’d expect, based on click events and not Tick.
Thanks a lot for your help ![]()


