Hello, I'm aware that this is a common beginner issue, but after reading a few threads and trying some of the suggestions therein I've still not been able to solve my problem, so I'll describe it in as much detail as I can.
I'm creating a brawler, and working on a basic enemy. This enemy has several components - a shadow which handles the general movement and positioning, two actives (so far) of the enemy themselves attached to it, one to handle the movement animations and another the attacks, and an active which moves around in front of these which is it's attack sensor.
The idea is that when this sensor overlaps the player, a brief countdown begins before the enemy attacks, it works well individually, but as you may guess, when multiples of this enemy are present, I've thus far been unable to effectively scope so as to isolate this process onto just the one which satisfies the conditions for the attack.
I've tried things like spreading ID's, referencing the fixed value of the attack sensor and attaching it to the shadow and the actives etc, but thus far nothing seems to work? I'm aware that I might not understand these methods well enough to implement them correctly, but help would be much appreciated?