How to make character follow path from array of locations?

I am trying to implement grid based movement. I have multiple grids, at begin play the locations for each tile are added to an array.

I would like to generate the shortest path between two points but only have the character move between points of the location array.

I see that A* path-finding does what I need but I am unsure on if this will work with my setup.

Any advice on how to do this would be greatly appreciated! Thanks in advance!

AI move to would definitely do it. You can choose one of your grid points, and then just hand it to the move to node. As long as you have the navigation volume and character setup correctly.

Okay fantastic, thank you so much! So once I have the list of desired locations I will use AI move to move between them.

To get that list of desired locations from my master list of locations would I use A* Pathfinding?

Nearly.

I thought you specifically wanted to use a list of locations.

If you only want to use AI, you can just set the region and use MoveTo, that’s it.

But if you want to use specific locations, you can plug them into the MoveTo node.

EDIT: Tell me if it’s not clear, I’ll do a specific example.