NPC won't move to multiple target actors

I’m VERY new to blueprint so forgive me if there is an easy solution to this problem. I am attempting to call on a variety of actors using “get actor with tag” for my NPC to move to in succession. I have about 15 static meshes tagged but have N (max items) set to 4 as I am hoping to eventually add in more NPC’s and have them each have their own unique list of target items. Right now the NPC walks to the first item and then just stops. Since knowing if the target has been reached is done via collision, I have put the script into the character’s event graph instead of the controller (so my controller is empty). If anyone knows how to fix this or can spot the error in my script I would really appreciate it!!

A few things going on here. Simple Move To Location will start the character moving there, which will take time. This blueprint is going to run through all of the loops instantly in a single frame, before the character has moved at all. Also the “Do N” node you have is inside the first loop, so your code is calling Simple Move to Location with each location 4 times.

Here’s how I would do this:

  1. Get the list of target actors and store them in an array property (Looks like you’re doing this already)
  2. Call Simple Move To Location for the first location (you could remove the location from the list now, or keep an index)
  3. Set a looping Timer for a new event called “Check Move Status”
  4. In “Check Move Status” check the value of the AIController’s “GetMoveStatus”, if it is idle, it has reached the target
  5. If it has reached the target, call “Simple Move to Location” for the next target.
  6. If there are no more targets, clear the timer.

Not at my PC right now but can mock this up for you later if you need.

If you could mock it up that’d be greatly appreciated thanks!!