Ok i get that I need global variable of say 3 and each spawn decrease that amount by 1 until 0. I understand that perfectly.
Its this next part that I am having trouble I want each of the monster to spawn on its own Square tile that I place Such as Mplacementtile times 3 which should result in each monster place on the tile once three times. Problem is that when dealing with layers such as level one or level two with layer effect. I do not see or know how to tell the stupid Object to delete the invisible when the layer is invisible. As i understand Even If the object is on the layer has been turn invisible Is actually still visible According to the engine. So i cant get rid of the excess Mplacement tile.
In other word I Am trying to see a way to cutdown on both CPU from excess "visible" layer invisible object. So I am trying to get the spawn code to work so that I can just spawn the monster instead of placing Thousand of them with hundred of layer And not looping a destroy for every stupid layer. If there a way to do this with just spawn only three monster Id like to know
If you need me to do picture to explain it better
Update: I found that one of my code that was hidden away was destroying the sprite after it was created move along I feel really dumb