Hello!
I'm pretty much a rookie at this. Using playmaker and 2dtk.
In my game I need a waves of customers to appear over time. I have a customer prefab that works well. If I just put 1 in the scene, he will roll a % and decide to buy or not. Which is all i need at the moment. I have a simple fsm set up to have them wander away if they dont buy.
So now I want to set up a spawning system that will look for the appropriate bg to spawn on and spawn a customer. I have a manager set up that basically just waits X time then sends a finished event to the next state and creates a customer prefab game object. Then a send event back to the waiting event. Everything works well the first time, but as soon as the customer starts spawning, it spawns hordes of them.
The event still travels back to my wait X mechanic. But customers keep spawning.
Am I going about this in the right way?
Should the spawning mechanic be something that exists and then destroys its self over and over?
Any insight would be appreciated!