Modules/Pathfinding/loadPathGraph: Difference between revisions
Jump to navigation
Jump to search
m (Changed syntax highlighting) |
m (Changed formatting) |
||
Line 14: | Line 14: | ||
===Returns=== | ===Returns=== | ||
Returns ''graphId'' if everything went fine, ''false'' otherwise. | Returns '''graphId''' if everything went fine, '''false''' otherwise. | ||
==Example== | ==Example== |
Latest revision as of 17:44, 3 February 2022
This function is provided by the external module Pathfinding. You must install this module to use this function. | |
This function loads a path.
Syntax
int loadPathGraph(string path)
Required arguments
- path: The path to the graph definition file (relative to the resource directory)
Returns
Returns graphId if everything went fine, false otherwise.