I'm using this for a turn-based strategy game where each combatant will have a randomized "Speed" stat, like Double Battles in Pokemon. I need for the order of actions to start at the fastest combatant and end with the slowest one.
The issue I'm having is that I want to be able to have several of the same type of enemy sometimes, but with each one having different Speed stats.
I need to find a way to pick each combatant (most likely through UID) and put their individual Speed into the Array so the data can be sorted and have the actions go in the right order.
for some visual clarity: https://www.dropbox.com/s/x9f7ss91i4nbz2n/SpeedArray.jpg?dl=0