How to make the AI follow a sequence of targets? (2D)

In the example scene “Example14_2D” the AI moves based on the position of the target. Is it possible to make the AI follow a sequence of targets stored in a list (using 2D)?