> That solution is not an acceptable solution,.
Urled: how so ?
Please explain yourself.
As far as I'm aware, this is a perfectly well-fit solution to use in C2.
it's cause every second works with the system timer, so really, this is going to look kind of stupid and cheap if you shoot, because sometimes itll take one second to fire a first shot, or some times itll take an instant.
what needs to be done is
Always:
subtract from gun('timer') : TimeDelta
On Space pressed:
& gun variable 'timer' less or equal 0
spawn object bullet.
set gun('timer') to 1
this will make it so your gun can only shoot every second, but it will also make it so that if a second has passed since your last shot, the first shot will come out instantly as expected
something like this is usually ideal for a On hit Reloading type timer