AiParams.setTargetPlanesOften 143
Enable this feature to force the AI to target planes, if closer than any other spotted enemy
Return value
| Return Type | Description |
|---|---|
| void | This function doesn't return anything |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | bool | Set the AI functionality enabled |
Examples
Example 92
myself().getAiParams().setTargetPlanesOften(true) -- start targeting planes with small arms way more often