AiParams.allowFindCoverWhenSuppressed 78
When enabled, AI will automatically find cover when suppressed. If you want to move the AI trough custom scripting, you most likely want to disable this feature
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 85
myself().getAiParams().allowFindCoverWhenSuppressed(false) -- prevents AI from moving to a cover when under fire