I'm creating a boss level for my platformer and have him firing bullets atm,
but i can't figure out how to make it so i can only fire when i have ammo, i've made a
global ammo variable and have set it to if i have = 0 ammo then my "weapon" group is deactivated, and if i have
greater than 0 ammo it's activated, but atm it just fires away when i dont even have any ammo, Also when firing i can only fire one way, when i turn around it still fires the same way. Any help is greatly appreciated, Thank you.