Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
CPU_SetDefendTargetRadius(<iPlayerIndex>, <iTargetIndex>, <fDistance>)

Description
Sets the distance within which to defend the target. In other words, the CPU will attack any enemy coming into the set range.

Example
CPU_SetDefendTargetRadius(1, DefendMakaanCPU1, 8000)

Arguments
<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.

Related Pages:
:: ::
Hide Download Bar
Ctrl + Shift + Z = Show/Hide Download Bar
Downloads
Download Manager (S3)
Clear
Left Click: Clear All Finished
Right Click: Undo last clear
100%
Download History
Download list is empty
FunctionCPU_SetDefendTargetCapturePriority.html
100%
00:00
505 KB
2.27 MB/s
FunctionCPU_SetDefendTargetCapturePriority.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionCPU_SetDefendTargetCapturePriority.html
Status:
505 KB / 505 KB ( 2.27 MB/s )
File Size:
505 KB
Virus scan:
Time Start:
2019.08.20 - 18:57:29
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.27 MB/s
mouse double click: download pause/resume
mouse middle click: download cancel
mouse double click: open file
mouse double click + Ctrl: open dir
mouse middle click: delete from list
mouse middle click + Ctrl: delete from system
press mouse button + Ctrl: drag & drop