byond - Modules - TypesVar Details

path_step

Basic implementation of A* using atoms. Very cheap, at max it will do about 50-100 distance check for a whole path, but typically it will do 10-20

Vars

current_atomWhat atom this path reached
distance_to_goalEuclidian distance to the goal atom
distance_walkedSum of euclidian distances to get from the starting atom to this atom, if you follow the current optimal path
previous_atomWhat atom was right before current atom in the path

Var Details

current_atom

What atom this path reached

distance_to_goal

Euclidian distance to the goal atom

distance_walked

Sum of euclidian distances to get from the starting atom to this atom, if you follow the current optimal path

previous_atom

What atom was right before current atom in the path