Infinite stamina?

Hey @AstroShipt,

Thanks, now I can definitely see what you are doing. So you have a few options. First is to remove the call to drain stamina all together if you do not need it.

Second would be to add a branch between set “Is Running” and "Drain Stamina. This would only work if sprinting starts AFTER the chase has already begun.

The last and safest option would be to add another branch right at the beginning of Drain Stamina so that it checks if the AI is chasing before doing any calculations and resetting if it is.

I hope the above is the answer you were looking for!

1 Like