/tg/ Station 13 - Modules - Types

code/datums/ai/basic_mobs/basic_ai_behaviors/find_flee_location.dm

/datum/bt_node/ai_behavior/find_flee_locationFinds 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.