...
By inspecting the player data stored in this array, you can determine some useful information about your opponents/allies.
The data is based on either the settings in a campaign file, or the game settings from a skirmish or multiplayer game:
The index of each element in the array relates to the player ID. So the data for player 0 will be in playerData[0] and so on.
...