API ReferenceGE Extensionsflowgraphnodesscene
Reload Nav Graph (Flowgraph Node)
- **Node Name:** `Reload Nav Graph`
Overview
- Node Name:
Reload Nav Graph - Category:
once_instant - File:
extensions/flowgraph/nodes/scene/reloadNavGraph.lua
Reloads the navigation graph. Only executes once per trigger.
Pin Schema
No custom pins - only the default flow in/out.
Behavior
workOnce()- Callsmap.reset()to rebuild the navigation graph.
How It Works
- The node fires once when triggered.
- Calls
map.reset()which reloads the AI navigation graph (road network used for pathfinding). - Useful after spawning or removing prefabs that modify the road network.
Key Dependencies
map.reset()- rebuilds the AI navigation/road graph
See Also
- Collection Marker (Flowgraph Node) - Related reference
- Custom Lua Command (Flowgraph Node) - Related reference
- Get Object Field (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide