(c9039a4ad) Shorter the follow distance to make to make it less likely that bots stay on the doorways when following. TODO: We'd probably want to check that the target is in the same room?

This commit is contained in:
Joonas Rikkonen
2019-06-04 16:38:34 +03:00
parent e79c980a5c
commit 7a4e0ea1bb

View File

@@ -237,7 +237,7 @@ namespace Barotrauma
if (orderGiver == null) { return null; }
newObjective = new AIObjectiveGoTo(orderGiver, character, this, repeat: true, priorityModifier: priorityModifier)
{
CloseEnough = 150,
CloseEnough = 100,
AllowGoingOutside = true,
IgnoreIfTargetDead = true,
followControlledCharacter = orderGiver == character,