To be called in the behaviour coroutine only! Will yield until the bot has reached the goal or is stuck
number lookahead - Minimum look ahead distance.
number tolerance - How close we must be to the goal before it can be considered complete.
boolean draw - Draw the path. Only visible on listen servers and single player.
number maxage - Maximum age of the path before it times out.
number repath - Rebuilds the path after this number of seconds.