Can't get more than 2 NPC's attacking the player at once in a LEGO island.

Hello,

My goal is to spawn multiple enemies (5+) at once and have them all following and attacking the closest player.

Problem is no matter what I do only 2 NPC’s follow and attack the player at any given time.

I followed a tutorial on creating a verse behavior script that made all the NPC’s follow the player and attack them, but the attack animation wasn’t playing no matter what I changed.

I’ve looked everywhere for a solution and have had no luck. The AI assistance tool wasn’t any help either.

Any help would be much appreciated, thanks.

what tutorial were you following, and what do you have so far dealing with the state-machine.
does the player have slots for how many enemies are attacking them, or does some manager pick who can attack?

as a thought question: if your game doesn’t have some kind of I-Frames (period of time after taking damage that the entity cannot take damage again) then just 2 or 3 enemies could easily 100->0 a player without them rationalizing what is happening, which can Easily create frustration. 1 enemy would be limited on their attack delays, but 2 can easily break that.
If this is intended then carry on, but realize that a frustrated player is more likely to stop playing.

I used the “Map Academy Custom Monsters tutorial” for the behavior script, I don’t specifically need it for my game but it gave me the closest solution.

I don’t need anything complex, I just want to use the LEGO NPC characters and have more then 2 attacking the player(s).

When 2 are attacking the player all the other NPC’s are standing still not moving or attacking and I can’t find any information related to this. I’ve adjusted the NPC definitions every which way with no change.