Garry's Mod Wiki

PathFollower:Chase

  PathFollower:Chase( NextBot bot, Entity ent )

Description

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.

Arguments

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