Page MenuHomeFeedback Tracker

AI generate a path despite using disableAI "PATH"
Reviewed, NormalPublic

Description

When you command an AI to move somewhere, the AI path finding will always generate a path, even if "PATH" feature is disabled.

This only happens with commands that set the planning mode as "LEADER PLANNED" (such as doMove, or ordering the unit using the commanding menu)

This is not a serious problem, but it's a waste of performance and sometimes undesired.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  1. Add an AI unit to your group called AI
  2. run this code:
AI disableAI "ALL";
AI addEventHandler ["PathCalculated", {systemChat str _this}]
  1. Order the AI to move somewhere using the commanding menu. Notice that a path is generated

Event Timeline

Leopard20 updated the task description. (Show Details)

Nice find Leopard, thank you for your efforts in finding, reproducing and then making tickets out of these issues that while small we all know that Arma needs all the performance improvements it can get no matter how small.

Tenshi changed the task status from New to Reviewed.Dec 15 2021, 4:47 PM
Tenshi set Ref Ticket to Internal Ref.: AIII-54845.
Tenshi added a subscriber: Tenshi.

Thank you for reporting the issue, we will see whats possible to resolve this issue