I have multiple copies of an object.
I have a trigger that sets all their "shoot" variables to 1 at the same time.
Then I have an event that says:
If enemy "shoot" variable is 1
--
Create bullet
Set shoot to 0
It sets all their shoot variables to 0, but only creates a bullet on the first created enemy.
I'm guessing the solution here is to use a for each loop, which is fine. I originally had it trigger on a timer, so I just have to add an extra step. No big deal.
I am a little curious as to why this is, or if there's a way to do this without using a loop.
I tested this with other actions (moving,rotating,destroying etc) and it seems to only happen with creating objects.
Anybody know why this happens?