I made a variable for every attack type which decays every time you shoot with that specific weapon type.
My code line for shooting is "On key pressed.... player spawns X on image point 1"
1) How do I make it impossible to shoot again when the variable equals zero? I want this object to not be able to spawn again if you have no ammunition.
2) Also, how do I make my shots move at the opposite direction when my character is mirrored? (Without affecting the bullets already in air)
Thank you.