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**): .. image:: win-condition-create-menu.png :align: center A file like this will be created: .. image:: win-condition-files.png :align: center If it is customizable, it will have additional parameters: .. image:: win-condition.png :align: center :width: 500 To set up a win condition on your map, open Map Data and add it to this field: .. image:: win-condition-mapdata.png :align: center :width: 500 .. toctree::