i cannot figure out for the life of me how to make it so i can fire a bullet every x seconds and when reach 0 of ammo wait x seconds to reload then add my full clip size im new so any visual example would help greatly PLEASE HELP!
Global Variable AMMO
Subtract 1 from AMMO each time you shoot.
If AMMO = 0, wait X seconds, set AMMO to full again.
Does that make sense?
yes that was my fisrt attempt but for some reason i could shoot continuously without a 3 second wait and how do i shoot every x seconds?
Post capx and someone (possibly me) will attempt/succeed in fixing it <img src="smileys/smiley1.gif" border="0" align="middle" />
Develop games in your browser. Powerful, performant & highly capable.
i found the issue the global variable wouldnt work but the instant variable does!! thanks for the help