Skip to content

Fixes in TargetOutlineSystem#43688

Open
Dirius77 wants to merge 2 commits intospace-wizards:masterfrom
Dirius77:interaction-overlay-fixes
Open

Fixes in TargetOutlineSystem#43688
Dirius77 wants to merge 2 commits intospace-wizards:masterfrom
Dirius77:interaction-overlay-fixes

Conversation

@Dirius77
Copy link
Copy Markdown

About the PR

Made some cleanups in TargetOutlineSystem similar to those in #43303
Also made it so that the TargetOutlineSystem queries Dynamic entities as well, allowing the highlighting to also match, for example, mobs that would be valid targets.

Why / Balance

It's really nice for things like the Dragon's devour to also correctly highlight mobs that can be devoured.

Technical details

Made range nullable and squared it so that the range check is more accurate.
Added the LookupFlags.Dynamic to the GetEntitiesIntersecting check so that it also returns items and mobs.

Media

Here's a dragon devour actually highlighting a downed corpse now.
https://github.com/user-attachments/assets/f9c1f97b-640f-46aa-b754-1b5ab43aa9d3

Requirements

Breaking changes

TargetOutlineSystem.Enable now takes a nullable float as range. Use this instead of -1 to disable range checks.

Changelog

@PJBot PJBot added S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. size/S Denotes a PR that changes 10-99 lines. labels Apr 22, 2026
@Pok27 Pok27 added T: Bugfix Type: Bugs and/or bugfixes P3: Standard Priority: Default priority for repository items. D3: Low Difficulty: Some codebase knowledge required. and removed S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

D3: Low Difficulty: Some codebase knowledge required. P3: Standard Priority: Default priority for repository items. S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. size/S Denotes a PR that changes 10-99 lines. T: Bugfix Type: Bugs and/or bugfixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants