---
description: EnemyGroupCompositionData (filled)
---

# EnemyGroupCompositionData

Defines entries in [EnemyGroup](../datablocks/main/enemygroup), each matching one [EnemyPopulation](../datablocks/main/enemypopulation) entry when selected.

## Fields

### Role - [eEnemyRole](../../enum-types#eenemyrole) (enum)

The role match of this entry.

Note that roles have special values, see more information in [EnemySpawningData](../enemyspawningdata#how-to-pick-enemy-spawns).

### Distribution - [eEnemyRoleDistribution](../../enum-types#eenemyroledistribution) (enum)

Multiplier for MaxScore, setting how much score this role will get. Affects how many enemies spawn.

E.g. Rel\_50 and MaxScore 10 will give this role 5 score. Assuming selected EnemyPopulation entry has a cost of 1.0, 5 enemies will spawn.

Force\_One will spawn exactly one enemy.
