AI holograms can switch between holopads more seamlessly #28450
+8
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This PR Do
Makes the hologram transfer on holopads for AI more flexible by changing where the area check is done for it specifically, while other mobs are still constrained to the area they're calling to. This prevents cases where the hologram gets cancelled when changing areas even though you're still within range of the old one.
Why It's Good For The Game
The way transfering holograms for AI was too rigid, and didn't make sense for it. Old comment made it sound like it was a perf save, but the distance check was done all the time regardless and looped through all holopads.
Images of changes
TurnOnYourCamera.mp4
Testing
Used holopads as an AI and moved around.
Declaration
Changelog
🆑
tweak: Range check for holopad projections is more flexible for AI
/:cl: