navmap_astar 
Vars | |
| access | A list representing what access we have and what doors we can open |
|---|---|
| max_path_length | Chebyshev distance cap from start, in tiles. 0 = unlimited |
| movement_path | The path we're currently following |
| pathfinding | The SSpathfinder job currently producing a path. |
| repath_cooldown | Cooldown for repathing, prevents spam |
| repath_delay | How often we're allowed to recalculate our path |
| repath_pending | A target update arrived while a path was being generated or repathing was rate-limited. |
Procs | |
| Destroy | Releases the mover passability profile. |
| cancel_pathfinding | Cancels the outstanding native job, if any. |
| compare_loops | Returns whether another request can reuse this loop. |
| handle_move_attempt_failure | Drops a stale path after a blocked movement attempt. |
| loop_started | Plans an initial path when one was not supplied. |
| loop_stopped | Releases the path when movement stops. |
| move | Moves one step and replans after an obstruction. |
| on_finish_pathing | Accepts the completed path returned by SSpathfinder. |
| recalculate_path | Rebuilds the path when the repath cooldown permits it. |
| setup | Stores pathing options and creates the mover's passability profile. |
Var Details
access 
A list representing what access we have and what doors we can open
max_path_length 
Chebyshev distance cap from start, in tiles. 0 = unlimited
movement_path 
The path we're currently following
pathfinding 
The SSpathfinder job currently producing a path.
repath_cooldown 
Cooldown for repathing, prevents spam
repath_delay 
How often we're allowed to recalculate our path
repath_pending 
A target update arrived while a path was being generated or repathing was rate-limited.
Proc Details
Destroy
Releases the mover passability profile.
cancel_pathfinding
Cancels the outstanding native job, if any.
compare_loops
Returns whether another request can reuse this loop.
handle_move_attempt_failure
Drops a stale path after a blocked movement attempt.
loop_started
Plans an initial path when one was not supplied.
loop_stopped
Releases the path when movement stops.
move
Moves one step and replans after an obstruction.
on_finish_pathing
Accepts the completed path returned by SSpathfinder.
recalculate_path
Rebuilds the path when the repath cooldown permits it.
setup
Stores pathing options and creates the mover's passability profile.