Function; CPU_SetDefendTargetRadius - HWRM/KarosGraveyard GitHub Wiki
CPU_SetDefendTargetRadius(<iPlayerIndex>, <iTargetIndex>, <fDistance>)
Sets the distance within which to defend the target. In other words, the CPU will attack any enemy coming into the set range.
CPU_SetDefendTargetRadius(1, DefendMakaanCPU1, 8000)
<iPlayerIndex>: the index number of the CPU player.
<iTargetIndex>: the index number of the target. This value is returned by CPU_AddDefendSobGroup() and other functions.
<fDistance>: float, a distance radius.
Updated Formatting? Initial
Updated for HWRM? Initial