What I have is a turn order. I’ve written script that cycles through an array and depending on the values in the array turns are assigned to the player and to the enemy.
What I’m trying to make is a visual representation.
So, on turn one, if it’s an enemy turn, I want it to be coloured red, and on turn two, if it’s a friendly turn I want it to be coloured blue. Sometimes the enemy or the player might get two or three turns, or even more in a row, and they would all have to be coloured blue, or red accordingly.
I have little to no idea on how to go about doing this, any help would be much appreciated, thank you!