Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each (numerically referenced) element in the array contains an object with the following properties:

PropertyTypeDescriptionGame version
difficultyConstantThe player's difficulty level (only applicable for AI players).3.1
colourStringThe player's colour name, as a stringcolour associated with the player on the map. You can use _() to translate the colour names in to the human player's locale.3.1
positionIntegerThe map position (integer) to which the player is assigned. You can find it's x,y co-ordinates by cross-referencing against the startPositions array.3.1
teamStringThe team to which the player is assigned, if fixed alliances are set (see Alliance types).3.1
isHumanBooleanIs the player a human being?3.2
isAIBooleanIs the player an AI script?3.2

Examples

To follow

See also

...