Files
DarkflameServer/dGame/dComponents/MovementAIComponent.cpp
Aaron Kimbrell cdd5b6b94f feat(ai): FollowTarget with radius, speed and keepFollowing; AI value setters
MovementAIComponent::FollowTarget(target, radius, speed, keepFollowing)
halts within the radius and walks after the target again once it is
out of it; without keepFollowing the follow ends on arrival. The old
overload is FollowTarget(target, 0, 1, true) and behaves as before.

Setters for the wander settings (radius, speed, chance, delay range)
and the combat ones (hard tether radius, attack radius, pursuit speed)
that the Lua AI's Set table overrides.

BaseCombatAIComponent's proximity entities start as null, so one
whose constructor returns before making them no longer frees garbage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 22:22:51 -06:00

29 KiB