Random Spawn Question
![Harvick29](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I have figured out how to set up the random spawn, however I would like to find out how to run through each spawned actor only once each. Example: If I have it set up as "game.spawnactor random (1,4)", how would I set it up so that if it uses spawn 3 as the first spawning,....it then can never spawn #3 again?
Comments
then in the actor
if game.invisible is > 0
self.color/alpha = 0
this will have a lot of extra actors though, so if they spawn often, this is not a good fix.. but may get you started???
maybe add another rule..
timer 0.5
if self.color.alpha=0
destroy?
I've never done this.. may not work.. maybe some one with more skill can expand/fix my guess
Quick question: I already have within each actor a boolean attribute that automatically changes the actor to "false",...then when it's touched, it animates and then turns it to "true"
Would I piggyback off this attribute, or create a new attribute for what I'm trying to accomplish?
Thanks!