Diffculty when spawning in enemies vs placing in scene

Hello,

Every time I try to spawn an enemy in the scene, they only follow my player character and don’t attack. Whereas when I manually place the same enemy into the scene they attack as intended.

Thanks for your time!

Hi Bovineguru. Can add more details? A screenshot of the attack events would help.

What type of movement? What type of attack?


Here’s an example, I can only add one screenshot but hopefully the issue is located here lol

And I have two attacks, a melee attack and a range attack, the main difference really is just the raycast distance between both of them

You should use For each object everytime you insert a expression that uses an object, because doing without it will not work as intended. [1]

  1. (When the event is running to multiple instances of the object in the same exact frame.)