I've ran into a problem. I'm using 'canfire' for my combat system. When the player runs out of ammo, he can press "R"; It will take away one of his clips/magazines and play a reloading sound. I wan't shooting to be disabled while reloading. So I gave the R event set canfire to false. But I haven't figured out how to set it back after.
<img src="http://img853.imageshack.us/img853/1927/knipselsc.png" border="0" />
Thanks in advance,
You'll need some sort of delay before activating canfire again, right now you are setting it to true and instantly to false right after it. You could add 'Wait x seconds' event as last event and move the 'set canfire to true' event after that.
Develop games in your browser. Powerful, performant & highly capable.
Thank you. It's working.