Charge Weapon

Try this. I THINK it will work!

Note: I still use a timeline for the charge counter as it’s easier to understand (timelines define float values by curve, so you don’t have to worry about adjusting for delta seconds) and it makes it simpler to adjust charge time (just adjust the timeline length!) instead of the way you currently do it.

This system should (in theory, I can’t test it since I don’t have any corresponding chargeable projectile):
(a) charge up, and then auto-fire at max charge
(b) prevent charging OR firing until the cooldown has ended (and the system I’m using of closing that gate after firing will ALSO prevent release firing after an auto-fire)
(c) let you press a different button to cancel the charge immediately.
(d) keep track of whether the player is pressing the charge command AT ALL TIMES… info which it uses in this instance to check if he’s still pressing charge when the cooldown is over, at which point it will immediately resume charging a new shot, so he can start charging right after firing without worrying about delaying his input until after the cooldown is finished.