(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:
@@ -237,7 +237,7 @@ namespace Barotrauma
|
|||||||
if (orderGiver == null) { return null; }
|
if (orderGiver == null) { return null; }
|
||||||
newObjective = new AIObjectiveGoTo(orderGiver, character, this, repeat: true, priorityModifier: priorityModifier)
|
newObjective = new AIObjectiveGoTo(orderGiver, character, this, repeat: true, priorityModifier: priorityModifier)
|
||||||
{
|
{
|
||||||
CloseEnough = 150,
|
CloseEnough = 100,
|
||||||
AllowGoingOutside = true,
|
AllowGoingOutside = true,
|
||||||
IgnoreIfTargetDead = true,
|
IgnoreIfTargetDead = true,
|
||||||
followControlledCharacter = orderGiver == character,
|
followControlledCharacter = orderGiver == character,
|
||||||
|
|||||||
Reference in New Issue
Block a user