PathFollower:Chase
Description
Computes the shortest path to the provided entity arg. PathFollower Object must have Chase
type.
For PathFollower objects of the Follow
type use PathFollower:Compute
Arguments
1 NextBot bot
The bot to update along the path. This can also be a nextbot player (player.CreateNextbot)
3 function generator = nil
A function that allows you to alter the path generation. See example on PathFollower:Compute for the default function.
Function argument(s):
1 CNavArea area - The area to move to.
2 CNavArea fromArea - The area to move from.
3 CNavLadder ladder - The ladder to move to or from (Validation required), if any.
4 Entity elevator - Will probably be always NULL
Function return value(s):