I recently (kind of) finished an enemy for a game i'm working on. All worked well and good until i added another one to the layout for testing. Now all enemies seem to react to events that are only supposed to affect one of them.
At first i thought the problem was in the comparing of X position relative to the main character sprite, but i think i fixed that and the problem remains.
What is supposed to happen is that when MC comes close to a spider, the spider will move towards the MC and bungee down when the MC is directly below it. If the MC is far away, the spider should return to its original X position. This works when there's only one spider.
I would be very grateful if someone could tell me what i'm doing wrong and how to fix it.[/quote:3tbxcvss]
That's quite common. I don't remeber but i think you have to put them all in to one family and then in the events call that family insted of one object. Or you can try addin 'for each' ... not sure.