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 TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1boolSet the AI functionality enabled

Examples

Example 85

myself().getAiParams().allowFindCoverWhenSuppressed(false) -- prevents AI from moving to a cover when under fire

Back to Scripting API