Trouble with ammo regeneration
beckb
Member Posts: 16
Making number of missile ammo regenerate, but capping max to 5. Thanks this is giving me some trouble
Comments
then set up a rule that does:
if maxAmmo < 5
ammo = ammo +1
This will add 1 to the ammo count as long is maxAmmo is less than 5, once it equals 5 it won't add anymore.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page