I’m making a hack and slash game as part of a summer project. So far everything been going well, although now I’ve ran into a pretty big issue. I was hoping that someone would be able to offer some advice or help, i’ve been lost with this problem with a few days. I may be doing something quite basic wrong, such as work flow or it could be my visual scripting abilities. I’ve used a few AI tutorials as a learning tool, and then continued them on to achieve my result.
The problem - I have two enemy AI characters - one ranged - one melee. Once I enter the seek radius of either one of them, the other one triggers to chase me. Even though the other one is very far away, outside of his seek distance. I’m pretty stumped to understand why this is occuring, they are in different blueprint classes. I created the first (melee), then copied the blueprint and replaced/made new skeletal mesh, animations, blend space, etc. Is this a bad workflow? Should I be making the second AI from scratch again? They are both very similiar so I copied the first to save time. I have tried replacing then names of all the variables I’m using for each AI blueprint, but it doesn’t seem to change the issue of them both triggerings when I enter one of their radius. Although I feel like this is a major part of it. The desired result is, if the player is not within a close radius, the AI will just stand still.
Here is a video of the issue and screenshots of the blueprints for both and animation blueprints (but I don’t think these are the problem).
Any help on this would really be appreciated, I was going to continue to make the next enemy AI, but if I’ve done something drastically wrong I thought it would be worth knowing earlier rather than after I have created 5 more.