Randomly Spawned Actor Game Logic
I have a game that I randomly spawn actors actors all across a scene. I have a rule when my main actor collides with any of these spawned actors. Is there a way I can randomly spawn an actor and then make sure another actor type is spawned in front/around this randomly spawned actor. Basically I want to play a sound when the main character gets close gets close to the randomly spawned actor. If the actor always spawned in the same place than I could manually add another actor around actor that could produce this sound when collided with. I spawn my actors randomly in 5 levels so the levels will never be the same. Any one have an idea of how I might go about this?
Comments
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮