I have a issue and for a few days now i can't seem to fix it.
I've looked up some stuff on creating multiple instances of 1 single object but yet i can not fix it.
The issue is the following:
I have multiple enemies which are getting spawned over time. Each enemy will walk around and once into a specific area ( a sprite ) it will start to attack.
The attack is simply a: Create object on enemy. This attack is a animation ( a slash ). Now this works but for some reason i can't get multiple targets to attack in the specific range. To destroy the "Slash" i use > On animation finished > Destroy. I think this actually destroys all the animations..
This is what I've done:
The result is that if multiple enemies are in range ( overlapping the "attackRange" sprite ) only 1 will attack. So it seems. All sword will become invisible and visible though. Only 1 slash animation shows at a time.
What i need is that every enemy will simply attack and has it's own Slash animation.
I can't upload my .capx since it's a part of a whole game.
Thanks in advance.!