i have this capx
https://dl.dropbox.com/u/67034121/scirra%20construct2/enemybullet.capx
in this capx there is 3 enemy should spawn bullet but i want to control these bullets and enemies what i want to do is :
1)variable timer use to know the time for each enemy to spawn the bullet so if i set 5 the enemy will spawn 1 bullet every 5seconds and enemy with 2 will spawn every 2 sec , i tried many ways but failed
2) variable on (boolean) i used for stop spawning more than one bullet each enemy .
3)variable destroy this used to set the time in second that the bullet will take to destroy , i also failed in this :(
so want to control how many second the enemy should take to spawn and the enemy keep spawning every that seconds, and i want to control the bullet time to destroy it ,
( of course there is no different that spawning count after bullet destroy or when bullet spawn)