Hi Im trying to do a basic reloading system but after reloading there is a short time wher you can shoot any number of bullets you want without counting as used.
Cant see how to fix it
Looks like you need to duplicate the first event with is Reload as a condition and don't subtract 1 from ammo. Assuming the 1 second timer is what you're referring to.
Thanks it was very usefull!!!
So Ive tryed doing it, but there is another error that makes that if clicking space multiple times the cooldown doesnt work properly and reloads inmediatly
Going to suggest in general to avoid using the wait action, and use the timer behavior for anything that needs to happen over time instead. You'll have more control and less issues.
Develop games in your browser. Powerful, performant & highly capable.
It will reload immediately because the set ammo action to 3 is before the waiting time. Also please elaborate what you mean by cooldown is not working properly, I see there are no actions on the second event.