Win Conditions
Win conditions define the condition for when one of the players’ teams wins. By default, the asset uses the classic RTS Destroy All Buildings condition. But there also exists a Collect Resources Amount condition. And you can easily code your own — check the Programming partition. To create a new variation of an existing condition, use this menu (right-click on the Project Window):
A file like this will be created:
If it is customizable, it will have additional parameters:
To set up a win condition on your map, open Map Data and add it to this field: