Skip to content

Improve brianEngage, doAssault and doAssaultMemory performance#475

Open
nk3nny wants to merge 2 commits intomasterfrom
Improve-brainEngage-performance
Open

Improve brianEngage, doAssault and doAssaultMemory performance#475
nk3nny wants to merge 2 commits intomasterfrom
Improve-brainEngage-performance

Conversation

@nk3nny
Copy link
Owner

@nk3nny nk3nny commented Jan 18, 2026

This pull request touches a number of files to improve brainEngage.sqf performance.

While appearing large and sprawling the main changes are contained in doAssault and doAssaultMemory.

The overall theme of this patch is to:

  • Add more conditionals for 'expensive' checks
  • Reduce number of unnecessary stance and speed changes
  • Allow units that are already prosecuting an effective movement order to continue
  • Add improvements that prevent units from becoming stuck in movement loops

This pull request touches a number of files to improve brainEngage.sqf performance.

While appearing large and sprawling the main changes are contained in doAssault and doAssaultMemory.

The overall theme of this patch is to:
- Add more conditionals for 'expensive' checks
- Reduce number of unnecessary stance and speed changes
- Allow units that are already prosecuting an effective movement order to continue
- Add tweaks that prevent units from becoming stuck in movement loops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant