Garry's Mod Wiki


  PathFollower:Chase( NextBot bot, Entity ent )


If you created your path with type "Chase" this functions should be used in place of PathFollower:Update to cause the bot to chase the specified entity.


1 NextBot bot
The bot to update along the path. This can also be a nextbot player (player.CreateNextbot)
2 Entity ent
The entity we want to chase