I have been trying to get a Semi-Automatic M4A1 rifle to work. This method of fire rate works well when firing full-auto, but in Semi-Automatic the player can spam the fire button really quick to bypass the fire rate control entirely. The “FireRate” variable for the Weapon_Base_M4A1 is set to 1.0
Nice, that fixed that, now it will no longer randomly fire off 2 bullets simultaneously. This will be useful for shotguns, thx
Also sry about the screenshot, I will seperate it into multiple pics next time i ask here
Secondly all what you need is create a new Boolean such as fireReady(must be true at default) and place it in a branch at the beginning of the semi code, after the code runs set the fireReady to false then add a delay of 0.1 or something like that and then set fireReady to true. That’s it good luck