There are 5 different types of objectives:
- Kill all Enemies
- Secure Area (Units in area and all enemies in area have been killed)
- Move to Area (i.e. Extraction point)
- Hold Area (for a certain time, until reinforcements arrive)
- Assassinate Unit
Objectives can be placed and configured in the Map Editor. If no objective is placed, the default "Kill all Enemies" one is loaded. Some objectives will have to be completed in order. Each objective gets an order number. For example an objective with number 2 will only be able to be completed once all objectives with number 1 have been completed.
The yellow box in the screenshot is an objective.
I also added an objective menu and a message system to let the player know when objectives have been updated.