1 | | Incorrect: the Jebel crash is because the unit is IDLE. |
2 | | It finds a new target, so tries to attack, but can't reach it. Since it's a garrisoned unit (ie. turret), it calls "FinishOrder" in Order.Attack. |
3 | | That makes us go through the Order.Garrison order that we have as a turret, which calls SetNextState("IDLE"), which loops all over again since there is FindNewTargets in IDLE.enter. |
| 1 | Incorrect: the Jebel crash is because the unit is IDLE. It finds a new target, so tries to attack, but can't reach it. Since it's a garrisoned unit (ie. turret), it calls "FinishOrder" in Order.Attack. That makes us go through the Order.Garrison order that we have as a turret, which calls SetNextState("IDLE"), which loops all over again since there is FindNewTargets in IDLE.enter. |