A single path Segment is used to create simple path. But if a complicated and precise path is to be created then use master path.
Master path is a combination of small path segments which can be created using Master Path Creator script.
Create an Agent,.After creating a path, and attach the path object to it to be followed.