AiParams.allowChangePose 74
When enabled, AI will change pose depending on cover, suppression and other situations. Disable this function if you want to control soldier's pose by custom scripting
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 83
myself().getAiParams().allowChangePose(false) -- prevents AI to automatically switch pose