Hi! I am trying to know when the RichAI has reached its destination.
private bool HasReachedPoint => !Owner.RichAI.pathPending || Owner.RichAI.reachedEndOfPath;
protected override void UpdateCombat()
{
if (HasReachedPoint)
wanderPoint = GetPointAroundTarget();Owner.SetDestination(wanderPoint, true);
}
Right now this code constantly resets the position so HasReachedPoint is always true. How would you detect when RichAI reaches its destination?