So every 10 seconds I want to increase the enemy bullet speed by whatever number I choose. So I've done the basics. I've created a global variable called 'Timer', and inside the enemy I've created an instance variable called 'SpeedInc' with initial value of 0. The bullet speed for the enemy is setup at 100, at start of layout. Once the timer hits 10 sec, I changed the initial value to 1 for SpeedInc, which changes the bullet speed from 100 to 200. When the timer hits 10 sec, the enemies that spawn first DO increase their bullet speed, but the problem is is that, the new enemies that spawn later, their speed is at 100 and not 200. This is what I did:
System > Every 1.0 sec > Create object > enemy 1 > Set bullet speed 100 and Set bullet angle of motion 180.
Then I created a sub event:
System > Timer = 12 > enemy 1 > Set SpeedInc to 1 > Set bullet speed 200
I forgot to mention that I put the enemy 1 in a group. So in the event sheet it pretty much looks like this:
System > Timer = 10 > System > Set group enemy 1 activated
System > Every 1.0 sec > Create object > enemy 1 > Set bullet speed 100 and Set bullet angle of motion 180.
Then I created a sub event:
System > Timer = 20 > enemy 1 > Set SpeedInc to 1 > Set bullet speed 200
System > Timer = 30 > enemy 1 > Set SpeedInc to 1 > Set bullet speed 400