Function; CPU_SetAttackTargetPriority
Cloaked edited this page Jun 10, 2020
·
1 revision
CPU_SetAttackTargetPriority(<iPlayerIndex>, <iAttackGroup>, <iAttackPriority>)
Presumably sets the priority level of a certain type of enemy ships.
CPU_SetAttackTargetPriority(2, TT_MotherShip, 50)
<iPlayerIndex>: the index number of a CPU player.
<iAttackGroup>: the index number (or variable) of the attack group. TT_MotherShip, TT_Refinery and TT_Builder variables can be found in the AI dumps. They presumably correspond to the class definitions of the AI files.
<iAttackPriority>: the attack priority value.
Updated Formatting? Initial
Updated for HWRM? Initial
| Home | Search | Recent Changes | Revision History | About | User Help | Contributor Help | Discussion |