AiParams.allowOpenWindows 299

Available from Easy Red 2 2.1.0

When enabled, AI will open windows that blocks it's vision, for example when in cover behind a window


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1boolSet the AI functionality enabled

Examples

Example 88

myself().getAiParams().allowOpenWindows (false) -- prevents AI opening windows in from of it

Back to Scripting API