So I am trying to set ammo for my game, and before you rant on about how there are heaps of other threads about this hear me out, because I have tried heaps of them. In my game, on my "menu screen" I have an object in which I set the variable for ammo. I simply use
global.ammo=10
however, when I want my object to shoot, I test the variable ammo and it comes up with an error screen saying variable ammo unknown. What am I doing wrong?
(I am fairly new top gamemaker)
mcaidans
Member Since 03 May 2012Offline Last Active May 16 2012 11:25 PM



Find content
Not Telling
