LavishNav:lnavpathfinder (Object Type)
Jump to navigation
Jump to search
Contents
Description
lnavpathfinder | |
Defined By | LavishNav |
Inherits | none |
Reduces To | NULL |
Variable Object Type |
|
Uses Sub-Types | no |
C/C++ Type | LNavPathfinder * |
Members
- string Type: Type of pathfinder (Dijkstra or AStar)
- float Distance[from region search,to region search]: Distance from one region to another (see the pathfinder types for efficiency notes on distance)
- ... LastStart: Last from region used
- ... LastGoal: Last to region used
Methods
- SelectPath[from region search,to region search,lnavpath object]: Selects a path, if any, from one region to another, appending the given lnavpath object with the result. Note that the first hop of the selected path will be the start region, and there will be no connection
- Reset: Resets the current pathfinding data. Note that the pathfinder is automatically reset when necessary, you do not generally need to use this method.