I want to be able to spawn enemies on the fly, but I can only seem to make the enemies move if I program them individually in the level blueprint, how do I target the class so when I spawn a enemy class it will move towards me?
At the moment, I have it setup like enemy(from persistant level)-----> Get Controller —> Simple Move to Actor
You can put the same set of calls GetController → Simple Move To Actor in the BeginPlay of the Enemy blueprint.
The actor in simple move to actor can be whatever you want (if you want it to be the player character you can get it the from GetPlayerCharacter call)
Begin play would be called after you spawn the enemy bp.
Ultimately if the AI has senses it can detect the player and move towards it as soon as it senses the player.