You could reuse the timeline as many times as there are tiles. An implementation could look like this, for example:
- keep the tiles ToMoveOn in an array (here, Begin Play just adds random tiles for demo purposes - you probably already know which tiles the player will move through - use that instead)
- when the TimeLine plays, move the actor (aMover) between tiles 0 & 1 using TL track + Lerp combo
- when the TL finishes, remove tile 0 (since we moved away from it) and check if at least 2 tiles still remain
- if there are, restart the TL
- if there are not, it means we’ve reached the very last one and the TL can be stopped
This can be improved, of course, but that’s the gist. In motion:
Hope it helps.