FANDOM



CPU_SetAttackTargetPriority(<iPlayerIndex>, <iAttackGroup>, <iAttackPriority>)
Description
Presumably sets the priority level of a certain type of enemy ships.
Example
CPU_SetAttackTargetPriority(2, TT_MotherShip, 50)
Arguments
<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.
Related Pages


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.