find_nearest_thing_which_attacked_me_to_flee ![code/datums/ai/basic_mobs/basic_subtrees/simple_find_nearest_target_to_flee.dm 11](git.png)
Find the nearest thing on our list of 'things which have done damage to me' and set it as the flee target
Vars | |
target_key | what key should we set the target as |
---|---|
targeting_key | the targeting strategy we use |
Var Details
target_key ![code/datums/ai/basic_mobs/basic_subtrees/simple_find_nearest_target_to_flee.dm 15](git.png)
what key should we set the target as
targeting_key ![code/datums/ai/basic_mobs/basic_subtrees/simple_find_nearest_target_to_flee.dm 13](git.png)
the targeting strategy we use