/tg/ Station 13 - Modules - TypesVar Details - Proc Details

ai_flee_while_injured

Attached to a mob with an AI controller, simply sets a flag on whether or not to run away based on current health values.

Vars

start_fleeing_belowHealth value to start fleeing if at or below
stop_fleeing_atHealth value to end fleeing if at or above

Procs

on_health_changedWhen the mob's health changes, check what the blackboard state should be

Var Details

start_fleeing_below

Health value to start fleeing if at or below

stop_fleeing_at

Health value to end fleeing if at or above

Proc Details

on_health_changed

When the mob's health changes, check what the blackboard state should be