Can player bots use Nextbot functions?

Hi all, I’ve been trying to make a bot that attacks and moves.

I am currently beginning work on the pathfinding portion of the bot, where it tries to move to a specific spot on a map. Can the bots generated by player.CreateNextBot() (i.e. the “bot” command in console) use Nextbot functions like:


Nextbot:MoveToPos()

If it is not possible, are there any other way I can implement pathfinding?

Bots created with the “bot” command are fake players and not nextbots. You can control their movement with a

GM:StartCommand hook.

I have been successfully using GM:StartCommand, but isthere anything that can implement pathfinding / use the navmesh system somehow?

Not without some major hacks, such as creating an invisible NPC/NextBot and making the bot follow it.