Update to print when a unit is selected or attacked.