shooting help
hi i am trying to make a double barrel shotgun i put a reload button to spawn so when you press it it switches the image to a double barrel shotgun reloading but when it is reloading it still shoots the bullets i need to time it so after the image switches back from the reloading it will shoot again
Answers
When Touch is Pressed --> change attribute game.reloading to true --> timer (run to completion checked) after 0.5 seconds --> change attribute game.reloading to false
On the shotgun actor:
When touch is pressed [or however it is that you shoot the shotgun] AND game.reloading is false --> spawn bullets