Units killed = error

With the current implementation once the AI kills all of your units theres no event that disables the Actions or redraws the grid on killing a single unit.
For now I just do a check in UnitActionSystem’s HandleSelectedAction if the selectedunit = not null, but I imagine there will be a “game over” status coming later in the course.

1 Like

Yup if all player Units are killed the game doesn’t handle that scenario, that’s where you’d make some sort of Game Over screen or something like that.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms