Spawning Actor on Condition
mattybou
Member, PRO Posts: 5
Hi All,
I am putting together a game where actors are shot as they are falling. Currently I have six actors (1, 2, 3, Green, Blue, Purple) that can be shot while they descend to the ground. Actors Green, Blue, and Purple are set to spawn three different actors (4, 5, 6) when they are shot. I did this by having integer attributes set to change when Green is intersected by the Shot actor. The change in attribute is suppose to trigger actors to spawn for 10 seconds. When the colored actors are shot they are not spawning the 4-5-6 actors. I have timers set on each of the attributes, but I feel as though that might be the problem.
Help?
-Matty
Comments
You've probably set your code up incorrectly, not being able to see it I can't offer any useful suggestions, but try playing with the way you have set it up to see if you can locate the problem.
Laser:
Attribute change:
Spawner: