FANDOM



CPU_AddDefendTarget(<iPlayerIndex>, <sVolumeName>, <fPriority>)
Description
Tells a CPU player to defend <sVolumeName> and sets the priority level of that task.
Returns an index number of the target.
Example
CPU_AddDefendTarget(3, "Vol_InPosition", 500)
Arguments
<iPlayerIndex>: the index number of the CPU player.
<sVolumeName>: the name of the volume.
<fPriority>: float or integer, the priority level (the higher, the more important for the CPU).
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.