Set up turret activation logic

There is a problem that if you stay in one activation zone, the
turret’s state will flip back and forth.