destroy actors in order HELP!
![leo0007](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
hi guys, i need help to destroy actors in order (1 through 10) , if actors are not destroyed in order then there is a penalty , the actor that is pressed just re spawns as well as the previous actor... you must destroy all actors in order to win the game... help!!!
lets say actors 1 2 and 3 are destroyed IN ORDER, then you click on actor 6 (which is out of order), i would like actor 6 to re spawn as well as the previous actor which was destroyed in order, which would be actor 3
lets say actor 8 is destroyed before actor 3 then i would like actor 8 to re spawn and the previous actor which would be actor 2... and so on
there is a penalty for destroying an actor not in order and that penalty is re spawning a previous actor that was destroyed
this is a best time kind of game.
HELPPPPP
lets say actors 1 2 and 3 are destroyed IN ORDER, then you click on actor 6 (which is out of order), i would like actor 6 to re spawn as well as the previous actor which was destroyed in order, which would be actor 3
lets say actor 8 is destroyed before actor 3 then i would like actor 8 to re spawn and the previous actor which would be actor 2... and so on
there is a penalty for destroying an actor not in order and that penalty is re spawning a previous actor that was destroyed
this is a best time kind of game.
HELPPPPP
Comments
if actor->touch pressed & destroyID = self.ID
----->destroy actor
-------->otherwise
--------->if actor->touch pressed & destroyID ≠ self.ID
(heres were you enumerate the self.ID to specifically spawn which number actor you want to spawn.
hope you get it.