How to Spawn Actors In Designated Slots Without Repeating?
iPhoneDevForMe
Member Posts: 362
I posted this question before and after doing a extensive search on the forums, I CANNOT find it!
So I have 5 pre-determined slots to spawn an actor. I would like to spawn the actor to each spot randomly every 2 seconds. I need to keep track of what slot is already being occupied, and make sure that the actors only spawn to an empty slot.
I found a great demo here: http://gamesalad.com/forums/topic.php?id=7037#post-46379
The problem is this DOES NOT work with a timer (as stated in the notes) which is needed for what im looking to do.
Any suggestions would be greatly appreciated! Thanks!
So I have 5 pre-determined slots to spawn an actor. I would like to spawn the actor to each spot randomly every 2 seconds. I need to keep track of what slot is already being occupied, and make sure that the actors only spawn to an empty slot.
I found a great demo here: http://gamesalad.com/forums/topic.php?id=7037#post-46379
The problem is this DOES NOT work with a timer (as stated in the notes) which is needed for what im looking to do.
Any suggestions would be greatly appreciated! Thanks!