Skip to content

Document periodic unit enemy awareness - #228

Merged
TheRedDaemon merged 1 commit into
sourcehold:mainfrom
Krarilotus:docs/unit-enemy-awareness
Sep 11, 2026
Merged

Document periodic unit enemy awareness#228
TheRedDaemon merged 1 commit into
sourcehold:mainfrom
Krarilotus:docs/unit-enemy-awareness

Conversation

@Krarilotus

@Krarilotus Krarilotus commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

TL;DR: Document how units periodically notice enemies and choose an attack target.

The nearest detected enemy need not be the selected target, and the shared enemy list affects large-force behavior.

Changes: Add a gameplay-level wiki page and link it from the existing documentation. Retain current function names and code.

Review / testing: Merged documentation change. Sphinx generated the page and link; the original report notes unrelated full-documentation build errors. Performance experiments remain outside the game-behavior article.

@TheRedDaemon
TheRedDaemon merged commit 9803b07 into sourcehold:main Sep 11, 2026
1 check passed
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.

2 participants