sleep_with_no_target ![code/datums/ai/basic_mobs/basic_subtrees/sleep_with_no_target.dm 2](git.png)
Disables AI after a certain amount of time spent with no target, you will have to enable the AI again somewhere else
Vars | |
sleep_behaviour | Behaviour to execute when sleeping |
---|---|
target_key | Target key to interrogate |
Var Details
sleep_behaviour ![code/datums/ai/basic_mobs/basic_subtrees/sleep_with_no_target.dm 4](git.png)
Behaviour to execute when sleeping
target_key ![code/datums/ai/basic_mobs/basic_subtrees/sleep_with_no_target.dm 6](git.png)
Target key to interrogate