On End Current Order

public void OnEndCurrentOrder()

Removes the currently active order (index 0) from the Orders queue, if the unit has any orders. Typically called by the order itself once it’s finished - you normally don’t need to call this directly.