/tg/ Station 13 - Modules - TypesVar Details

find_flee_location

Finds a nearby flee waypoint away from a threat and stores it in a blackboard key. Each step tries get_step_away first, then falls back to shuffled directions if blocked. Returns INSTANT SUCCESS if at least one step was found, INSTANT FAILURE if completely cornered.

Vars

flee_stepsNumber of adjacent flee steps to combine into the waypoint.

Var Details

flee_steps

Number of adjacent flee steps to combine into the waypoint.