Functions (NodeGraph) - ShadowBonnieRUS/GMOD-SB_Advanced_Nextbots_Base GitHub Wiki
Here are descriptions for functions used in base in nodegraph_path.lua
file.
🔹 NEXTBOT:NodeGraphPath
Returns new SBNodeGraphPathFollower object.
Arguments: 0
Returns: 1
- SBNodeGraphPathFollower | Path object.
🔹 NEXTBOT:SetUseNodeGraph
Sets should bot use nodegraph instead navmesh.
Arguments: 1
- bool | Should use nodegraph.
Returns: 0
🔹 NEXTBOT:UsingNodeGraph
Returns true if bot creating path using nodegraph path finding.
Arguments: 0
Returns: 1
- bool | Using nodegraph or not.