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

Description
Presumably sets the defense assignment indexed as <iTargetIndex> as a priority for the CPU with <iPlayerIndex>. I don't know if the priority is set only against enemy capturers, as the name of the function would suggest. Tests needed. - SunTzu

Example
CPU_SetDefendTargetCapturePriority(1, DefendGehenna)

Arguments
<iPlayerIndex>: integer index of the CPU
<iTargetIndex>: index of the defense assignment set up with CPU_AddDefendTarget

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_SetDebugPlayer.html
100%
00:00
513 KB
2.18 MB/s
FunctionCPU_SetDebugPlayer.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionCPU_SetDebugPlayer.html
Status:
513 KB / 513 KB ( 2.18 MB/s )
File Size:
513 KB
Virus scan:
Time Start:
2019.08.20 - 18:56:36
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.19 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