RichAI repeatedlySearchPaths - Does it exist?

I am looking for a way to reduce the performance impact of many agents, especially the ones far from the player. In the doc, there is mention of repeatedlySearchPaths as a public bool. I’m on version 4.3.92.

Any tips on how I can temporary turn of repeated search, or at least increase the period temporarily during run-time?

Think I found the solution to my problem, if not to the original question.

 richAI.autoRepath.maximumPeriod = secondsToBetweenCalculations;

Assuming that you have the autoRepath policy set to dynamic.

1 Like


repeatedlySearchPaths is a very old field. The autoRepath class contains the replacement logic.