Hi everyone, I was wondering if I could get some help/advice with an issue I’m having. I have set up two enemy types, a melee enemy, and a long ranged shooter enemy (both children of a parent base enemy), using behaviour trees. They each use separate AI controllers and separate behaviour trees.
They both work fine when only one enemy is in the level, however once I add more than one of the same type of enemy, they start acting odd. For example, if I have two melee enemies in the level, one of them will die in one hit, I have debugged it’s health and you can see it go down from 10 to 0 instantly. And if I have two shooter enemies in the level, only one of them will have projectiles shooting from their gun.
I’ve tried to figure out what the problem is, and I think it’s something to do with the behaviour trees themselves, but I’m honestly not sure. I’ll add a video of the issue and some screenshots of the blueprints, any help would be appreciated.
Please let me know if anything isn’t clear enough and thanks in advance