params ["_unit"]; // TODO check if this unit is being monitored by the state machine