I need help with 4 characters following a line order script

Hello guys,

Here is what i’m trying to do:
I have 4 characters.

I need them to always return to the initial position between them after 1 second. I mean, I have 4 characters, the first in the line, the second in the line, third in line and fourth in line, and then after 1 second (here happens a fight and they go out that line ← this is already done), they go back in that line order.

This will do it. Add this script on the object you want to reset the position and it will return to the initial position every second.

using System.Collections;
using UnityEngine;

public class testscript : MonoBehaviour {

	Transform myTransform;
	Vector3 initialPosition;

 	IEnumerator Start () {
		myTransform = transform;
		initialPosition = myTransform.position;
		for (;;) {
 			yield return new WaitForSeconds (1);
			myTransform.position = initialPosition;
		}
	}
  }

The script works fine, but they are getting back to the initial position from the map.

In this game they keep walking and I just wanted them to get back to the line order 1º, 2º, 3º and 4º place in that line.

I guess I have to store that line position for every character. But don’t know how to do it.