AI Morale
Jump to navigation
Jump to search
In addition to behaviour and combat modes, there are other factors they may affect the overall activity of AI.
Fleeing
- Can be disabled by allowFleeing
Courage of an AI group is based on the group's leader Courage skill. Each group has an initial strength (sum of undamaged armor and health of all units). If the group losses are higher than the initial strength multiplied by leader's Courage then the group will start fleeing. Primarily it goes to a supply point, secondarily it will try to find a safe position within a 600m radius from the initial waypoint (danger, distance, amount of cover positions are taken into account). After the fleeing has been finished the group's initial strength is reset.