Add multiple locations for a platform?

you basically just need to devise a method to change the location the location is being moved to. in the below example i used a array to store the locations. then i use the current location and the next one in the array as the start and end locations for the lerp. the current location is determined by a index variable. once the platform arrives at the destination then we increment the index and run the timeline again. this example is for a looping behavior so the platform will move in a fashion of 1 2 3 1 2 3 1 2 3, over and over.