I created a timing system for my game, every 1000MS it subtracts 1 from the global time varible, total time length of 3 minutes.
At a specific time I want to create an object, I set it as:
Is global varible 'timer' equal to 140 - Create object.
Which works however it creates as many of those objects as it can for 1 second, and I'm unable to fix it. Does anyone know a fix?
Alternativly can someone explain how I can give each enemy a % chance to create an object upon death(There health varible = 0)
Any help would be great