You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I would like to find out if there is an algorithm or function to make an NPC try and stick to a certain selection of nodes when pathfinding.
What is the issue? Include screenshots / videos if possible!
The issue is I can’t find any documentation about path following.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have looked on the developer forum and searched through Roblox documentation.
Sorry if this might seem rude but I just want to know if it’s possible.
There’s a method in the humanoid called MoveTo, if you just keep calling it to update every time it hits a node then you are good. Read more about it here.
Detect if close to a wanted node
a. If not, path find to closest wanted node
b. If so, then keep following the path the nodes make. (With a little more complexity than is meant here)
Should work, even if the character is not close to the nodes and there are buildings/objects infront of it.