Hey,
I wonder if it would be possible to script the following battle features in the background/historical battle script knowing that there's already a script that labels the player's and AI's units in the background script.
-Each time or at least the first several times when a unit is under missile fire, to kill the minimal possible amount of men by script and twice the minimal amount for the player which is always Macedon.
-When a unit's strength is reduced by 50% (33% for the AI if possible) or more it starts routing, if possible except when the unit (or the whole army) is winning in combat and the general isn't dead. Sparta shouldn't be affected by this.
-When an army's strength is reduced by 75% (66% for the AI if possible) or more unless victory is almost certain and the general isn't dead if those conditions are possible. Sparta shouldn't be affected by this.
-to make a unit ignorant to orders for 2 seconds if under missile fire, 1 second for the AI
-To interrupt the charge of cavalry if they are charging spearmen from the front.
Thanks in advance!