Spawned actors spawning actors that follow
Thanks in advance for any ideas on this problem: I have a side-scroller game where spaceship actors are being spawned, up to 5 at a time, randomly along the Y axis offscreen on the right, moving towards the left. When the spaceships either gets hit with the player's bullet actor or goes offscreen to the left, it is destroyed.
I would like to have each spawned spaceship actor to spawn its own engine thrust actor (which has a couple of animated frames) and when the spaceship actor is destroyed, its engine thrust actor is destroyed with it. Is there a way to accomplish this feat? Thanks again.
I would like to have each spawned spaceship actor to spawn its own engine thrust actor (which has a couple of animated frames) and when the spaceship actor is destroyed, its engine thrust actor is destroyed with it. Is there a way to accomplish this feat? Thanks again.
Comments