ai general
# AI General – Automatic Battle Command
# AI 将军——自动战斗指挥
## 中文说明
这是一个用于在战斗中自动指挥单位的 AI 模组。
启用后,你可以将选中的单位交给 AI 控制,让 AI 自动进行移动、接敌和战斗指挥。它适合不想手动操作全部部队,或者希望让部分单位独立作战的玩家。
本模组的设计参考了《全面战争传奇:特洛伊》中的 **Paperpancake’s AI General**。感谢原作者及相关作者的工作与贡献。
本模组并非原模组的官方移植。如果原作者认为本模组侵犯了其权益,或者希望本模组下架,请联系我,我会立即删除本模组。
### 使用方法
1. 在战斗中选择需要交给 AI 指挥的单位。
2. 按下:
`Shift + F9`
3. 选中的单位将交由 AI 自动指挥。
4. 再次选中这些单位并按下 `Shift + F9`,即可取消 AI 指挥。
### 注意事项
* 快捷键只会影响当前选中的单位。
* 你可以只将部分单位交给 AI,其余单位仍然由玩家手动控制。
## English Description
This is an AI mod designed to automatically command selected units during battles.
Once activated, selected units can be handed over to the AI, allowing them to move, engage enemies, and fight automatically. This mod is useful for players who do not want to manually control their entire army, or who want certain units to operate independently.
This mod was inspired by **Paperpancake’s AI General** for *A Total War Saga: TROY*. Many thanks to the original author and everyone involved for their work and contributions.
This is not an official port of the original mod. If the original author believes that this mod infringes upon their work, or requests that it be removed, please contact me and I will remove it immediately.
### How to Use
1. Select the units that you want the AI to control during a battle.
2. Press:
`Shift + F9`
3. The selected units will be placed under AI control.
4. Select the same units and press `Shift + F9` again to return them to player control.
### Notes
* The hotkey only affects the units that are currently selected.
* You can assign only part of your army to the AI while continuing to control the remaining units manually.